/* Polis Rocca Imperiale — i Contatti */

/* 0. INGRESSO: la linea laterale, il pallone, la busta */
.intro-throw { --h: clamp(170px, 34vh, 340px); --ball: calc(var(--h) * .2); --env: min(36vw, 40vh, 380px); }
.field {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 9vw, transparent 9vw 18vw),
    radial-gradient(ellipse 80% 70% at 50% 60%, #2f7a3e 0%, #24632f 60%, #1b4d25 100%);
}
.touchline { position: absolute; left: 0; right: 0; bottom: 12vh; height: 5px; background: rgba(255, 255, 255, .85); }
.intro-throw .push-man { bottom: calc(12vh - var(--h) * .02); }
.throw-ball { position: absolute; left: 0; top: 0; width: var(--ball); height: var(--ball); z-index: 4; opacity: 0; will-change: transform; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .35)); }
.envelope { position: absolute; left: calc(50% - var(--env) / 2); top: calc(42% - var(--env) * .33); width: var(--env); z-index: 5; opacity: 0; will-change: transform; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.envelope svg { width: 100%; height: auto; }
.post-stamp { position: absolute; right: 5%; top: 8%; width: 22%; height: auto; opacity: 0; }

/* 1. SCRIVICI */
.write {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding: 6rem var(--gutter) 4rem;
  background: var(--cream); color: var(--navy);
}
.write .eyebrow { color: #8A6A0C; }
.write-inner { width: 100%; max-width: 1400px; margin: 0 auto; }
.write-title { font-size: clamp(3.4rem, 11vw, 11rem); margin: .6rem 0 1.2rem; }
.write-title .l { display: block; overflow: hidden; padding-block: .03em; }
.write-title .l > span { display: inline-block; }
.write-lead { color: var(--mute); margin-bottom: clamp(1.4rem, 4vh, 2.6rem); }
.mail {
  display: inline-flex; align-items: center; gap: 1rem; max-width: 100%; padding: 1.1rem 1.5rem; border-radius: 16px;
  background: var(--navy); color: var(--cream); box-shadow: 0 24px 50px -26px rgba(15, 40, 61, .7);
  font-weight: 500; font-size: clamp(1rem, .7rem + 1.4vw, 2rem); letter-spacing: .02em; transition: background .25s;
}
.mail:hover { background: #15334d; }
.mail svg { width: 1.6em; height: 1.6em; flex: none; color: var(--yellow); }
.mail span { overflow-wrap: anywhere; }
.mail:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.write .scroll-hint { color: var(--mute); }

/* 2. DOVE GIOCHIAMO */
.where-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: center; }
.where-copy .display { font-size: clamp(2.4rem, 5.6vw, 6rem); margin: .8rem 0 1.2rem; }
.where-copy .lead { color: var(--mute-dark); margin-bottom: 1.8rem; }
.where-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pitch-map { position: relative; width: 100%; max-width: 620px; margin: 0 auto; }
.pitch-map svg { width: 100%; height: auto; overflow: visible; }
.pitch-map svg * { fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linejoin: round; }
.pitch-map svg rect { fill: rgba(47, 122, 62, .35); }
.pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -34px 0 0 -17px; border-radius: 50% 50% 50% 0; background: var(--yellow); transform: rotate(-45deg); box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .5); }
.pin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--navy); }

/* 3. LA SEDE */
.seat-inner { display: flex; flex-direction: column; align-items: flex-start; }
.seat-title { font-size: clamp(3rem, 9vw, 9rem); margin: .6rem 0 .4rem; }
.seat-city { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.95rem, .8rem + .6vw, 1.4rem); color: var(--mute); }
.seat-data { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 1rem 3rem; margin: clamp(1.4rem, 4vh, 2.6rem) 0; }
.seat-data dt { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8A6A0C; }
.seat-data dd { font-weight: 500; font-variant-numeric: tabular-nums; }

/* 4. SEGUICI */
.follow-inner .display { font-size: clamp(2.4rem, 6vw, 6.2rem); margin: .8rem 0 2rem; }
.follow-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 900px; }
.follow-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 14px; background: var(--navy); color: var(--cream); box-shadow: 0 24px 50px -26px rgba(15, 40, 61, .7); transition: background .25s; }
.follow-card:hover { background: #15334d; }
.follow-card svg { width: 2.4rem; height: 2.4rem; flex: none; color: var(--yellow); }
.follow-card span:not(.arr) { display: flex; flex-direction: column; min-width: 0; }
.follow-card b { font-weight: 500; font-size: 1.15em; }
.follow-card small { font-size: .78em; color: var(--mute-dark); }
.follow-card .arr { margin-left: auto; color: var(--yellow); font-size: 1.3em; }
.follow-card:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

@media (max-width: 767px) {
  .intro-throw { --h: 26vh; --env: 74vw; }
  .write { padding-top: 5rem; }
  .write-title { font-size: clamp(3rem, 17vw, 5rem); }
  .mail { padding: .9rem 1.1rem; gap: .7rem; }
  .where-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .where-copy .display { font-size: clamp(2rem, 10vw, 2.8rem); margin: .4rem 0 .6rem; }
  .where-copy .lead { font-size: .95rem; margin-bottom: 1rem; }
  .pitch-map { width: 80%; }
  .seat-data { grid-template-columns: 1fr; gap: .6rem; }
  .follow-links { grid-template-columns: 1fr; gap: .7rem; }
  .follow-inner .display { font-size: clamp(2rem, 10vw, 2.8rem); margin-bottom: 1.2rem; }
}
.write .linea-cap { color: var(--mute); }
