/* ==========================================================================
   visita.css — stili specifici della pagina "Vieni a trovarci"
   ========================================================================== */

body { line-height: 1.65; }

/* HERO: immagine a filo della parte superiore */
.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(300px, 48vw, 620px);
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}
.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1;
}

/* Intro sopra l'immagine */
.page-intro {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem var(--page-gutter) 2rem;
  color: var(--white);
  background: transparent;
  pointer-events: none;
}
.page-intro .eyebrow { color: var(--yellow); }
.page-intro h1 { margin: 0; }

/* VISITA: testo a sinistra, mappa a destra */
.visit-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
  padding: clamp(3rem, 7vw, 7rem) var(--page-gutter);
}

.visit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.visit-lead {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
}

.visit-contact {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
}

.visit-contact a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: .1rem;
}
.visit-contact a:hover { border-color: var(--green); }

.visit-map {
  position: relative;
  min-height: clamp(320px, 40vw, 520px);
  border: 1px solid #e2e2e2;
  background: #f2f2f2;
}

.visit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* MOBILE */
@media (max-width: 760px) {
  .contact-hero { height: clamp(280px, 70vw, 460px); }
  .page-intro { padding: 7rem 7vw 1rem; }
  .page-intro h1 { font-size: clamp(1.9rem, 7.5vw, 3.2rem); }

  .visit-wrap {
    grid-template-columns: 1fr;
    padding: 3rem 7vw;
  }
  .visit-lead { max-width: none; }
  .visit-map { min-height: 320px; }
}
