/* Pagina /servizi/seo (bozza del 19/10/2026). Si carica dopo home.css, servizi.css e social.css, di cui riusa i componenti so-:
   qui solo le parti nuove (prefisso seo-). Foto in /img/servizi/seo/ (avif + webp, generate con l'IA da assets/servizi/seo-originali/). */

/* 1. Prima schermata: foto con due riquadri sopra, un risultato di ricerca e una risposta di un assistente AI */
.seo-hero-visual { position: relative; padding: 0 0 56px; }
.seo-card { position: absolute; z-index: 2; margin: 0; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / .97); border: 1px solid var(--line); box-shadow: 0 22px 44px -24px rgba(31, 28, 61, .55); font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.seo-card p { margin: 0; }
.seo-card .ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seo-card-search { top: 18px; left: -28px; width: min(300px, 72%); display: grid; gap: 3px; }
.seo-q { display: flex; align-items: center; gap: 8px; margin-bottom: 6px !important; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #faf8fc; color: var(--ink); font-weight: 500; }
.seo-url { font-size: 12px; color: var(--muted); }
.seo-title { font: 600 15px/1.3 var(--body); color: #3a35a0; }
.seo-snip { font-size: 12.5px; color: var(--muted); }
.seo-card-ai { right: -24px; bottom: 0; width: min(310px, 76%); display: grid; gap: 8px; }
.seo-ask { justify-self: end; max-width: 88%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--primary); color: #fff; }
.seo-ans { position: relative; padding-left: 22px; }
.seo-ai-dot { position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 90deg, var(--accent), #8f88e8, var(--accent)); }
.seo-src { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11.5px; font-weight: 600; }
@media (max-width: 1100px) { .seo-card-search { left: -8px; } .seo-card-ai { right: -8px; } }
@media (max-width: 600px) {
  .seo-hero-visual { padding: 0; }
  .seo-card { position: relative; inset: auto; width: auto; margin: 10px 0 0; }
  .seo-card-search { margin-top: -48px; margin-inline: 12px; }
  .seo-hero-visual .so-tag { top: 10px; bottom: auto; }   /* in basso la coprirebbe il riquadro della ricerca */
}

/* 4. Un mese d'esempio: articoli come appaiono sul sito. Da telefono il carosello di social.css, da computer quattro colonne */
.seo-art { display: flex; flex-direction: column; height: 100%; margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 48px -36px rgba(47, 43, 91, .55); }
.seo-art .so-media { aspect-ratio: 3 / 2; }
.seo-art .so-media img { height: 100%; object-fit: cover; }
.seo-art-body { display: grid; gap: 8px; align-content: start; padding: 16px 18px 18px; flex: 1; }
.seo-art-cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.seo-art h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.seo-art-q { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.seo-art-q .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; }
@media (min-width: 900px) {
  .seo-gallery .so-track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .seo-gallery .so-track > li, .seo-gallery .so-track > li:nth-child(4) { grid-column: auto; }   /* toglie le campate della galleria di social.css */
  .seo-gallery .so-nav { display: none; }
}
.seo-faqai { max-width: 760px; margin-top: clamp(22px, 3vw, 32px); padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.seo-faqai p { margin: 0; }
.seo-faqai-k { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.seo-faqai-k .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.seo-faqai-q { margin-top: 10px !important; font: 600 1.08rem/1.3 var(--head); color: var(--ink); }
.seo-faqai-a { margin-top: 4px !important; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.seo-faqai-n { margin-top: 8px !important; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* 5. SEO e AEO in breve, e cosa c'è già nel sito */
.seo-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.seo-two-col { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.seo-two-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.seo-two-k .ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seo-two-col h3 { font-size: 1.15rem; margin-bottom: 6px; }
.seo-two-col p:last-child { font-size: 15px; line-height: 1.55; color: var(--muted); }
.seo-have { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 3vw, 32px); }
.seo-have > div { padding: 18px 20px; border-radius: 16px; background: #f6f4f9; }
.seo-have > .is-plus { background: var(--accent-soft); }
.seo-have-k { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.seo-have > .is-plus .seo-have-k { color: var(--accent-ink); }
@media (max-width: 760px) { .seo-two, .seo-have { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* 6. Il percorso: quattro tappe e una foto */
.seo-path { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.seo-steps { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.seo-steps li { position: relative; display: grid; gap: 2px; padding: 14px 18px 14px 52px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.seo-steps li::before { content: ''; position: absolute; left: 18px; top: 18px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--accent); background: #fff; }
.seo-steps li:last-child::before { background: var(--accent); }
.seo-steps li + li::after { content: ''; position: absolute; left: 25px; top: -13px; width: 2px; height: 26px; background: var(--accent); opacity: .5; }
.seo-step-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.seo-steps b { font: 600 1.05rem/1.3 var(--head); color: var(--ink); }
.seo-steps li > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.seo-path-photo { margin: 0; }
.seo-path-photo .so-media { border-radius: 20px; border: 6px solid #fff; box-shadow: var(--shadow); }
.seo-path-note { max-width: 760px; margin-top: clamp(18px, 3vw, 26px); font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.seo-path-note a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 960px) { .seo-path { grid-template-columns: minmax(0, 1fr); } .seo-path-photo { order: -1; max-width: 520px; } }
