/* GEO Audit Tool — WEB iDEA — audit.css */

/* ── GLOBAL MOBILE OVERFLOW FIX ─────────────────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FACC16;
  --dark:   #111111;
  --mid:    #374151;
  --light:  #F9FAFB;
  --border: #E5E7EB;
  --radius: 10px;
  --font:   'Arial', sans-serif;
}

body {
  font-family: var(--font);
  background: #fff;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ──────────────────────────────────────────────────────────────── */
.audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.audit-header img { height: 36px; }

.audit-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.audit-header nav a {
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
}

.audit-header nav a:hover { color: var(--dark); }

.btn-nav {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px !important;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.audit-hero {
  background: var(--dark);
  color: #fff;
  padding: 52px 0 44px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.audit-hero h1 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.2;
}

.hero-sub {
  font-size: 15px;
  color: #9ca3af;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-note {
  font-size: 11px;
  color: #FACC16;
  display: block;
  margin-top: 6px;
}

/* Stats inline nel hero — stile GEO Optimizer */
.hero-stats {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid #FACC16;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  color: #FACC16;
  white-space: nowrap;
}

.hero-stat strong {
  color: #fff;
  font-weight: 700;
}

/* ── FORM ────────────────────────────────────────────────────────────────── */
.audit-form-wrap { max-width: 580px; margin: 0 auto; }

.audit-input-row {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.audit-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 11px 16px;
  border-radius: 7px;
  color: var(--dark);
  min-width: 0;
}

.audit-input-row button {
  background: var(--yellow);
  color: var(--dark);
  border: none;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.audit-input-row button .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

.audit-input-row button .btn-loader {
  line-height: 1;
}

.audit-input-row button:hover   { opacity: .85; }
.audit-input-row button:disabled { opacity: .6; cursor: not-allowed; }

.form-note {
  font-size: 10px;
  color: #6b7280;
  margin-top: 10px;
  text-align: center;
}

/* ── RESULTS ─────────────────────────────────────────────────────────────── */
.audit-results {
  padding: 40px 0;
  background: var(--light);
}

/* Score card */
.score-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .3s;
}

.score-num { font-size: 34px; font-weight: 900; line-height: 1; }
.score-max { font-size: 11px; color: #9ca3af; }

.score-status { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.score-url    { font-size: 11px; color: #6b7280; margin-bottom: 4px; word-break: break-all; }
.score-desc   { font-size: 12px; color: var(--mid); }

/* Checks block */
.blocks-grid { margin-bottom: 24px; }

.block-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* GEO Optimizer style check rows */
.block-checks-geo {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-row-geo {
  display: grid;
  grid-template-columns: 165px 1fr 38px;
  align-items: center;
  gap: 12px;
}

.check-geo-label {
  color: var(--mid);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.check-geo-bar-wrap {
  height: 9px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.check-geo-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .5s ease;
  min-width: 4px;
}

.check-geo-score {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-align: right;
}

/* Separatore tra gruppi */
.check-group-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* PDF gate */
.pdf-gate {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  color: #fff;
}

.pdf-gate h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--yellow);
}

.pdf-gate p {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.gate-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 10px;
  justify-content: center;
  align-items: flex-start;
}

.gate-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gate-input-wrap input {
  width: 100%;
  padding: 0 16px;
  height: 44px;
  border: 2px solid #374151;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.gate-input-wrap input:focus {
  border-color: var(--yellow);
}

.gate-input-wrap input::placeholder { color: #6b7280; }

#gateEmailError {
  color: #f87171;
  font-size: 11px;
  margin-top: 5px;
  text-align: left;
}

.gate-form button {
  background: var(--yellow);
  color: var(--dark);
  border: none;
  padding: 0 20px;
  height: 44px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;
}

.gate-form button:hover { opacity: .85; }

.pdf-gate small { font-size: 12px; color: #ffffff; }

/* ── ERROR ───────────────────────────────────────────────────────────────── */
.audit-error { padding: 16px 0; }

.error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
}

/* ── HOW IT WORKS ────────────────────────────────────────────────────────── */
.how-it-works {
  padding: 48px 0;
  background: #fff;
  text-align: center;
}

.how-it-works h2 { font-size: 20px; font-weight: 800; margin-bottom: 28px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step { padding: 12px; }

.step-num {
  width: 38px;
  height: 38px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  margin: 0 auto 10px;
}

.step h4 { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.step p  { font-size: 11px; color: #6b7280; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.audit-footer {
  background: var(--dark);
  color: #6b7280;
  padding: 18px 0;
  text-align: center;
  font-size: 11px;
}

.audit-footer a { color: var(--yellow); text-decoration: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Header */
  .audit-header { padding: 10px 16px; }
  .audit-header nav a:not(.btn-nav) { display: none; }

  /* Stats */
  .stats-inner { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .stat-item   { padding: 3px 10px; font-size: 12px; }
  .stat-divider { display: none; }

  /* Hero */
  .audit-hero { padding: 36px 0 30px; }
  .hero-sub   { font-size: 13px; }

  /* Form */
  .audit-input-row { flex-direction: column; }
  .audit-input-row button { width: 100%; }

  /* Score card */
  .score-card { flex-direction: column; text-align: center; }

  /* Checks */
  .check-row-geo {
    grid-template-columns: 120px 1fr 32px;
    gap: 8px;
  }
  .check-geo-label { font-size: 11px; }

  /* Gate form */
  .gate-form {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }
  .gate-form button { width: 100%; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }
}

/* ── RATING POPUP ────────────────────────────────────────────────────────── */
#ratingPopup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  align-items: flex-end;
  justify-content: flex-end;
}

.rating-popup {
  background: var(--dark);
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 18px 20px;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  position: relative;
  animation: popupIn .3s ease;
}

@keyframes popupIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rating-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.rating-close:hover { color: #fff; }

.rating-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.rating-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 14px;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 4px 0 6px;
}

.rstar {
  font-size: 34px;
  cursor: pointer;
  transition: transform .15s, color .1s;
  user-select: none;
  color: #4b5563;
  line-height: 1;
}

.rstar:hover { transform: scale(1.15); }

.rating-thanks {
  font-size: 16px;
  color: var(--yellow);
  font-weight: 700;
  padding: 6px 0 2px;
  letter-spacing: 2px;
}

/* ── HERO STATS — mobile una riga ────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.hero-stats::-webkit-scrollbar { display: none; }

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid #FACC16;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-stat strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 640px) {
  #ratingPopup { bottom: 16px; right: 16px; left: 16px; }
  .rating-popup {
    min-width: unset;
    width: 100%;
    padding: 22px 20px;
  }
  .rating-title { font-size: 16px; }
  .rating-sub   { font-size: 13px; }
  .rstar        { font-size: 36px !important; }
  .hero-stat { font-size: 11px; padding: 4px 9px; }
}

/* ── STICKY PDF BAR ──────────────────────────────────────────────────────── */
#stickyPdfBar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--dark);
  border-top: 2px solid var(--yellow);
  padding: 12px 20px;
  display: none; /* shown via JS */
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  animation: slideUp .25s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

#stickyPdfBar .sticky-text {
  font-size: 13px;
  color: #d1d5db;
  white-space: nowrap;
}

#stickyPdfBar .sticky-text strong {
  color: #fff;
}

#stickyPdfBar .sticky-input {
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid #374151;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 220px;
  transition: border-color .2s;
}

#stickyPdfBar .sticky-input:focus { border-color: var(--yellow); }
#stickyPdfBar .sticky-input::placeholder { color: #6b7280; }

#stickyPdfBar .sticky-btn {
  height: 40px;
  padding: 0 18px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
  flex-shrink: 0;
}

#stickyPdfBar .sticky-btn:hover { opacity: .85; }

#stickyPdfBar .sticky-close {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

#stickyPdfBar .sticky-close:hover { color: #fff; }

@media (max-width: 640px) {
  #stickyPdfBar {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 8px;
  }
  #stickyPdfBar .sticky-text { display: none; }
  #stickyPdfBar .sticky-input { width: 1px; flex: 1; min-width: 0; }
}

.ai-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 18px 0 24px;
}

.ai-logos img {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.ai-logos img:nth-child(3) {
  width: 30px;
  height: 30px;
}

@media (max-width: 480px) {
  .ai-logos {
    gap: 18px;
    flex-wrap: wrap;
    margin: 16px 0 22px;
  }
}

/* ─────────────────────────────────────────────
   COME FUNZIONA — GEO Audit Tool
───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   COME FUNZIONA — GEO Audit Tool
───────────────────────────────────────────── */

.how-section {
  background: #ffffff;
  padding: 74px 20px 82px;
  color: #111827;
}

.how-container {
  max-width: 1180px;
  margin: 0 auto;
}

.how-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 58px;
}

.how-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #facc15;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(250, 204, 21, .28);
}

.how-head h2 {
  font-size: clamp(34px, 4.4vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 16px;
}

.how-head p {
  font-size: 16px;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
}

/* Cards layout */

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Linea decorativa dietro ai numeri */
.how-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(17, 24, 39, .12),
    rgba(250, 204, 21, .65),
    rgba(17, 24, 39, .12),
    transparent
  );
  z-index: 0;
}

.how-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 24px;
  padding: 58px 26px 34px;
  min-height: 398px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.how-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 64px rgba(15, 23, 42, .13);
  border-color: rgba(250, 204, 21, .55);
}

.how-number {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #facc15;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(250, 204, 21, .38);
  z-index: 2;
}

.how-card h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
  margin: 26px 0 12px;
  letter-spacing: -0.015em;
}

.how-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

/* Preview area */

.how-preview {
  height: 150px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, .24), transparent 38%),
    linear-gradient(180deg, #f9fafb, #ffffff);
  border: 1px solid rgba(17, 24, 39, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

/* Preview 1 — URL */

.mini-browser {
  width: 100%;
  max-width: 270px;
  background: #111827;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
  overflow: hidden;
}

.mini-browser-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.mini-browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.mini-url-box {
  background: #ffffff;
  color: #6b7280;
  font-size: 12px;
  line-height: 1;
  padding: 12px 14px;
  border-radius: 9px;
  text-align: left;
  margin-bottom: 10px;
}

.mini-button {
  background: #facc15;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 9px;
}

/* Preview 2 — Audit bars */

.mini-audit {
  width: 100%;
  max-width: 280px;
  background: #111827;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
  overflow: hidden;
}

.mini-check {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.mini-check:last-child {
  margin-bottom: 0;
}

.mini-check span {
  color: #d1d5db;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}

.mini-check div {
  height: 7px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  overflow: hidden;
}

.mini-check i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #facc15;
}

/* Preview 3 — Report */

.how-preview-report {
  border-radius: 18px;
  overflow: hidden;
}

.mini-report {
  width: 100%;
  max-width: 250px;
  height: 124px;
  box-sizing: border-box;
  background: #111827;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
  overflow: hidden;
}

.mini-report-top {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 13px;
  align-items: center;
}

.mini-score {
  width: 66px;
  height: 66px;
  border: 4px solid #facc15;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
  box-sizing: border-box;
}

.mini-score strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.mini-score span {
  font-size: 10px;
  color: #9ca3af;
}

.mini-report-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-report-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
}

.mini-report-lines span:nth-child(1) {
  width: 100%;
}

.mini-report-lines span:nth-child(2) {
  width: 76%;
}

.mini-report-lines span:nth-child(3) {
  width: 88%;
}

.mini-pdf {
  margin-top: 10px;
  background: rgba(250, 204, 21, .14);
  border: 1px solid rgba(250, 204, 21, .4);
  color: #facc15;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 9px;
  box-sizing: border-box;
}

/* Responsive */

@media (max-width: 900px) {
  .how-section {
    padding: 62px 18px 68px;
  }

  .how-head {
    margin-bottom: 52px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 46px;
    max-width: 520px;
    margin: 0 auto;
  }

  .how-steps::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      transparent,
      rgba(17, 24, 39, .12),
      rgba(250, 204, 21, .65),
      rgba(17, 24, 39, .12),
      transparent
    );
  }

  .how-card {
    min-height: auto;
    padding: 56px 24px 32px;
  }
}

@media (max-width: 520px) {
  .how-section {
    padding: 54px 16px 60px;
  }

  .how-head {
    margin-bottom: 46px;
  }

  .how-kicker {
    font-size: 11px;
    padding: 7px 15px;
    margin-bottom: 18px;
  }

  .how-head h2 {
    font-size: 31px;
    line-height: 1.12;
  }

  .how-head p {
    font-size: 16px;
  }

  .how-card {
    border-radius: 20px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .how-card h3 {
    font-size: 19px;
  }

  .how-preview {
    height: 140px;
    padding: 14px;
  }

  .mini-check {
    grid-template-columns: 88px 1fr;
  }

  .mini-check span {
    font-size: 10.5px;
  }

  .mini-report {
    max-width: 230px;
    padding: 16px;
  }

  .mini-report-top {
    grid-template-columns: 72px 1fr;
  }

  .mini-score {
    width: 68px;
    height: 68px;
  }

  .mini-score strong {
    font-size: 24px;
  }
}

/* ─────────────────────────────────────────────
   FAQ — GEO Audit Tool
───────────────────────────────────────────── */

.geo-faq-section {
  background: #ffffff;
  padding: 76px 20px 84px;
  color: #111827;
}

.geo-faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.geo-faq-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}

.geo-faq-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #facc15;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(250, 204, 21, .24);
}

.geo-faq-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 14px;
}

.geo-faq-head p {
  font-size: 16px;
  line-height: 1.55;
  color: #6b7280;
  margin: 0;
}

.geo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.geo-faq-item {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, .09);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.geo-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 58px 22px 24px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.geo-faq-item summary::-webkit-details-marker {
  display: none;
}

.geo-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #facc15;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.geo-faq-item[open] summary::after {
  content: "−";
}

.geo-faq-content {
  padding: 0 24px 22px;
}

.geo-faq-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 520px) {
  .geo-faq-section {
    padding: 58px 16px 66px;
  }

  .geo-faq-head {
    margin-bottom: 32px;
  }

  .geo-faq-head h2 {
    font-size: 30px;
  }

  .geo-faq-item summary {
    font-size: 16px;
    padding: 20px 54px 20px 20px;
  }

  .geo-faq-content {
    padding: 0 20px 20px;
  }
}

/* ─────────────────────────────────────────────
   MOBILE FIX — hero stats + third card preview
───────────────────────────────────────────── */

@media (max-width: 520px) {

  /* 1) Hero stats: 4 badge in una riga, senza uscire dallo schermo */
  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    padding: 0 4px 2px;
    margin: 18px auto 28px;
    overflow: visible;
  }

  .hero-stat {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 3px;
    padding: 4px 5px;
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero-stat strong {
    font-size: 11px;
  }

  /* 2) Terza card: preview larga come le prime due */
  .how-preview-report .mini-report {
    width: 100%;
    max-width: 100%;
    height: 124px;
    padding: 14px 16px;
  }

  .how-preview-report .mini-report-top {
    grid-template-columns: 70px 1fr;
  }

  .how-preview-report .mini-score {
    width: 66px;
    height: 66px;
  }

  .how-preview-report .mini-score strong {
    font-size: 26px;
  }
}