/* =========================================================
   seo-pages.css — Landing page SEO "Ferrara" (BR Scavi)
   Caricato solo dalle pagine generate da partials/seo-template.php
   ========================================================= */

/* ---------- HERO ---------- */
.seo-hero{
  position:relative;
  min-height:72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.seo-hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  z-index:0;
}
.seo-hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 70%);
  pointer-events:none;
}
.seo-hero-inner{ position:relative; z-index:2; padding:90px 0; }
.seo-hero-box{ max-width:560px; border-radius:22px; }
.seo-kicker{ position:relative; padding-bottom:10px; margin-bottom:14px; }
.seo-kicker::after{
  content:""; position:absolute; left:0; bottom:0;
  width:80px; height:3px; border-radius:3px; background:var(--primary);
}
.seo-hero-box h1{ font-size:clamp(1.9rem, 3.4vw, 2.9rem); font-weight:800; letter-spacing:-.02em; }
.seo-hero-cta{ display:flex; flex-direction:column; gap:12px; max-width:420px; }
.seo-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 22px; border-radius:999px; font-weight:700; font-size:1.05rem;
}
.seo-hero-cta .btn-ghost{ background:#fff; border:1.5px solid var(--primary); color:var(--text); }
.seo-hero-cta .btn-ghost svg{ color:var(--primary); }

/* ---------- BREADCRUMB ---------- */
.seo-breadcrumb{
  display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  font-size:.88rem; color:var(--muted); padding:14px 0 0;
}
.seo-breadcrumb a:hover{ color:var(--primary); }
.seo-breadcrumb [aria-current]{ color:var(--text); font-weight:600; }

/* ---------- PARCO MEZZI ---------- */
.seo-center{ text-align:center; font-size:clamp(1.6rem, 3vw, 2.3rem); font-weight:800; line-height:1.15; margin-bottom:26px; }
.seo-icon-cards{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:16px;
  max-width:860px; margin:0 auto;
}
.seo-icon-card{
  background:#fff; border-radius:20px; padding:22px 12px;
  box-shadow:0 10px 28px rgba(0,0,0,.07);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  text-align:center; font-weight:600; line-height:1.25;
  transition:transform .2s ease, box-shadow .2s ease;
}
.seo-icon-card svg{ color:var(--primary); }
.seo-icon-card:hover{ transform:translateY(-4px); box-shadow:0 16px 36px rgba(0,0,0,.11); color:var(--primary); }
.seo-pill{
  margin:20px auto 0; max-width:860px; text-align:center;
  background:#e8ebef; border-radius:999px; padding:10px 18px;
  font-weight:600; font-size:.95rem;
}
.seo-pill span{ color:var(--primary); margin:0 8px; }

/* ---------- INTRO SPLIT ---------- */
.seo-split{ display:grid; grid-template-columns:1.1fr .9fr; gap:36px; align-items:center; }
.seo-split-text p{ margin:0 0 14px; }
.seo-split-img{ margin:0; }
.seo-split-img img{ width:100%; height:380px; object-fit:cover; border-radius:20px; box-shadow:var(--shadow); }
.seo-split-img figcaption{ font-size:.85rem; color:var(--muted); margin-top:8px; }

/* ---------- FEATURES ---------- */
.seo-features{ display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; }
.seo-features .why-card{ padding:24px; }

/* ---------- TESTO ---------- */
.seo-text{ max-width:820px; }
.seo-text p{ margin:0 0 14px; }

/* ---------- BANDA IMMAGINE ---------- */
.seo-band{ margin:0; }
.seo-band img{ width:100%; height:420px; object-fit:cover; }

/* ---------- FAQ ---------- */
.seo-faq details{
  background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:16px 20px; margin-bottom:12px;
}
.seo-faq summary{ cursor:pointer; font-weight:700; list-style:none; position:relative; padding-right:28px; }
.seo-faq summary::-webkit-details-marker{ display:none; }
.seo-faq summary::after{ content:"+"; position:absolute; right:0; top:-2px; font-size:1.4rem; color:var(--primary); }
.seo-faq details[open] summary::after{ content:"–"; }
.seo-faq details p{ margin:10px 0 0; color:var(--muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1000px){
  .seo-features{ grid-template-columns:repeat(2, 1fr); }
  .seo-split{ grid-template-columns:1fr; }
}
@media (max-width:720px){
  .seo-hero{ min-height:auto; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:8px; }
  .seo-hero-inner{ padding:60px 0 40px; }
  .seo-hero-box{ padding:24px 22px; }
  .seo-icon-cards{ gap:10px; }
  .seo-icon-card{ padding:16px 6px; font-size:.9rem; }
  .seo-icon-card svg{ width:44px; height:44px; }
  .seo-pill{ border-radius:16px; font-size:.85rem; }
  .seo-features{ grid-template-columns:1fr; }
  .seo-split-img img{ height:260px; }
  .seo-band img{ height:240px; }
}
