/* Pagina Contatti */
.contacts-page {
  width: min(100%, var(--section-width));
  margin: 0 auto;
  padding: 18px 0 12px;
}

.contacts-intro {
  max-width: 1180px;
  margin: 0 0 34px;
}

.contacts-intro .eyebrow {
  color: var(--navy-820);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(16, 34, 53, 0.08);
}

.contacts-intro h1 {
  margin: 0 0 16px;
  color: var(--navy-940);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.contacts-intro > p:last-child {
  margin: 0;
  max-width: 980px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-card,
.contact-strip {
  background: var(--surface-strong);
  border: 1px solid rgba(16, 34, 53, 0.08);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.contact-card {
  position: relative;
  min-width: 0;
  padding: 30px 200px 30px 30px;
  border-radius: 28px;
  overflow: hidden;
}

.contact-card__illustration {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 168px;
  max-height: 122px;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
}

.contact-card__illustration--office {
  top: 24px;
  width: 178px;
  max-height: 106px;
}

.contact-card__eyebrow {
  margin: 0 0 9px;
  color: var(--sand-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card h2,
.contact-strip h2 {
  margin: 0;
  color: var(--navy-940);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.contact-card__details {
  display: grid;
  gap: 16px;
  margin: 26px 0 28px;
}

.contact-card__details p {
  margin: 0;
  min-width: 0;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.contact-detail-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-card__details a {
  color: var(--navy-900);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-card__details a:hover,
.contact-card__details a:focus-visible {
  text-decoration: underline;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-button--whatsapp {
  gap: 9px;
  background: #1f8f5f;
  color: #fff;
  box-shadow: 0 14px 30px rgba(20, 92, 61, 0.2);
}

.contacts-bottom {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 24px;
}

.contact-strip p:not(.contact-card__eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-strip--venue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.contact-strip__venue-copy {
  display: grid;
  grid-template-columns: minmax(0, max-content) 82px;
  grid-template-areas:
    "eyebrow logo"
    "title logo"
    "address logo";
  align-items: center;
  column-gap: 18px;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
}

.contact-strip__venue-copy .contact-card__eyebrow {
  grid-area: eyebrow;
}

.contact-strip__venue-copy h2 {
  grid-area: title;
}

.contact-strip__venue-copy > p:last-child {
  grid-area: address;
}

.contact-strip__club-logo {
  grid-area: logo;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 82px;
  height: 82px;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(16, 34, 53, 0.09);
  border-radius: 18px;
  background: #fff;
}

.contact-strip__club-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-strip__map-button {
  justify-self: start;
}

.contact-strip--channel {
  background:
    linear-gradient(135deg, rgba(251, 253, 255, 0.95), rgba(240, 249, 245, 0.95)),
    radial-gradient(circle at right center, rgba(79, 169, 202, 0.1), transparent 32%);
}

.contact-strip .button {
  gap: 9px;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .contact-card {
    padding-right: 168px;
  }

  .contact-card__illustration {
    width: 138px;
    max-height: 106px;
  }

  .contact-card__illustration--office {
    width: 148px;
    max-height: 92px;
  }
}

@media (max-width: 900px) {
  .contacts-page {
    width: 100%;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding-right: 210px;
  }

  .contact-card__illustration {
    width: 176px;
    max-height: 128px;
  }

  .contact-card__illustration--office {
    width: 186px;
    max-height: 110px;
  }

  .contact-strip,
  .contact-strip--venue {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-strip__venue-copy {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 74px;
  }

  .contact-strip__club-logo {
    width: 74px;
    height: 74px;
  }

  .contact-strip .button,
  .contact-card__actions .button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .contact-card {
    padding-right: 132px;
  }

  .contact-card__illustration {
    top: 18px;
    right: 12px;
    width: 106px;
    max-height: 84px;
  }

  .contact-card__illustration--office {
    top: 22px;
    width: 116px;
    max-height: 74px;
  }
}

@media (max-width: 520px) {
  .contacts-intro h1 {
    font-size: clamp(2.4rem, 13vw, 3.7rem);
  }

  .contact-card,
  .contact-strip {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .contact-card {
    padding-right: 112px;
  }

  .contact-card__illustration {
    top: 16px;
    right: 10px;
    width: 88px;
    max-height: 70px;
  }

  .contact-card__illustration--office {
    top: 19px;
    width: 96px;
    max-height: 62px;
  }

  .contact-strip__venue-copy {
    grid-template-columns: minmax(0, 1fr) 62px;
    column-gap: 12px;
  }

  .contact-strip__club-logo {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }
}
