/* =========================================================================
   Pagina Contatti - hero, canali (telefono / WhatsApp / mail) e modulo
   ========================================================================= */

.ctc-hero {
  position: relative; overflow: hidden; color: #fff; padding: 96px 0 150px;
  background: linear-gradient(125deg, #6E2F77 0%, var(--color-primary) 45%, var(--color-secondary) 100%);
  clip-path: ellipse(120% 100% at 50% 0%);
}
html[data-theme="dark"] .ctc-hero { background: linear-gradient(125deg, #3E1A44 0%, #7A4381 55%, #9A6DA0 100%); }
.ctc-hero .container { position: relative; z-index: 1; }
.ctc-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; margin-bottom: .45em; }
.ctc-hero .lead { color: rgba(255, 255, 255, .92); font-size: 1.2rem; max-width: 52ch; margin: 0; }
.trk-shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09); pointer-events: none; }
.trk-shape.s1 { width: 420px; height: 420px; top: -170px; left: -120px; }
.trk-shape.s2 { width: 280px; height: 280px; bottom: -120px; right: 6%; background: rgba(255, 255, 255, .07); }
.trk-chip {
  display: inline-block; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35);
  padding: 6px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px;
}

/* ---------- Canali ---------- */
.ctc-main { padding-top: 0; position: relative; z-index: 2; }
.ctc-channels { display: grid; gap: 26px; margin-top: -90px; }
.ctc-channels.c3 { grid-template-columns: repeat(3, 1fr); }
.ctc-channels.c2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
.ctc-channel {
  display: flex; flex-direction: column; gap: 4px; padding: 34px 30px; border-radius: 24px;
  background: var(--color-surface); border: 1px solid var(--color-divider); box-shadow: 0 22px 50px rgba(45, 20, 55, .14);
  transition: transform .28s ease, box-shadow .28s ease;
}
.ctc-channel:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(45, 20, 55, .22); }
.ctc-ico {
  width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); box-shadow: 0 10px 22px rgba(146, 82, 152, .32);
}
.ctc-ico.wa { background: linear-gradient(135deg, #1FAF5A, #3DDC84); box-shadow: 0 10px 22px rgba(31, 175, 90, .32); }
.ctc-ico svg { width: 30px; height: 30px; }
.ctc-kicker { color: var(--color-text-muted); font-size: .9rem; }
.ctc-channel h2 { font-size: 1.6rem; margin: 2px 0 8px; }
.ctc-channel p { flex: 1; font-size: 1rem; margin-bottom: 20px; }
.ctc-btn {
  align-self: flex-start; display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  color: var(--color-primary); border: 2px solid var(--color-primary); transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.ctc-btn:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(123, 31, 162, .3); }
html[data-theme="dark"] .ctc-btn { color: #fff; border-color: rgba(255, 255, 255, .6); }

/* ---------- Modulo ---------- */
.ctc-formsec { padding-top: 96px; padding-bottom: 104px; }
.ctc-form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ctc-form-intro h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.ctc-form-intro > p { font-size: 1.08rem; }
.ctc-points { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ctc-points li { position: relative; padding-left: 32px; color: var(--color-text-muted); }
.ctc-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z%27/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z%27/%3E%3C/svg%3E") center/contain no-repeat;
}
.ctc-where { font-size: .95rem; color: var(--color-text-muted); border-left: 4px solid var(--color-secondary); padding-left: 16px; }
.ctc-where strong { color: var(--color-text); }

.ctc-form {
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 26px; padding: 38px;
  box-shadow: 0 22px 50px rgba(45, 20, 55, .14);
}
.ctc-form textarea { min-height: 140px; resize: vertical; }
.ctc-form select { width: 100%; font-family: inherit; font-size: .95rem; padding: 11px 14px; border-radius: var(--radius); border: 1.5px solid var(--color-divider); background: var(--color-bg); color: var(--color-text); }
.ctc-form input:focus, .ctc-form textarea:focus, .ctc-form select:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 16%, transparent); }
.ctc-pref { margin: -2px 0 16px; }
.ctc-submit {
  width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1.05rem; color: #fff; padding: 16px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), #7B1FA2); transition: transform .15s, box-shadow .15s;
}
.ctc-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(123, 31, 162, .38); }

@media (max-width: 960px) {
  .ctc-channels.c3, .ctc-channels.c2 { grid-template-columns: 1fr; }
  .ctc-form-grid { grid-template-columns: 1fr; gap: 36px; }
  .ctc-hero { padding-bottom: 130px; }
}
@media (max-width: 520px) {
  .ctc-form { padding: 26px 20px; }
}
