/* Pagina Contatti — hub card + modale modulo */

body.contatto-page {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

/* —— Hero —— */
body.contatto-page .contact-hero {
  background: linear-gradient(152deg, #002a26 0%, #003731 42%, #005249 100%);
  color: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: var(--ig-hero-height);
  min-height: var(--ig-hero-height);
  max-height: var(--ig-hero-height);
  padding: var(--ig-hero-header, 4.75rem) clamp(1.25rem, 4vw, 2rem) 1.5rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

body.contatto-page .contact-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: radial-gradient(circle, rgba(120, 255, 220, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

body.contatto-page .contact-hero__layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: end;
  position: relative;
  z-index: 1;
}

body.contatto-page .contact-hero__layout--minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 52rem;
  min-height: clamp(7rem, 18vh, 11rem);
  text-align: center;
}

body.contatto-page .contact-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 0.65rem;
}

body.contatto-page .contact-hero h1 {
  font-size: var(--ig-hero-title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

body.contatto-page .contact-hero__layout--minimal h1 {
  margin: 0 auto;
}

body.contatto-page .contact-hero__lead {
  font-size: var(--ig-hero-lead);
  line-height: 1.5;
  opacity: 0.92;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

body.contatto-page .contact-hero__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

body.contatto-page .contact-hero__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
}

body.contatto-page .contact-hero__steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
}

body.contatto-page .contact-hero__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  backdrop-filter: blur(8px);
}

body.contatto-page .contact-hero__panel-title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

body.contatto-page .contact-hero__panel-link {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.contatto-page .contact-hero__panel-link:last-of-type {
  border-bottom: none;
}

body.contatto-page .contact-hero__panel-link:hover {
  opacity: 0.9;
}

body.contatto-page .contact-hero__panel-label {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}

body.contatto-page .contact-hero__panel-link {
  font-weight: 600;
  font-size: 1.02rem;
}

body.contatto-page .contact-hero__panel-meta {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  opacity: 0.72;
  line-height: 1.45;
}

/* —— Hub —— */
body.contatto-page--hub .contact-hub {
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: #f0f4f3;
  scroll-margin-top: 5.75rem;
}

body.contatto-page .contact-hub__head {
  max-width: 640px;
  margin: 0 auto clamp(2.25rem, 4vw, 2.75rem);
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

body.contatto-page .contact-hub__head h2 {
  color: #003731;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 0.75rem;
}

body.contatto-page .contact-hub__sub {
  margin: 0;
  color: #5a6563;
  line-height: 1.55;
  font-size: 0.98rem;
}

body.contatto-page .contact-hub-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #555;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed rgba(0, 55, 49, 0.2);
}

.contact-channel-grid--single {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact-channel-grid--few {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Desk contatti —— */
body.contatto-page .contact-desk {
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 7vw, 5.5rem);
  background: #f0f4f3;
}

body.contatto-page .contact-desk__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

body.contatto-page .contact-desk h2 {
  font-size: 1.15rem;
  color: #003731;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

body.contatto-page .contact-desk__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

body.contatto-page .contact-desk__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 55, 49, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

body.contatto-page .contact-desk__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 55, 49, 0.1);
  border-color: rgba(0, 82, 73, 0.28);
}

body.contatto-page .contact-desk__icon {
  color: #005249;
  margin-bottom: 0.25rem;
}

body.contatto-page .contact-desk__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
}

body.contatto-page .contact-desk__value {
  font-weight: 600;
  color: #003731;
  font-size: 0.95rem;
  line-height: 1.35;
}

body.contatto-page .contact-channel-grid {
  gap: clamp(1.25rem, 2.5vw, 1.5rem);
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  max-width: 1120px;
}

body.contatto-page .contact-channel-card {
  padding: 1.5rem 1.5rem 1.25rem;
}

@media (max-width: 900px) {
  body.contatto-page .contact-hero__layout {
    grid-template-columns: 1fr;
  }

  body.contatto-page .contact-desk__grid {
    grid-template-columns: 1fr;
  }
}

