/* ==========================================================================
   pages/pier-paolo-bellisario.css
   Eccezioni della pagina pier paolo bellisario.
   Caricato da 1 pagina.
   ========================================================================== */

.hero-inner {
  display: grid;
  grid-template-columns: 176px minmax(0,1fr);
  align-items: center;
  gap: 2.35rem;
}

.hero-photo {
  border-radius: 22px;
  object-fit: cover;
  object-position: 50% 26%;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.05);
  box-shadow: 0 16px 36px rgba(0,0,0,.18),0 0 0 1px rgba(212,180,109,.14);
  flex-shrink: 0;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  opacity: .85; /* R5.50 A09: contrasto minimo misurato 5,32:1 a 768 px (prima 3,46:1) */
}

.hero-sub {
  opacity: .85;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.4rem;
}

.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: .75rem;
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.trust-bar {
  background: var(--bn);
  color: rgba(255,255,255,.82);
  padding: .85rem 1.5rem;
}

.trust-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 2rem;
  justify-content: center;
  align-items: center;
  font-size: .82rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.trust-item::before {
  content: "✓";
  color: #7eb3f0;
  font-weight: 700;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--bo);
}

.section:last-child {
  border-bottom: none;
}

.section-label {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ac);
  font-weight: 700;
  margin-bottom: .6rem;
}

.section p {
  margin-bottom: 1rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.spec-card .icon {
  font-size: 1.6rem;
  margin-bottom: .5rem;
}

.spec-card h3 {
  margin-bottom: .35rem;
}

.spec-card p {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.step {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 3.8rem;
  background: var(--sf);
  border-radius: var(--r);
  border: 1px solid var(--bo);
}

.step-num {
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  background: var(--ac);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}

.step h3 {
  margin-bottom: .3rem;
}

.step p {
  margin: 0;
}

.duo-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.duo-card .role {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ac);
  font-weight: 700;
  margin-bottom: .3rem;
}

.duo-card h3 {
  margin-bottom: .3rem;
}

.duo-card p {
  margin: 0;
}

.cta-final {
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-final .inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-final p {
  opacity: .85;
  margin-bottom: 0.8rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-tel {
  background: #fff;
  color: var(--bn);
  font-weight: 800;
  padding: .8rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-tel:hover {
  text-decoration: none;
}

.map-section {
  padding: 2.5rem 0 0;
}

.map-info {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.map-text p {
  margin-bottom: .5rem;
}

.map-text strong {
  color: var(--bn);
}

.map-embed {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--bo);
}

@media (max-width: 600px) {
  .duo-box,
.map-info{
    grid-template-columns: 1fr;
  }
  
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 150px minmax(0,1fr);
    gap: 1.9rem;
  }
  .hero-photo {
    border-radius: 20px;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .hero-photo {
    margin: 0 auto;
    border-radius: 18px;
  }
  .hero-text,
  .hero-text h1,
  .hero-sub,
  .hero-eyebrow {
    text-align: center;
  }
  .badge-row,
  .cta-row {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .hero-text h1 .ts-keep {
    white-space: normal;
  }
  .hero-text h1 {
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* R5.17 · Indirizzo, recapiti e nota della mappa: righe brevi a bandiera, mai giustificate in colonna stretta (proposta 3). */
:is(#_r517_map, .map-text, .map-facade) p {
  text-align: left;
  text-align-last: auto;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* R5.17 · Forma a pillola soltanto per ciò che si clicca (§ 3.6, proposta 5): iscrizioni e qualifiche come testo semplice. */
:is(#_r517_label, .badge-row .badge) {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: rgba(255,255,255,.9);
}

:is(#_r517_label, .badge-row .badge)::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--oro, #d4b46d);
}

:is(#_r517_label, .badge-row) {
  column-gap: 1rem;
}

/* R5.48 · C10 · "Formazione e carriera": schede in griglia, anno come occhiello, un solo asse sinistro per scheda. */
body.page-pier-paolo-bellisario-psicoterapeuta .cv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
body.page-pier-paolo-bellisario-psicoterapeuta .cv-item { --r517-mx: 0; --r517-ta: left; text-align: left; }
body.page-pier-paolo-bellisario-psicoterapeuta .cv-item :is(h3, p) { text-align: left; }
body.page-pier-paolo-bellisario-psicoterapeuta .cv-item .year { margin: 0 0 .45rem; color: #8b6914; font: 700 .72rem/1.4 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
body.page-pier-paolo-bellisario-psicoterapeuta .cv-item p { margin-bottom: 0; }
@media (max-width: 700px) { body.page-pier-paolo-bellisario-psicoterapeuta .cv-grid { grid-template-columns: 1fr; } }

/* R5.48 · C11 · "Come si svolge il percorso": quattro passi su due colonne fra 701 e 1599 px, invece di tre piu' uno isolato. */
@media (min-width: 701px) and (max-width: 1599px) { body.page-pier-paolo-bellisario-psicoterapeuta .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
