
:root { --max: 1100px; --radius: 10px; --shadow: 0 10px 25px rgba(0,0,0,.15); }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; line-height:1.5; background:#0f0f12; color:#eaeaf0; }
a { color: #FFD300; }
.container { max-width: var(--max); margin: 0 auto; padding: 20px; }
.row { display:flex; gap: 20px; flex-wrap: wrap; }
.col { flex:1 1 360px; }
.space-between { justify-content: space-between; }
.center-v { align-items: center; }

.site-header { position:sticky; top:0; backdrop-filter: blur(8px); background: rgba(20,20,24,.85); border-bottom: 1px solid rgba(255,255,255,.08); z-index: 10; }
.logo { display:flex; align-items:center; gap:10px; font-weight:700; text-decoration:none; }
.logo img { height:28px; width:28px; }
.nav a { margin: 0 8px; text-decoration:none; opacity:.9; }
.nav .btn { padding:8px 14px; border:1px solid rgba(255,255,255,.2); border-radius:8px; }


.hero { padding: 80px 0; background: radial-gradient(80% 100% at 50% 0%, rgba(102,153,255,.15), rgba(0,0,0,0)); }
.hero h1 { font-size: clamp(32px, 6vw, 56px); margin: 0 0 10px; }
.tagline { font-size: 18px; opacity:.9; max-width: 700px; }
.cta-row { margin-top: 18px; display:flex; gap:12px; }
.btn { display:inline-block; padding:10px 16px; border-radius:10px; border:none; background:#eaeaf0; color:#FFD300; text-decoration:none; font-weight:600; }
.btn.ghost { background: transparent; color:#FFD300; border:1px solid rgba(255,255,255,.25); }

.features { padding: 30px 0 60px; }
.card { background: rgba(255,255,255,.04); padding: 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.06); }
.grid-3 { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.highlight { padding: 50px 0; }
.img-shadow { box-shadow: var(--shadow); border-radius: 12px; max-width:100%; height:auto; }

.lead { opacity:.9; }
.product { margin: 28px 0; align-items:center; }
.product img { width: 380px; flex: 0 0 380px; }
.product-text { flex:1; }
.note { opacity:.8; font-size:.95rem; }

.steps { padding-left: 20px; }
.callout { background: rgba(255,189,66,.12); border:1px solid rgba(255,189,66,.35); padding:16px; border-radius: 10px; }

.gallery { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap:12px; }

.contact-form { max-width: 640px; }
.contact-form label { display:block; margin:12px 0; }
.contact-form input, .contact-form textarea { width:100%; padding:12px; border-radius:8px; border:1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color:#eaeaf0; }

.site-footer { margin-top: 60px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; opacity:.9; }

/* Light theme */






/* Theme icon: turn yellow on interaction */

/* Light theme consistency */
.light 

/* Theme toggle icon colors */
 /* Dark mode default: purple */
[data-theme="light"]  /* Light mode: taxi yellow */
/* Hover/focus glow follows current color */



/* === Taxi Yellow & Purple Light Theme (strong specificity) === */
html[data-theme="light"] body { background: #FFD400 !important; color: #FFD300 !important; }
html[data-theme="light"] a { color: #FFD300; }
html[data-theme="light"] .site-header,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .card,
html[data-theme="light"] nav { background-color: rgba(255,255,255,0.86) !important; color: #111 !important; border-color: rgba(0,0,0,0.08) !important; }
html[data-theme="light"] .btn { background: #111 !important; color: #FFD400 !important; border-color: #FFD300 !important; }
html[data-theme="light"] .btn.ghost { background: transparent !important; color: #FFD300 !important; border-color: rgba(0,0,0,0.25) !important; }
 /* Icon purple in dark */
html[data-theme="light"]  /* Icon taxi yellow in light */



/* Strong light theme text colors */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] h6,
html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] span,
html[data-theme="light"] small,
html[data-theme="light"] label,
html[data-theme="light"] .nav a { color: #FFD300; }

/* Ensure links remain readable and hover underlined */
html[data-theme="light"] a:hover { text-decoration: underline; }

/* Force theme-toggle colors */

html[data-theme="light"] 

/* Global text color override */
body, h1, h2, h3, h4, h5, h6, p, li, a, span, div, footer, header, nav, section, article {
    color: #FFD800 !important;
}


/* === Rainbow Amplification Final Theme Overrides (v19) === */

/* Base colors */
:root {
  --ra-yellow: #FFD800;
  --ra-yellow-weak: rgba(255,216,0,0.75);
  --ra-black: #000000;
  --ra-dark: #0a0a0a;
  --ra-border: #222;
  --ra-shadow: rgba(0,0,0,0.35);
}

/* Body + default background */
html, body {
  background: var(--ra-black) !important;
  color: var(--ra-yellow) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
p, li, a, span, small, strong, em, blockquote, label, time, figcaption {
  color: var(--ra-yellow) !important;
}

/* Links */
a, a:visited {
  color: var(--ra-yellow) !important;
  text-decoration-color: var(--ra-yellow-weak) !important;
}
a:hover, a:focus {
  text-decoration: underline;
  text-decoration-thickness: .12em;
}

/* Nav + headers + footers */
header, nav, .navbar, .site-header, .site-nav, footer, .site-footer, .hero, .banner {
  background: var(--ra-dark) !important;
  color: var(--ra-yellow) !important;
  border-color: var(--ra-border) !important;
}

/* Cards / sections / articles */
section, article, .card, .panel, .box, .tile, .content, .container {
  background: transparent !important;
  color: var(--ra-yellow) !important;
  border-color: var(--ra-border) !important;
}

/* Buttons */
button, .btn, input[type="button"], input[type="submit"], input[type="reset"] {
  background: transparent !important;
  color: #FFD300 !important;
  border: 1.5px solid var(--ra-yellow) !important;
  padding: .6em 1.1em !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: transform .08s ease, background .15s ease, color .15s ease;
}
button:hover, .btn:hover, input[type="submit"]:hover {
  background: var(--ra-yellow) !important;
  color: #FFD300 !important;
  transform: translateY(-1px);
}
button:active, .btn:active, input[type="submit"]:active {
  transform: translateY(0);
}

/* Forms */
input, select, textarea {
  background: #0f0f0f !important;
  color: var(--ra-yellow) !important;
  border: 1px solid var(--ra-border) !important;
}
input::placeholder, textarea::placeholder {
  color: var(--ra-yellow-weak) !important;
}

/* Tables */
table {
  color: var(--ra-yellow) !important;
  border-color: var(--ra-border) !important;
}
th, td {
  border-color: var(--ra-border) !important;
}
thead, tfoot {
  background: #0b0b0b !important;
}

/* Lists / separators */
hr {
  border-color: var(--ra-border) !important;
}
ul li::marker, ol li::marker {
  color: var(--ra-yellow) !important;
}

/* Icons & SVG */
svg, svg * {
  fill: currentColor !important;
  stroke: currentColor !important;
  color: var(--ra-yellow) !important;
}

/* Images remain untouched for fidelity */

/* Focus rings (accessibility) */
:focus-visible {
  outline: 2px dashed var(--ra-yellow) !important;
  outline-offset: 2px !important;
  border-radius: 6px !important;
}

/* Selections */
::selection {
  background: var(--ra-yellow);
  color: #000;
}
::-moz-selection {
  background: var(--ra-yellow);
  color: #000;
}

/* Badges / pills / tags */
.badge, .tag, .pill {
  background: transparent !important;
  border: 1px solid var(--ra-yellow) !important;
  color: var(--ra-yellow) !important;
}

/* Code blocks */
code, pre, kbd, samp {
  background: #0f0f0f !important;
  color: var(--ra-yellow) !important;
  border: 1px solid var(--ra-border) !important;
}

/* Remove any leftover theme toggle spacing */
.theme-toggle, #theme-toggle, [data-theme-toggle] {
  display: none !important;
}

/* Optional: smooth scroll and nicer animations without flicker */
html {
  scroll-behavior: smooth;
}



/* ====== SUONO (YouTube Grid) ====== */
.section-suono { padding: 48px 0; }
.section-suono .section-title { font-size: 2rem; margin-bottom: 8px; }
.section-suono .section-subtitle { opacity: 0.9; margin-bottom: 24px; }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .yt-grid { grid-template-columns: 1fr; }
}

.yt-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px;
}

.yt-title { margin: 0 0 8px 0; }

.yt-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #000;
}
.yt-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0;
}

/* CTA button (coerente con stile pulsanti globali) */
.section-suono .cta-button {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}


/* ====== SUONO (pagina dedicata) ====== */
.section-suono { padding: 48px 0; }
.section-suono .section-title { font-size: 2rem; margin: 0 0 8px 0; }
.section-suono .section-subtitle { opacity: 0.9; margin-bottom: 24px; }

.yt-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.yt-feature .yt-feature-meta { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1024px) {
  .yt-feature { grid-template-columns: 1fr; }
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) { .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .yt-grid { grid-template-columns: 1fr; } }

.yt-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 16px; }
.yt-title { margin: 0 0 8px 0; }

.yt-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: #000; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.section-suono .cta-button { display: inline-block; text-align: center; font-weight: 600; padding: 10px 14px; border-radius: 10px; text-decoration: none; }


/* === NAVBAR STABILE (no scatti / no layout shift) === */
nav, .navbar, .site-header, header.navbar, .main-nav, .topbar {
  background-color: #000000 !important;
  min-height: 60px; /* altezza consistente */
}
/* Link del menu: dimensioni fisse e nessun cambio peso font al hover */
nav a, .navbar a, .site-header a, header.navbar a, .main-nav a, .topbar a, 
nav li > a, .navbar li > a, .menu a, .nav-link {
  display: inline-block;
  padding: 14px 16px;             /* padding costante */
  line-height: 1;                 /* evita ricalcoli */
  font-weight: 600;               /* peso fisso */
  text-decoration: none;          /* niente underline che sposta */
  color: #FFD300 !important;      /* giallo NYC */
  border-bottom: 2px solid transparent; /* spazio riservato per la "sottolineatura" */
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
/* Hover/Active: usa border-bottom colorato, senza cambiare layout */
nav a:hover, .navbar a:hover, .site-header a:hover, header.navbar a:hover, .main-nav a:hover, .topbar a:hover,
nav .active > a, .navbar .active > a, .site-header .active > a, .main-nav .active > a,
nav a[aria-current="page"], .navbar a[aria-current="page"] {
  color: #FFD300 !important;
  border-bottom-color: #FFD300;   /* evidenziazione senza scatti */
  background-color: transparent;  /* evita evidenze che cambiano altezza */
}
/* Evita regole generiche che cambiano l'opacity dei link (che può dare effetto "sfarfallio") */
a:hover { text-decoration: none; }
/* Assicura che elementi della barra non "crescano" con margini/padding */
nav li, .navbar li { margin: 0; }


/* === NAVBAR ROBUST LAYOUT (no clipping, no disappear) === */
nav, .navbar, .site-header, header.navbar, .main-nav, .topbar {
  display: flex;
  flex-wrap: wrap;          /* consenti a capo invece di sparire */
  align-items: center;
  gap: 8px;
  overflow: visible !important;   /* niente tagli */
}
nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
nav li { margin: 0; padding: 0; }
nav a, .navbar a, .nav a, .menu a, .nav-link {
  flex: 0 0 auto;           /* link non si comprimono fino a zero */
  white-space: nowrap;      /* niente troncamenti a metà parola */
  visibility: visible !important;
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;              /* spazio tra logo e scritta */
}

.logo img {
  display: block;
  margin: 0;
  padding: 0;
  height: auto;
  width: auto;
}

.logo span {
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: inherit;
}