/* Componente temporaneo: avviso ferie estate 2026. */
.contact-alternatives {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.contact-alternatives p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-alternative-actions {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.contact-alternative-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}

.contact-alternative-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.vacation-notice-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
}

.vacation-notice-layer[hidden] {
  display: none;
}

.vacation-notice {
  position: relative;
  width: min(520px, 100%);
  max-height: min(680px, calc(100vh - 2.5rem));
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid rgba(27, 111, 168, 0.18);
  border-top: 4px solid #e8621a;
  border-radius: 16px;
  background: #fff;
  color: #1a202c;
  box-shadow: 0 16px 54px rgba(15, 25, 35, 0.24);
  pointer-events: auto;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  animation: vacation-notice-in 0.28s ease-out;
}

.vacation-notice-eyebrow {
  margin: 0 0 0.4rem;
  color: #1b6fa8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vacation-notice h2 {
  margin: 0 2.25rem 1rem 0;
  color: #124e78;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.2;
}

.vacation-notice p {
  margin: 0 0 0.85rem;
  color: #2d3748;
  font-size: 0.96rem;
  line-height: 1.6;
}

.vacation-notice strong {
  color: #c04e0f;
}

.vacation-notice-signature {
  margin-top: 1.15rem !important;
  color: #124e78 !important;
  font-weight: 700;
}

.vacation-notice-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #edf2f7;
  color: #2d3748;
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
}

.vacation-notice-close:hover {
  background: #e2e8f0;
}

.vacation-notice-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 0.35rem;
  padding: 0.75rem 1.1rem;
  border-radius: 9px;
  background: #e8621a;
  color: #fff;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s;
}

.vacation-notice-cta:hover {
  background: #c04e0f;
}

@keyframes vacation-notice-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
  .vacation-notice-layer {
    align-items: flex-end;
    padding: 0.85rem;
  }

  .vacation-notice {
    max-height: min(78vh, 620px);
    padding: 1.35rem;
    border-radius: 14px;
  }

  .vacation-notice p {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .vacation-notice-cta,
  .contact-alternative-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vacation-notice {
    animation: none;
  }
}
