/* Modern Theme - Youtubevisualizzazioni.it */
:root {
  --bg-page: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-subtle: #eef2f8;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-soft: rgba(220, 38, 38, 0.10);
  --accent: #1e293b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --success: #15803d;
  --danger: #dc2626;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.container-modern,
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   PAGINE INTERNE (Layout esistente)
   ========================================================= */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.brand-logo:hover {
  text-decoration: none;
}

.badge-yt {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(220, 38, 38, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

/* Hero & Layout */
.hero-modern {
  padding: 44px 0 64px;
  background:
    radial-gradient(circle at 12% 15%, rgba(220, 38, 38, 0.07), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(15, 23, 42, 0.06), transparent 45%),
    var(--bg-page);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.hero-kicker {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text-main);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 22px;
}

.hero-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.perk-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Cards */
.order-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.order-card-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.order-card-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.order-card-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.info-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.info-card p {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  background: var(--bg-surface);
}

/* Forms */
.form-group-modern {
  margin-bottom: 16px;
}

.form-label-modern {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control-modern {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

textarea.form-control-modern {
  resize: vertical;
  min-height: 110px;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-modern:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.32);
}

.btn-modern:active {
  transform: translateY(0);
}

.payment-trust {
  margin-top: 16px;
  text-align: center;
}

.payment-trust img {
  max-height: 60px;
}

/* Footer pagine interne */
.site-footer {
  background: var(--accent);
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 0.88rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-main {
  margin-bottom: 8px;
}

.footer-main p {
  margin: 0;
}

.footer-links {
  color: #94a3b8;
  font-size: 0.82rem;
}

/* =========================================================
   HOMEPAGE (index.html)
   ========================================================= */

/* Top Promo Banner */
.top-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #991b1b 100%);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.top-bar a {
  color: #fde047;
  font-weight: 700;
  margin-left: 6px;
  text-decoration: underline;
}

/* Navbar Homepage */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.brand small {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.nav-menu > li > a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-menu .btn-nav {
  background: var(--primary);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28);
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-menu .btn-nav:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Dropdown Menu */
.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1100;
}

.nav-menu > li:hover > .dropdown-menu,
.nav-menu > li:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a:hover {
  background: var(--primary-soft);
  color: var(--primary);
  text-decoration: none;
}

/* Hero Homepage */
.hero {
  text-align: center;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 20% 10%, rgba(220, 38, 38, 0.08), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(15, 23, 42, 0.07), transparent 45%),
    var(--bg-page);
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(220, 38, 38, 0.22);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 auto 18px;
  max-width: 820px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--primary);
}

.hero .subtitle {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.35);
  text-decoration: none;
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--text-main);
  transform: translateY(-2px);
  text-decoration: none;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.trust-strip span i {
  font-style: normal;
  color: var(--success);
  font-weight: 800;
}

/* Pacchetti Views */
.packages-section {
  padding: 20px 0 72px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.pkg-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.14);
}

.ribbon-popular {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.pkg-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.pkg-header img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.pkg-header h2 {
  margin: 0 0 4px;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-main);
}

.pkg-header p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pkg-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pkg-perks li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
}

.pkg-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

/* Form controlls Homepage */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.btn-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 22px;
  margin-top: 4px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.26);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.34);
}

.btn-pay.dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.btn-pay.dark:hover {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.32);
}

.pay-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pay-footer img {
  max-height: 35px;
}

/* Sezioni generiche */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text-main);
}

.section-header p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Perché acquistare Google ADS */
.why-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.why-box h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--text-main);
}

.why-box > div:first-child p {
  color: var(--text-muted);
  margin: 0 0 14px;
  font-size: 0.98rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-point {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px;
}

.why-point h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.why-point p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Come funziona (4 step) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tutti i servizi YouTube */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--text-main);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
}

.service-card p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

/* Recensioni */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-card p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
}

.review-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list details {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--border-strong);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Altri Servizi Social */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.social-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.social-card h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Contatti */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-grid form {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-side-item {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.contact-side-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.contact-side-item strong {
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Footer Homepage */
footer {
  background: var(--accent);
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 0.86rem;
  text-align: center;
}

footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}

footer img {
  border-radius: 4px;
  vertical-align: middle;
}

footer a {
  color: #ffffff;
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE (Pagine interne + Homepage)
   ========================================================= */
@media (max-width: 960px) {
  .packages-grid,
  .why-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .socials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle,
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
  }

  /* Menu mobile Homepage */
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 8px 0 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li > a {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
  }

  .nav-menu > li:first-child > a {
    border-top: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--bg-subtle);
    padding: 4px 12px 8px 28px;
  }

  .nav-menu .btn-nav {
    margin: 12px 20px 0;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .grid-2,
  .hero-perks,
  .steps-grid,
  .services-grid,
  .reviews-grid,
  .socials-grid,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .order-card,
  .pkg-card,
  .contact-grid form {
    padding: 20px;
  }
}

/* =========================================================
   PAGINA BLACK FRIDAY (blackfriday.html)
   ========================================================= */

.badge-bf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #fde047;
  border: 1px solid rgba(253, 224, 71, 0.35);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

/* Countdown */
.countdown-wrap {
  max-width: 460px;
  margin: 0 auto 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}

.countdown-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 12px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cd-box {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
}

.cd-num {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fde047;
  font-variant-numeric: tabular-nums;
}

.cd-txt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  margin-top: 4px;
}

/* Offer Section & Card */
.offer-section {
  padding: 16px 0 72px;
}

.offer-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg-surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.offer-details {
  padding: 36px 32px;
  background: var(--bg-surface);
}

.offer-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.offer-details h2 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
}

.offer-details .desc {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-main);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(21, 128, 61, 0.12);
  color: var(--success);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.price-box {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-row.discount {
  color: var(--success);
  font-weight: 600;
}

.price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  font-weight: 800;
  color: var(--text-main);
}

.price-total .old {
  text-decoration: line-through;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  margin-right: 8px;
}

.price-total .final {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
}

.offer-checkout {
  padding: 36px 32px;
  background: var(--bg-subtle);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-checkout h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.offer-checkout .sub {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-badges {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-strong);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-badges img {
  max-height: 28px;
}

@media (max-width: 900px) {
  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-checkout {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .offer-details,
  .offer-checkout {
    padding: 24px 20px;
  }

  .cd-num {
    font-size: 1.35rem;
  }
}

/* Sottomenu di secondo livello (Desktop flyout + Mobile annidato) */
.dropdown-menu li.has-submenu {
  position: relative;
}

.dropdown-menu li.has-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.submenu-arrow {
  font-size: 0.75rem;
  opacity: 0.75;
}

.dropdown-submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  padding: 8px 0;
  list-style: none;
  z-index: 1100;
}

.dropdown-menu li.has-submenu:hover > .dropdown-submenu,
.dropdown-menu li.has-submenu:focus-within > .dropdown-submenu {
  display: block;
}

.dropdown-submenu li a {
  display: block;
  padding: 9px 16px;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-submenu li a:hover {
  background: #f8fafc;
  color: #dc2626;
}

/* Adattamento su Mobile (menu aperto verticale) */
@media (max-width: 900px) {
  .dropdown-submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid #e2e8f0;
    border-radius: 0;
    margin: 4px 0 4px 16px;
    padding: 4px 0;
    background: transparent;
  }

  .dropdown-menu li.has-submenu:hover > .dropdown-submenu {
    display: block;
  }
}

/* ==========================================================================
   Tema Colore Facebook (#1877F2) - Mantiene intatto il brand/logo in alto
   ========================================================================== */
body.theme-facebook {
  --primary: #1877F2;
  --primary-dark: #166FE5;
  --accent: #1877F2;
}

body.theme-facebook .top-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1877F2 100%);
}

body.theme-facebook .nav-menu > li > a:hover,
body.theme-facebook .dropdown-menu li a:hover,
body.theme-facebook .dropdown-submenu li a:hover {
  color: #1877F2;
}

body.theme-facebook .btn-nav,
body.theme-facebook .btn-primary,
body.theme-facebook .btn-pay:not(.dark) {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

body.theme-facebook .btn-nav:hover,
body.theme-facebook .btn-primary:hover,
body.theme-facebook .btn-pay:not(.dark):hover {
  background: #166FE5;
  border-color: #166FE5;
}

body.theme-facebook .hero h1 span,
body.theme-facebook .badge-trust,
body.theme-facebook .trust-pill,
body.theme-facebook .trust-strip i,
body.theme-facebook .service-link,
body.theme-facebook .service-card:hover h3,
body.theme-facebook .contact-side-item a,
body.theme-facebook footer a {
  color: #1877F2;
}

body.theme-facebook .badge-trust,
body.theme-facebook .trust-pill {
  background: rgba(24, 119, 242, 0.10);
  border-color: rgba(24, 119, 242, 0.25);
}

body.theme-facebook .pkg-card.featured {
  border-color: #1877F2;
  box-shadow: 0 20px 45px rgba(24, 119, 242, 0.14);
}

body.theme-facebook .ribbon-popular,
body.theme-facebook .pkg-badge,
body.theme-facebook .step-num {
  background: #1877F2;
  color: #ffffff;
}

body.theme-facebook .pkg-perks li::before {
  color: #1877F2;
}

body.theme-facebook .why-point {
  border-left-color: #1877F2;
}

body.theme-facebook .service-card:hover,
body.theme-facebook .social-card:hover,
body.theme-facebook .form-control:focus,
body.theme-facebook details[open] {
  border-color: #1877F2;
}

body.theme-facebook .form-control:focus {
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
}

/* Mantieni il sottotitolo del brand in rosso YouTube */
body.theme-facebook .brand small {
  color: #dc2626 !important;
}

/* ==========================================================================
   Tema Colore Instagram (#E1306C) - Mantiene intatto il brand/logo in alto
   ========================================================================== */
body.theme-instagram {
  --primary: #E1306C;
  --primary-dark: #C13584;
  --accent: #E1306C;
}

body.theme-instagram .brand small {
  color: #dc2626 !important;
}

body.theme-instagram .nav-menu > li > a:hover,
body.theme-instagram .dropdown-menu li a:hover,
body.theme-instagram .dropdown-submenu li a:hover {
  color: #E1306C;
}

body.theme-instagram .btn-nav,
body.theme-instagram .btn-primary,
body.theme-instagram .btn-pay:not(.dark) {
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 55%, #F77737 100%);
  border-color: #E1306C;
  color: #ffffff;
}

body.theme-instagram .btn-nav:hover,
body.theme-instagram .btn-primary:hover,
body.theme-instagram .btn-pay:not(.dark):hover {
  background: linear-gradient(135deg, #6d2e99 0%, #C13584 55%, #e06526 100%);
  border-color: #C13584;
}

body.theme-instagram .hero h1 span,
body.theme-instagram .badge-trust,
body.theme-instagram .trust-pill,
body.theme-instagram .trust-strip i,
body.theme-instagram .service-link,
body.theme-instagram .service-card:hover h3,
body.theme-instagram .contact-side-item a,
body.theme-instagram footer a {
  color: #E1306C;
}

body.theme-instagram .badge-trust,
body.theme-instagram .trust-pill {
  background: rgba(225, 48, 108, 0.10);
  border-color: rgba(225, 48, 108, 0.25);
}

body.theme-instagram .pkg-card.featured {
  border-color: #E1306C;
  box-shadow: 0 20px 45px rgba(225, 48, 108, 0.14);
}

body.theme-instagram .ribbon-popular,
body.theme-instagram .pkg-badge,
body.theme-instagram .step-num {
  background: linear-gradient(135deg, #833AB4 0%, #E1306C 60%, #F77737 100%);
  color: #ffffff;
}

body.theme-instagram .pkg-perks li::before {
  color: #E1306C;
}

body.theme-instagram .why-point {
  border-left-color: #E1306C;
}

body.theme-instagram .service-card:hover,
body.theme-instagram .social-card:hover,
body.theme-instagram .form-control:focus,
body.theme-instagram details[open] {
  border-color: #E1306C;
}

body.theme-instagram .form-control:focus {
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.15);
}

/* ==========================================================================
   Sottomenu a fisarmonica (chiusi di default) su Mobile (<= 991px)
   ========================================================================== */
@media (max-width: 991px) {
  .nav-menu .dropdown-menu,
  .nav-menu .dropdown-submenu {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding-left: 14px;
  }

  .nav-menu > li.mobile-open > .dropdown-menu,
  .dropdown-menu li.has-submenu.mobile-open > .dropdown-submenu {
    display: block !important;
  }

  .dropdown-menu li.has-submenu > a .submenu-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .dropdown-menu li.has-submenu.mobile-open > a .submenu-arrow {
    transform: rotate(90deg);
  }
}