/* ============================================
   PAGINE RIPARAZIONE — stili specifici
   (include hero interna, highlight prezzo,
    tabella prezzi, problemi comuni, FAQ,
    servizi extra, garanzia, addon box)
   ============================================ */

/* HERO PAGINA INTERNA */
.page-hero {
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,168,255,.1), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255,70,85,.06), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text-muted); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--text); }
.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}
.page-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  max-width: 720px;
  margin-bottom: 28px;
}
.page-lead strong { color: var(--text); }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.page-guarantee {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text-muted);
}
.page-guarantee svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; }
.page-guarantee strong { color: var(--text); }

/* HIGHLIGHT PREZZO */
.highlight-price {
  position: relative;
  background: linear-gradient(135deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2px;
  overflow: hidden;
}
.highlight-price::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: .5;
}
.highlight-price-inner {
  position: relative;
  background: var(--bg-alt);
  border-radius: calc(var(--radius) - 2px);
  padding: 32px 24px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.highlight-price-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,168,255,.4);
}
.highlight-price-content { position: relative; z-index: 2; padding-top: 24px; }
.highlight-price-content h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 12px;
}
.highlight-price-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.highlight-price-content p strong { color: var(--text); }
.highlight-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(0,168,255,.08);
  border: 1px solid rgba(0,168,255,.25);
  border-radius: var(--radius-sm);
  font-size: .85rem !important;
  color: var(--text) !important;
}
.highlight-note svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent);
  margin-top: 2px;
}
.highlight-note strong { color: var(--accent); }

.highlight-price-amount {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.amount-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.amount-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ADDON BOX (pad grafene) */
.addon-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-top: 12px;
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.3);
  border-radius: var(--radius-sm);
}
.addon-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(74,222,128,.15);
  color: var(--success);
  display: grid;
  place-items: center;
}
.addon-icon svg { width: 18px; height: 18px; }
.addon-box strong {
  display: block;
  color: var(--text);
  font-size: .88rem;
  margin-bottom: 4px;
}
.addon-box span {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}

/* TABELLA PREZZI */
.price-table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.price-table thead { background: var(--bg); }
.price-table th {
  text-align: left;
  padding: 16px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.price-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.55;
  vertical-align: top;
}
.price-table td strong { color: var(--text); display: block; margin-bottom: 2px; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: rgba(255,255,255,.02); }
.price-table .price-col {
  text-align: right;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  width: 110px;
}
.price-table .price-col strong { color: var(--accent); font-size: 1.15rem; }

.price-row-highlight td {
  background: rgba(0,168,255,.06);
  border-left: 3px solid var(--accent);
}
.price-row-highlight:hover td { background: rgba(0,168,255,.1); }

.row-badge {
  display: inline-block;
  background: rgba(0,168,255,.2);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* NOTA SMONTAGGIO */
.price-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.price-note-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(251,191,36,.15);
  color: var(--warning);
  display: grid;
  place-items: center;
}
.price-note-icon svg { width: 22px; height: 22px; }
.price-note strong { color: var(--text); display: block; margin-bottom: 6px; font-size: .95rem; }
.price-note p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.price-note p strong { color: var(--warning); display: inline; }

/* CTA LISTINO */
.price-cta {
  text-align: center;
  padding: 24px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.price-cta p { color: var(--text-muted); font-size: .92rem; max-width: 560px; }
.price-cta p strong { color: var(--text); }

/* PROBLEMI COMUNI */
.problems-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,168,255,.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.problem-icon svg { width: 22px; height: 22px; }
.problem-card h3 { font-size: 1.05rem; line-height: 1.3; }
.problem-card p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
}
.problem-card p strong { color: var(--text); }
.problem-solution {
  background: rgba(0,168,255,.06);
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .85rem !important;
  margin-top: auto;
}
.problem-solution strong { color: var(--accent) !important; }

.problems-cta {
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.problems-cta p { color: var(--text-muted); font-size: .95rem; max-width: 560px; }
.problems-cta p strong { color: var(--text); }

/* FAQ (accordion <details>) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform .25s ease, color .2s;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text); }

.faq-cta {
  text-align: center;
  padding: 32px 24px;
  margin-top: 32px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.faq-cta p { color: var(--text-muted); font-size: .95rem; }

/* SERVIZI EXTRA */
.extra-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.extra-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s;
}
.extra-card:hover { border-color: var(--accent); }
.extra-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,168,255,.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.extra-icon svg { width: 24px; height: 24px; }
.extra-card h3 { font-size: 1.15rem; line-height: 1.3; }
.extra-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  flex-grow: 1;
}
.extra-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.extra-note {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -4px;
}

/* BANNER GARANZIA */
.warranty-banner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: linear-gradient(135deg, rgba(74,222,128,.1), rgba(0,168,255,.05));
  border: 1px solid rgba(74,222,128,.35);
  border-radius: var(--radius);
}
.warranty-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(74,222,128,.15);
  color: var(--success);
  display: grid;
  place-items: center;
}
.warranty-icon svg { width: 28px; height: 28px; }
.warranty-banner h3 { font-size: 1.15rem; margin-bottom: 8px; }
.warranty-banner p { color: var(--text-muted); font-size: .92rem; line-height: 1.55; }

/* RESPONSIVE */
@media (min-width: 640px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-price-inner { padding: 40px 32px; }
}
@media (min-width: 900px) {
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
  .extra-grid { grid-template-columns: repeat(3, 1fr); }
  .highlight-price-inner { grid-template-columns: 1.5fr 1fr; padding: 48px 40px; }
  .highlight-price-badge { top: 20px; right: 20px; }
  .price-table th,
  .price-table td { padding: 18px 24px; }
  .price-note { padding: 24px; }
}
/* ============================================
   PROBLEMI COMUNI — stili specifici
   ============================================ */

.problems-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.problems-intro p { margin-bottom: 16px; }
.problems-intro p:last-child { margin-bottom: 0; }
.problems-intro strong { color: var(--text); }
.problems-intro a {
  color: var(--accent);
  text-decoration: underline;
}

/* Categoria */
.problem-category .category-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.problem-category .category-header .section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 12px;
}

/* Card problema */
.problem-detail {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  transition: border-color .2s;
}
.problem-detail:hover { border-color: var(--accent); }
.problem-detail h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.3;
}
.problem-detail p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.problem-detail p strong { color: var(--text); }
.problem-detail .problem-action {
  background: rgba(0,168,255,.06);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px !important;
}
.problem-detail .problem-action strong { color: var(--accent); }
.problem-detail .btn {
  width: 100%;
  justify-content: center;
}

/* CTA finale */
.problems-cta-final {
  text-align: center;
  padding: 48px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.problems-cta-final h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 16px;
}
.problems-cta-final p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.problems-cta-final .cta-final-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 640px) {
  .problem-detail .btn {
    width: auto;
  }
}
/* ============================================
   PAGINA PREZZI — stili specifici
   ============================================ */

.price-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.price-index-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s;
}
.price-index-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.price-index-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform .2s;
}
.price-index-item:hover .price-index-arrow { transform: translateX(4px); }

.price-block-header {
  text-align: center;
  margin-bottom: 32px;
}
.price-block-header .section-title { margin-bottom: 12px; }
.price-block-header .section-subtitle { margin-bottom: 20px; }

@media (min-width: 640px) {
  .price-index { grid-template-columns: repeat(4, 1fr); }
}