/* ============================================================
   CHRISTIAN CERBONE — STAMPE PAGE CSS
   Stili per page-stampe-fotografiche.php + sezione stampe_cta homepage
   ============================================================ */

/* ════════════════════════════════════════
   SEZIONE STAMPE CTA — HOMEPAGE
════════════════════════════════════════ */
.section-stampe-cta {
  padding: 8rem 0;
  background: var(--black-mid);
  position: relative;
  overflow: hidden;
}
.stampe-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(201,165,90,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(201,165,90,0.04) 0%, transparent 45%);
  pointer-events: none;
}
.stampe-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
}

/* Steps */
.stampe-cta-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stampe-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(201,165,90,0.08);
}
.stampe-step:last-of-type { border-bottom: none; }
.stampe-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(201,165,90,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  padding-top: 0.2rem;
  transition: color 0.3s;
}
.stampe-step:hover .stampe-step-num { color: rgba(201,165,90,0.4); }
.stampe-step-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.stampe-step-body p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.7;
}
.stampe-formats-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,165,90,0.08);
}
.fmt-pill {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(201,165,90,0.15);
  color: var(--white-dim);
}
.fmt-more {
  border-color: rgba(201,165,90,0.3);
  color: var(--gold);
}
.stampe-payment-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--white-dim);
}

/* Service card stampe — nella griglia servizi */
.service-card-stampe {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 2rem;
  align-items: center;
  border-top: 2px solid rgba(201,165,90,0.15);
}
.service-card-stampe .service-card-num { grid-row: span 3; align-self: center; }
.service-card-stampe .service-card-icon { display: none; }
.service-card-stampe .service-card-cta {
  grid-column: 3;
  grid-row: 1 / span 3;
  align-self: center;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,165,90,0.3);
  padding: 0.7rem 1.5rem;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.service-card-stampe:hover .service-card-cta { background: var(--gold); color: var(--black); }
.service-card-stampe h3 { margin-top: 0; }
.nav-stampe { color: var(--gold) !important; }
.nav-stampe::after { background: var(--gold) !important; }

/* ════════════════════════════════════════
   PAGE: STAMPE FOTOGRAFICHE — HERO
════════════════════════════════════════ */
.sp-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black-deep);
}
.sp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(201,165,90,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(201,165,90,0.04) 0%, transparent 45%),
    var(--black-deep);
}
.sp-hero-inner {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 5rem;
  max-width: 700px;
}
.sp-hero-eye {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: spFadeUp 1s 0.2s var(--transition-slow) forwards;
}
.sp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: spFadeUp 1.2s 0.4s var(--transition-slow) forwards;
}
.sp-hero-title em { display: block; font-style: italic; font-weight: 400; color: var(--gold-light); }
.sp-hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
  opacity: 0;
  animation: spFadeUp 1s 0.7s var(--transition-slow) forwards;
}
.sp-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
  animation: spFadeUp 1s 1s var(--transition-slow) forwards;
}
.sp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  opacity: 0;
  animation: spFadeUp 1s 1.3s var(--transition-slow) forwards;
}
.sp-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: spFadeIn 1s 2s forwards;
}
.sp-hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
@keyframes spFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes spFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ════════════════════════════════════════
   COME FUNZIONA
════════════════════════════════════════ */
.sp-how {
  padding: 7rem 0;
  background: var(--black-mid);
}
.sp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 4rem;
}
.sp-step {
  background: var(--black-card);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.sp-step:hover { background: var(--black-light); }
.sp-step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201,165,90,0.1);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.sp-step:hover .sp-step-num { color: rgba(201,165,90,0.2); }
.sp-step-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.sp-step-icon svg { width: 100%; height: 100%; }
.sp-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.sp-step p {
  font-size: 0.95rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.sp-step-detail {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(201,165,90,0.2);
  display: inline-block;
}

/* ════════════════════════════════════════
   FORMATI
════════════════════════════════════════ */
.sp-formats {
  padding: 7rem 0;
  background: var(--black);
}
.sp-formats-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 4rem;
}
.sp-format-cat {
  background: var(--black-card);
  padding: 2.5rem;
}
.sp-format-cat h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.sp-format-cat > p {
  font-size: 0.88rem;
  color: var(--white-dim);
  margin-bottom: 1.2rem;
}
.sp-format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sp-fmt-pill {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(201,165,90,0.12);
  color: var(--white-dim);
  transition: all 0.25s;
}
.sp-fmt-pill:hover {
  border-color: rgba(201,165,90,0.4);
  color: var(--gold);
}
.sp-fmt-pop {
  border-color: rgba(201,165,90,0.25) !important;
  color: var(--gold) !important;
}

/* ════════════════════════════════════════
   WIZARD SECTION
════════════════════════════════════════ */
.sp-wizard-wrap {
  padding: 7rem 0;
  background: var(--black-mid);
}
.sp-wizard-container { }
.sp-wizard-header {
  margin-bottom: 3rem;
}
.sp-plugin-missing {
  background: var(--black-card);
  border: 1px solid rgba(201,165,90,0.1);
  padding: 4rem 2rem;
  text-align: center;
}
.sp-plugin-missing svg { color: var(--gold-dim); opacity: 0.3; margin-bottom: 1.5rem; }
.sp-plugin-missing h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.sp-plugin-missing p { color: var(--white-dim); font-size: 0.95rem; line-height: 1.8; }
.sp-plugin-missing a { color: var(--gold); }

/* ════════════════════════════════════════
   QUALITÀ
════════════════════════════════════════ */
.sp-quality {
  padding: 7rem 0;
  background: var(--black);
}
.sp-quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 0;
}
.sp-quality-item {
  padding: 2.5rem 2rem;
  background: var(--black-card);
  text-align: center;
  transition: background 0.3s;
}
.sp-quality-item:hover { background: var(--black-light); }
.sp-q-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}
.sp-q-icon svg { width: 100%; height: 100%; }
.sp-quality-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.sp-quality-item p {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.75;
}

/* ════════════════════════════════════════
   LIGHT THEME OVERRIDES
════════════════════════════════════════ */
html.cc-light .section-stampe-cta { background: #f4f3f0; }
html.cc-light .stampe-cta-bg { display: none; }
html.cc-light .stampe-step-num { color: rgba(0,0,0,0.07); }
html.cc-light .stampe-step:hover .stampe-step-num { color: rgba(0,0,0,0.12); }
html.cc-light .stampe-step-body h3 { color: #111; }
html.cc-light .stampe-step-body p { color: #555; }
html.cc-light .stampe-step { border-bottom-color: rgba(0,0,0,0.07); }
html.cc-light .fmt-pill { border-color: rgba(0,0,0,0.1); color: #555; }
html.cc-light .fmt-more { border-color: rgba(0,0,0,0.2); color: #828282; }
html.cc-light .stampe-payment-mini { color: #666; }
html.cc-light .sp-hero { background: #f0efec; }
html.cc-light .sp-hero-bg { background: radial-gradient(ellipse at 25% 60%, rgba(0,0,0,0.02) 0%, transparent 55%), #f0efec; }
html.cc-light .sp-hero-title { color: #111; }
html.cc-light .sp-hero-title em { color: #3a3a3a; }
html.cc-light .sp-hero-sub { color: #555; }
html.cc-light .sp-hero-trust { color: #888; }
html.cc-light .sp-how { background: #f4f3f0; }
html.cc-light .sp-step { background: #f0efec; }
html.cc-light .sp-step:hover { background: #e8e6e2; }
html.cc-light .sp-step-num { color: rgba(0,0,0,0.06); }
html.cc-light .sp-step h3 { color: #111; }
html.cc-light .sp-step p { color: #555; }
html.cc-light .sp-step-detail { color: #828282; border-color: rgba(0,0,0,0.1); }
html.cc-light .sp-formats { background: #fff; }
html.cc-light .sp-format-cat { background: #f0efec; }
html.cc-light .sp-format-cat h3 { color: #111; }
html.cc-light .sp-format-cat > p { color: #555; }
html.cc-light .sp-fmt-pill { border-color: rgba(0,0,0,0.1); color: #555; }
html.cc-light .sp-fmt-pop { border-color: rgba(0,0,0,0.2) !important; color: #828282 !important; }
html.cc-light .sp-wizard-wrap { background: #f4f3f0; }
html.cc-light .sp-plugin-missing { background: #f0efec; border-color: rgba(0,0,0,0.07); }
html.cc-light .sp-plugin-missing h3 { color: #111; }
html.cc-light .sp-quality { background: #fff; }
html.cc-light .sp-quality-item { background: #f0efec; }
html.cc-light .sp-quality-item:hover { background: #e8e6e2; }
html.cc-light .sp-quality-item h3 { color: #111; }
html.cc-light .sp-quality-item p { color: #555; }
html.cc-light .service-card-stampe .service-card-cta { border-color: rgba(0,0,0,0.15); color: #3a3a3a; }
html.cc-light .service-card-stampe:hover .service-card-cta { background: #111; color: #fff; }

/* ════════════════════════════════════════
   MOBILE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .stampe-cta-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .sp-quality-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-formats-cats { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sp-steps-grid { grid-template-columns: 1fr; }
  .sp-quality-grid { grid-template-columns: 1fr; }
  .sp-hero { min-height: 85vh; }
  .sp-hero-inner { padding: 7rem 1.5rem 4rem; }
  .sp-hero-btns { flex-direction: column; }
  .sp-hero-btns .btn { text-align: center; justify-content: center; }
  .sp-hero-trust { gap: 0.7rem; font-size: 0.58rem; }
  .section-stampe-cta { padding: 5rem 0; }
  .service-card-stampe {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .service-card-stampe .service-card-num { grid-row: auto; }
  .service-card-stampe .service-card-cta { grid-column: auto; grid-row: auto; }
}
@media (max-width: 480px) {
  .sp-formats-cats { grid-template-columns: 1fr; }
  .sp-format-cat { padding: 1.5rem; }
}
