/* Pagina unica del gestionale (page-gestionale-psicologi.php): stessi colori, caratteri e linea a quattro colori del portale. */
.gp { --gp-navy: #073354; --gp-blue: #005a8c; --gp-azure: #1478bd; --gp-ink: #102d43; --gp-muted: #3d5668; --gp-line: #d5e5ef;
  --gp-ribbon: linear-gradient(90deg, #29b1ee 0 25%, #9555e1 25% 50%, #ef3699 50% 75%, #ff9a45 75% 100%);
  color: var(--gp-ink); font-family: Oswald, 'Arial Narrow', sans-serif; letter-spacing: .012em; }
.gp-wrap { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.gp h1, .gp h2, .gp h3 { font-family: Oswald, 'Arial Narrow', sans-serif; letter-spacing: .01em; text-transform: none; }

/* Apertura con la foto dei quattro psicologi */
.gp-hero { position: relative; margin-top: -40px; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 116px); color: #fff; overflow: hidden;
  background: linear-gradient(90deg, rgb(7 51 84 / .94) 0%, rgb(7 51 84 / .74) 46%, rgb(7 51 84 / .18) 100%), linear-gradient(180deg, rgb(7 51 84 / .25), rgb(7 51 84 / .55)), var(--gp-photo) right 30% / cover no-repeat, #073354; }
.gp-hero .gp-wrap { max-width: 1160px; }
.gp-hero > .gp-wrap > * { max-width: 640px; }
.gp-kicker { margin: 0 0 12px; color: #bfe3ff; font-size: .92rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gp-hero h1 { margin: 0; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; text-shadow: 0 2px 18px rgb(4 30 52 / .5); }
.gp-ribbon { display: block; width: 90px; height: 4px; margin: 20px 0; background: var(--gp-ribbon); }
.gp-lead { margin: 0; color: #e4f1fa; font: 400 1.15rem/1.6 'Source Sans 3', system-ui, sans-serif; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.gp-note { margin: 14px 0 0; color: #cfe2ee; font-size: .95rem; }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 999px; font: 700 1.02rem/1.2 Oswald, 'Arial Narrow', sans-serif; letter-spacing: .04em; text-decoration: none; transition: filter .18s, background-color .18s, color .18s; }
.gp-btn--primary { color: #fff; background: linear-gradient(116deg, #1478bd, #0a568f); box-shadow: 0 10px 24px rgb(3 24 43 / .3); }
.gp-btn--primary:hover { color: #fff; filter: brightness(1.12); }
.gp-btn--ghost { color: #fff; border: 1px solid rgb(255 255 255 / .55); background: rgb(255 255 255 / .08); }
.gp-btn--ghost:hover { color: #073354; background: #fff; }
.gp-btn--outline { color: #0a568f; border: 1.5px solid #1478bd; background: #fff; }
.gp-btn--outline:hover { color: #fff; background: #1478bd; }
.gp :is(a, summary):focus-visible { outline: 3px solid #1478bd; outline-offset: 3px; }
.gp-hero a:focus-visible, .gp-final a:focus-visible { outline-color: #fff; }

/* Le tre porte: accesso, abbonamento, come funziona */
.gp-doors { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -44px; }
.gp-door { display: grid; gap: 6px; align-content: start; padding: 22px; color: var(--gp-ink); background: #fff; border: 1px solid var(--gp-line); border-radius: 18px; box-shadow: 0 16px 36px rgb(12 45 63 / .12); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.gp-door:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgb(12 45 63 / .16); }
.gp-door-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; background: #e7f2fb; }
.gp-door-icon svg { width: 24px; height: 24px; fill: none; stroke: #0a568f; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gp-door strong { font-size: 1.35rem; color: var(--gp-navy); }
.gp-door span:not(.gp-door-icon) { color: var(--gp-muted); font: 400 1rem/1.5 'Source Sans 3', system-ui, sans-serif; }
.gp-door em { margin-top: 6px; color: #0a568f; font-style: normal; font-weight: 700; }

/* Sezioni */
.gp-section { padding: clamp(44px, 6vw, 72px) 0 0; scroll-margin-top: 90px; }
.gp-section h2 { margin: 0 0 22px; color: #073949; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
.gp-section h2::after { content: ''; display: block; width: 90px; height: 4px; margin-top: 14px; background: var(--gp-ribbon); }
.gp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: gp; }
.gp-steps li { position: relative; padding: 52px 20px 22px; background: #fff; border: 1px solid var(--gp-line); border-radius: 16px; color: var(--gp-muted); font: 400 1rem/1.55 'Source Sans 3', system-ui, sans-serif; counter-increment: gp; }
.gp-steps li::before { content: counter(gp); position: absolute; top: 16px; left: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: linear-gradient(116deg, #1478bd, #0a568f); font: 700 .95rem/1 Oswald, sans-serif; }
.gp-steps strong { display: block; margin-bottom: 6px; color: var(--gp-navy); font: 700 1.12rem/1.3 Oswald, 'Arial Narrow', sans-serif; letter-spacing: .01em; }
.gp-more { margin: 18px 0 0; font-size: 1.02rem; }
.gp-more a, .gp-link { color: #0a568f; font-weight: 700; }
.gp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gp-features article { padding: 22px; background: linear-gradient(125deg, #eaf4fb, #fff 84%); border: 1px solid var(--gp-line); border-radius: 16px; }
.gp-features h3 { margin: 0 0 8px; color: var(--gp-navy); font-size: 1.25rem; }
.gp-features p { margin: 0; color: var(--gp-muted); font: 400 1rem/1.55 'Source Sans 3', system-ui, sans-serif; }

/* Abbonamento */
.gp-price { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--gp-line); border-radius: 20px; box-shadow: 0 16px 36px rgb(12 45 63 / .08); }
.gp-price h2 { margin-bottom: 12px; }
.gp-amount { margin: 0 0 12px; color: var(--gp-muted); font-size: 1.2rem; }
.gp-amount strong { color: var(--gp-navy); font-size: clamp(2.4rem, 5vw, 3.2rem); }
.gp-list { margin: 0 0 12px; padding-left: 1.2em; color: var(--gp-ink); font: 400 1.05rem/1.7 'Source Sans 3', system-ui, sans-serif; }
.gp-small { margin: 0; color: var(--gp-muted); font-size: .9rem; }
.gp-price-actions { display: grid; gap: 12px; justify-items: stretch; text-align: center; }

/* Domande frequenti */
.gp-faq { display: grid; gap: 10px; }
.gp-faq details { background: #fff; border: 1px solid var(--gp-line); border-radius: 14px; }
.gp-faq summary { padding: 16px 20px; color: var(--gp-navy); font-size: 1.12rem; font-weight: 700; cursor: pointer; list-style-position: inside; }
.gp-faq p { margin: 0; padding: 0 20px 18px; color: var(--gp-muted); font: 400 1.02rem/1.6 'Source Sans 3', system-ui, sans-serif; }

/* Chiusura */
.gp-final { margin-top: clamp(48px, 7vw, 84px); margin-bottom: -40px; padding: clamp(48px, 7vw, 80px) 0; color: #fff;
  background: linear-gradient(90deg, rgb(7 51 84 / .95), rgb(7 51 84 / .72)), var(--gp-photo) right 30% / cover no-repeat, #073354; }
.gp-final h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.gp-final p { margin: 0; color: #dceaf4; font: 400 1.1rem/1.6 'Source Sans 3', system-ui, sans-serif; }

@media (max-width: 900px) {
  .gp-doors, .gp-features { grid-template-columns: minmax(0, 1fr); }
  .gp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-price { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .gp-hero { background: linear-gradient(180deg, rgb(7 51 84 / .55) 0%, rgb(7 51 84 / .9) 55%, #073354 100%), var(--gp-photo) 70% top / cover no-repeat, #073354; padding-top: 220px; }
  .gp-steps { grid-template-columns: minmax(0, 1fr); }
  .gp-actions .gp-btn { flex: 1 1 100%; }
  .gp-doors { margin-top: -28px; }
}
