/**
 * Stili per Header e Footer Personalizzati
 * Solo navbar e footer - il resto è in style.css
 */

/* ========== HEADER / NAV ========== */
.renew-hdr {
  position: relative;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  z-index: 10;
}

.renew-ftr {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.renew-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 13px max(var(--pad), calc((100% - 1300px) / 2));

  transition:
    background 0.35s ease,
    padding 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    backdrop-filter 0.35s ease;

  /* sopra hero: testo chiaro */
  color: rgba(244, 241, 234, 0.95);
  background: transparent;
}

.renew-nav.is-scrolled {
  padding: 13px max(var(--pad), calc((100% - 1300px) / 2));
  background: rgba(244, 241, 234, 0.94);
  box-shadow: 0 8px 24px rgba(27, 38, 49, 0.1);
  color: var(--blue);
}

@media (min-width: 768px) {
  .renew-nav {
    padding-left: max(48px, calc((100% - 1300px) / 2));
    padding-right: max(48px, calc((100% - 1300px) / 2));
  }
  .renew-nav.is-scrolled {
    padding-left: max(48px, calc((100% - 1300px) / 2));
    padding-right: max(48px, calc((100% - 1300px) / 2));
  }
}

/* opzionale: migliora rendering sticky/blur su Safari */
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .renew-nav.is-scrolled {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

/* Logo swap (white -> colored) */
.renew-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: currentColor;
}

.renew-brand__logo {
  height: 65px;
  width: auto;
  transition: opacity 0.3s ease;
  display: block;
}

@media (max-width: 1024px) {
  .renew-brand__logo {
	 height: 40px;	
  }
}

.renew-brand__logo--default {
  display: block;
}

.renew-brand__logo--scrolled {
  display: none;
}

.renew-nav.is-scrolled .renew-brand__logo--default {
  display: none;
}

.renew-nav.is-scrolled .renew-brand__logo--scrolled {
  display: block;
}



/* ========== NEW LAYOUT: actions right (Contatti + Lang + burger) ========== */
.renew-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .renew-nav__actions {
    gap: 22px;
  }
}

/* Contatti link with underline anim */
.renew-nav__contact {
  position: relative;
  display: inline-flex;
  align-items: center;

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;

  color: currentColor;
  opacity: 0.92;

  padding: 6px 2px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.renew-nav__contact:hover {
  color: var(--brick);
  opacity: 1;
}

.renew-nav__contact-underline {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brick);
  transition: width 0.25s ease;
}

.renew-nav__contact:hover .renew-nav__contact-underline {
  width: 100%;
}

/* Language switcher pill */
.renew-nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 12px;
  border-radius: 999px;

  border: 1px solid rgba(244, 241, 234, 0.3);
  color: currentColor;
}

.renew-nav.is-scrolled .renew-nav__lang {
  border-color: rgba(27, 38, 49, 0.2);
}

.renew-nav__lang-btn,
.renew-nav__lang-btn:hover {
  border: 0;
  background: transparent;
  color: currentColor;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;

  transition: color 0.2s ease, opacity 0.2s ease;
}

.renew-nav__lang-sep {
  opacity: 0.4;
  font-weight: 300;
}

/* ========== Mobile toggle ========== */
.renew-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(244, 241, 234, 0.25);
  background: rgba(0, 0, 0, 0.06);
  border-radius: 12px;

  color: currentColor;
}

.renew-nav.is-scrolled .renew-nav__toggle {
  border-color: rgba(27, 38, 49, 0.14);
  background: rgba(27, 38, 49, 0.04);
}

@media (min-width: 768px) {
  .renew-nav__toggle {
    display: none;
  }
}

.renew-nav__burger {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}
.renew-nav__burger::before,
.renew-nav__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.renew-nav__burger::before {
  top: -6px;
}
.renew-nav__burger::after {
  top: 6px;
}

/* If old menu exists anywhere, kill it */
.renew-nav__links {
  display: none !important;
}

/* ========== FOOTER ========== */
.renew-ftr {
  background: var(--blue);
  color: rgba(144, 164, 174, 0.95);
  padding: 64px var(--pad) 28px;
  position: relative;
  overflow: hidden;
}

.renew-ftr::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.renew-ftr__wrap {
  position: relative;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.renew-ftr__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(55, 71, 79, 0.95);
}

@media (max-width: 980px) {
  .renew-ftr__grid {
    flex-wrap: wrap;
  }
  .renew-ftr__brand {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .renew-ftr {
    padding-top: 54px;
  }
  .renew-ftr__grid {
    flex-direction: column;
    gap: 26px;
  }
}

.renew-brand--footer {
  color: var(--bg);
  margin-bottom: 14px;
  display: inline-flex;
}

.renew-ftr__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 22px;
  flex: 1;
  max-width: 420px;
}

.renew-ftr__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
  margin-top: 8px;
}

.renew-ftr__menus {
  display: flex;
  gap: 60px;
  text-align: left;
  margin-top: 98px;
}

.renew-ftr__col {
  text-align: left;
}

.renew-ftr__desc {
  margin: 0;
  max-width: 42ch;
  line-height: 1.7;
  font-size: 13px;
  color: var(--bg);
}

.renew-ftr__tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--bg);
  margin: 0;
  line-height: 1.3;
}

.renew-ftr__title {
  margin: 0 0 14px 0;
  color: var(--bg);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.renew-ftr__title--main {
  font-size: 20px;
  font-weight: 500;
  color: var(--bg);
  margin: 0 !important;
}

.renew-ftr__list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.renew-ftr__list li {
  margin: 0;
}

.renew-ftr__meta {
  font-size: 15px;
  color: var(--bg);
  margin-bottom: 0;
}

.renew-ftr__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bg);
  font-size: 13px;
  line-height: 1.4;
}

.renew-ftr__link--plain {
  padding-left: 0;
  padding-right: 0;
  border-color: transparent;
  background: transparent;
}

.renew-ftr__link--plain:hover {
  background: transparent;
  transform: none;
  border-color: transparent;

  color: rgba(244, 241, 234, 0.98);
  text-decoration: underline;
  text-decoration-color: rgba(244, 241, 234, 0.35);
  text-underline-offset: 3px;
}

.renew-ftr__icon {
  width: 20px;
}

.renew-ftr__small {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(144, 164, 174, 0.92);
  max-width: 48ch;
}

.renew-ftr__cta {
  margin-top: 16px;
  display: inline-flex;
}

.renew-ftr__form {
  margin-top: 8px;
}

.renew-ftr__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(244, 241, 234, 0.92);
  margin-bottom: 8px;
}

.renew-ftr__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;

  border-radius: 16px;
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.1);
}

.renew-ftr__input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;

  color: rgba(244, 241, 234, 0.96);
  padding: 10px 10px;
  font-size: 14px;
}

.renew-ftr__input::placeholder {
  color: rgba(144, 164, 174, 0.7);
}

.renew-ftr__send {
  width: 42px;
  height: 42px;

  border-radius: 14px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  background: rgba(244, 241, 234, 0.1);

  color: rgba(244, 241, 234, 0.98);
  font-weight: 800;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.renew-ftr__send:hover {
  transform: translateY(-1px);
  background: rgba(140, 63, 53, 0.35);
  border-color: rgba(140, 63, 53, 0.55);
}

.renew-ftr__fineprint {
  margin: 10px 0 0;
  font-size: 11px;
  opacity: 0.55;
}

.renew-ftr__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;

  padding-top: 18px;
  font-size: 12px;
  color: rgba(144, 164, 174, 0.8);
}

.renew-ftr__bottom small {
  font-size: 14px;
  color: var(--bg);
}

.renew-ftr__bottom small a {
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.renew-ftr__bottom p {
  margin: 0;
}

@media (max-width: 640px) {
  .renew-ftr__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
	.renew-ftr .renew-ftr__wrap {
		margin: 0;
	}
}