/* ════════ single-servizi.css — Singolo servizio ════════ */

.servizio-hero { padding: 64px 0 56px; background: var(--bg-soft); }
.servizio-breadcrumb { font-size: 12px; color: var(--ink-light); margin-bottom: 20px; }
.servizio-breadcrumb a { color: var(--teal); text-decoration: none; }
.servizio-breadcrumb span { margin: 0 6px; }

/* Parent badge */
.servizio-parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-d);
  background: var(--bg-teal);
  border: 1px solid var(--teal-pale);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  margin-bottom: 16px;
}
.servizio-parent-badge:hover { background: var(--teal-pale); }

/* Contenuto principale */
.servizio-body { padding: var(--section-py) 0; }
.servizio-content-col { max-width: 720px; }
.servizio-content p { font-size: 16px; line-height: 1.8; color: var(--ink-mid); margin-bottom: 20px; }
.servizio-content h2 { font-size: 24px; margin-top: 40px; margin-bottom: 14px; }
.servizio-content h3 { font-size: 19px; margin-top: 28px; margin-bottom: 10px; }

/* Sidebar */
.servizio-sidebar { position: sticky; top: 88px; }
.servizio-cta-box {
  background: var(--teal-d);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.servizio-cta-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.servizio-info-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.servizio-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.servizio-info-row:last-child { border-bottom: none; }
.servizio-info-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* Sub-servizi correlati */
.servizio-correlati { padding: var(--section-py-sm) 0; background: var(--bg-soft); border-top: 1px solid var(--border); }

/* Staff del servizio */
.servizio-staff { padding: var(--section-py) 0; }
.servizio-staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Timeline percorso */
.servizio-percorso { padding: var(--section-py) 0; background: var(--bg-teal); }

/* FAQ */
.servizio-faq { padding: var(--section-py) 0; }

@media (max-width: 991px) {
  .servizio-sidebar { position: static; }
  .servizio-staff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .servizio-staff-grid { grid-template-columns: 1fr; }
}

/* ════════ Componenti pagina servizio (generici + Elementor) ════════ */

/* ── Hero ── */
.page-hero { background: var(--bg-teal); position: relative; overflow: hidden; }
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,114,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-family: var(--ff-head); font-size: clamp(34px,4vw,54px); font-weight: 700; line-height: 1.12; color: var(--ink); }
.page-hero h1 em { font-style: italic; font-weight: 400; }

.hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 56px rgba(46,139,114,.13); }
.hero-img-placeholder { width: 100%; height: 420px; border-radius: 20px; background: var(--bg-soft); border: 2px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-light); font-size: 13px; gap: 10px; }

/* ── Service eyebrow ── */
.service-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--teal-pale);
  color: var(--teal-d);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(46,139,114,.08);
}

/* ── Trust pills ── */
.trust-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-mid); }
.trust-pill svg { color: var(--teal); flex-shrink: 0; }
.trust-pill strong { color: var(--ink); }

/* ── Shared section labels ── */
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-title { font-family: var(--ff-head); font-size: clamp(26px,3vw,40px); font-weight: 700; line-height: 1.2; color: var(--ink); }

/* ── Cosa è / descrittiva ── */
.cosa-img { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.08); }

/* ── Feature items ── */
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-teal); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.feature-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.feature-desc { font-size: 14px; line-height: 1.6; color: var(--ink-mid); }

/* ── Target cards ── */
.target-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; height: 100%; transition: all .22s var(--ease); }
.target-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(46,139,114,.1); border-color: var(--teal-pale); }
.target-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg-teal); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.target-name { font-family: var(--ff-head); font-size: 18px; font-weight: 700; color: var(--ink); }
.target-age { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.target-desc { font-size: 14px; line-height: 1.65; color: var(--ink-mid); }
.target-tag { font-size: 11px; font-weight: 500; color: var(--teal-d); background: var(--bg-teal); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--teal-pale); display: inline-block; }

/* ── Stepper ── */
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 16px; font-weight: 700; color: white; flex-shrink: 0; }
.step-connector { width: 2px; background: linear-gradient(to bottom, var(--teal), var(--teal-pale)); margin: 6px 0 6px 21px; flex-grow: 1; min-height: 28px; }
.step-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.step-desc { font-size: 15px; line-height: 1.7; color: var(--ink-mid); }
.step-who { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-teal); border: 1px solid var(--teal-pale); padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 500; color: var(--teal-d); margin-top: 8px; }

/* ── Mini team cards ── */
.mini-team-card { background: white; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .22s var(--ease); height: 100%; }
.mini-team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(46,139,114,.1); border-color: var(--teal-pale); }
.mini-photo { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.mini-placeholder { width: 100%; height: 220px; background: var(--bg-teal); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 40px; font-style: italic; font-weight: 700; color: var(--teal); }
.mini-spec { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--teal-d); background: var(--bg-teal); padding: 4px 10px; border-radius: 100px; display: inline-block; }
.mini-link { font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: gap .2s; }
.mini-link:hover { gap: 8px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--ff-body); font-size: 15px; font-weight: 500; color: var(--ink); text-align: left; transition: color .2s; }
.faq-q:hover { color: var(--teal); }
.faq-q svg { flex-shrink: 0; color: var(--teal); transition: transform .3s; }
.faq-q.open svg { transform: rotate(45deg); }
.faq-a { font-size: 15px; line-height: 1.75; color: var(--ink-mid); padding: 0 0 20px; display: none; }
.faq-a.open { display: block; }

/* ── CTA section (teal-d) ── */
.iq-cta-section { background: var(--teal-d); position: relative; overflow: hidden; }
.iq-cta-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }

/* ── Responsive adjustments ── */
@media (max-width: 991px) {
  .cosa-img, .hero-img { height: 300px; }
  .target-card { padding: 20px 18px; }
}
@media (max-width: 767px) {
  .hero-img, .cosa-img { height: 240px; }
  .section-title { font-size: 24px; }
}
