@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #06090c;
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --text: #e6f3ed;
  --muted: #9fb7ad;
  --accent: #35f4a6;
  --accent-2: #d7b56d;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(53, 244, 166, 0.12), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(215, 181, 109, 0.14), transparent 25%),
    linear-gradient(145deg, #050709 0%, #0d141a 50%, #050709 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 24px);
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  padding: 10px 14px;
  background: #0a151c;
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 10px;
  z-index: 20;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 12, 0.75);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-wrap: wrap;
}

.brand-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.brand-home:hover,
.brand-home:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.brand-name {
  color: var(--text);
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(53, 244, 166, 0.7);
}

.brand-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.powered-label {
  opacity: 0.8;
}

.da2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.da2-link:hover,
.da2-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 22px rgba(53, 244, 166, 0.18);
  outline: none;
}

.contact-line {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  opacity: 0.78;
}

.contact-line a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s ease, opacity 0.2s ease;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.22);
  outline: none;
}

.contact-line:hover svg,
.contact-line:focus-within svg {
  opacity: 0.92;
}

.da2-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(53, 244, 166, 0.35));
}

.da2-meta {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--panel);
  outline: none;
  transform: translateY(-1px);
}

.cta-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px 12px;
  display: flex;
  justify-content: flex-end;
}

.cta-row .btn-external {
  width: auto;
}

.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(245, 245, 245, 0.92);
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 215, 100, 0.22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-external:hover,
.btn-external:focus-visible {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 215, 100, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  outline: none;
}

.btn-external:focus-visible {
  outline: 2px solid rgba(255, 215, 100, 0.45);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 215, 100, 0.12);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 20px 110px;
}

.hero-content {
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 44px;
  align-items: center;
}

.logo-wrapper {
  position: relative;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 34px;
  background: rgba(12, 17, 23, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  filter: drop-shadow(0 0 22px rgba(53, 244, 166, 0.28));
}

.logo-wrapper::after {
  content: '';
  position: absolute;
  inset: 6% 5%;
  border-radius: 34px;
  background: radial-gradient(circle, rgba(53, 244, 166, 0.18), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0.9;
}

.hero-logo {
  width: min(420px, 80vw);
  animation: float 6s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
  background: rgba(5, 9, 12, 0.35);
  border-radius: 26px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 14px;
  letter-spacing: 0.4px;
}

.hero-text h2 {
  font-size: clamp(18px, 2.4vw, 24px);
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 500;
}

.claim {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041008;
  box-shadow: 0 15px 40px rgba(53, 244, 166, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 48px rgba(53, 244, 166, 0.5);
  outline: none;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  outline: none;
}

.section {
  padding: 90px 20px;
}

.section h3 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}

.section p.section-lead {
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 32px;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(53, 244, 166, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.card span {
  color: var(--muted);
  line-height: 1.5;
}

.bullets {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.bullet-icon {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, var(--accent));
  box-shadow: 0 0 12px rgba(53, 244, 166, 0.6);
}

.cta-banner {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(53, 244, 166, 0.1), rgba(215, 181, 109, 0.12));
  border: 1px solid var(--border);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  align-items: center;
  text-align: left;
  box-shadow: var(--shadow);
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  background: rgba(5, 8, 12, 0.85);
  color: var(--muted);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.powered-by a {
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.powered-by a:hover,
.powered-by a:focus-visible {
  color: var(--text);
  border-color: rgba(255, 215, 100, 0.45);
  outline: none;
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
  outline: none;
}

.pattern-panel {
  background: var(--panel-strong);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  padding: 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.step strong {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.step .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03110b;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(53, 244, 166, 0.35);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.privacy-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.form-notice {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(31, 111, 120, 0.12);
  color: var(--accent);
  font-weight: 600;
  display: none;
}

.form-notice.show {
  display: block;
}

.form-notice.error {
  background: rgba(176, 55, 55, 0.12);
  color: #b03737;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 16px rgba(53, 244, 166, 0.35));
  }
  100% {
    filter: drop-shadow(0 0 28px rgba(215, 181, 109, 0.45));
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 12px 16px;
  }
  .brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-powered {
    padding-left: 2px;
  }
  .nav-links {
    gap: 12px;
    justify-content: flex-start;
  }
  .cta-row {
    padding: 6px 16px 12px;
    justify-content: flex-start;
  }
  .cta-row .btn-external {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding-top: 120px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive and accessibility enhancements */
*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  line-height: 1.6;
}

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

p,
li {
  line-height: 1.6;
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
}

h2 {
  font-size: clamp(22px, 4vw, 34px);
}

.container {
  padding-left: 16px;
  padding-right: 16px;
}

.btn,
.btn-external {
  min-height: 44px;
}

.hero-actions,
.cta-banner-actions {
  gap: 14px;
}

@media (max-width: 767px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-banner,
  .section,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .cta-banner-actions {
    flex-direction: column;
  }

  .btn,
  .btn-external {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions,
  .cta-banner-actions {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

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

html, body { margin:0; padding:0; overflow-x:hidden; }
img { max-width:100%; height:auto; display:block; }
body { line-height:1.6; font-size:16px; }

h1 { font-size: clamp(28px, 6.2vw, 44px); line-height:1.15; }
h2 { font-size: clamp(20px, 4.6vw, 30px); }
p  { font-size:16px; }

@media (max-width: 768px) {

  /* riduci padding in alto generale */
  header, .header, .topbar, .navbar, nav {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* badge/pill in alto: meno altezza, meno bordo, testo più piccolo */
  .pill, .badge, .chip, .tag,
  .header-pill, .brand-pill, .title-pill {
    padding: 8px 12px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
  }

  /* blocco powered by: rendilo su 2 righe compatte e centra */
  .poweredby, .powered-by, .powered, .brand-powered {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
    margin-top: 8px !important;
    margin-bottom: 6px !important;
  }
  .poweredby img, .powered-by img, .powered img {
    height: 22px !important;
    width: auto !important;
  }

  /* menu: da orizzontale largo a wrap su 2 righe (senza aria eccessiva) */
  nav ul, .nav ul, .menu, .menu ul, .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 14px !important;
    padding: 6px 0 0 0 !important;
    margin: 0 !important;
  }
  nav a, .nav a, .menu a {
    font-size: 15px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }

  /* bottone “Vai a Rigenera Condominio”: meno aria, ancora touch friendly */
  a.button, .cta, .btn, .btn-external, .btn-primary, .btn-secondary, button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
  }

  /* riduci lo spazio prima del “mega riquadro immagine” */
  .hero, .hero-wrap, .hero-container, .top-hero, .intro {
    margin-top: 10px !important;
    padding-top: 6px !important;
  }

  /* se l’immagine grande sopra l’H1 è troppo invasiva, riducila */
  .hero img, .hero-wrap img, .intro img, .top-hero img,
  .cover img, .banner img {
    max-height: 240px !important;
    object-fit: contain !important;
    margin: 8px auto 0 auto !important;
  }

  /* container laterale: più pulito su mobile */
  .container, main, section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (min-width: 769px) {
  a.button, .cta, .btn, .btn-external, .btn-primary, .btn-secondary, button { width: auto; }
}

/* ==== MOBILE+DESKTOP NAV PATCH (Terzo Settore) ==== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

.site-header { position: relative; z-index: 50; }
.topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(215, 181, 109, 0.35);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(215, 181, 109, 0.55);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
  outline: none;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(80, 220, 170, 0.9);
  box-shadow: 0 0 0 6px rgba(80, 220, 170, 0.12);
  flex: 0 0 auto;
}
.brand-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46vw;
}

.powered { display: none; } /* mobile default: hidden per pulizia */

.menu-toggle {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger {
  width: 18px; height: 2px; background: rgba(255,255,255,0.85);
  position: relative; display: inline-block; border-radius: 2px;
}
.hamburger::before, .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

.site-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px 16px 16px;
  margin: 0 16px 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.site-nav a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
}
.site-nav a.nav-cta {
  border: 1px solid rgba(180, 140, 40, 0.35);
  background: rgba(0,0,0,0.18);
  font-weight: 600;
  text-align: center;
}

.site-nav a.nav-cta-secondary {
  border: 1px solid rgba(215, 181, 109, 0.3);
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
  text-align: center;
}

.site-header.nav-open .site-nav { display: flex; }

/* Miglioramenti hero: riduci spazio sopra al titolo (senza stravolgere layout esistente) */
@media (max-width: 768px) {
  .hero, .hero-wrap, .intro, main, section { scroll-margin-top: 76px; }
}

@media (max-width: 900px) {
  .header-cta {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Desktop */
@media (min-width: 769px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    padding: 18px 32px;
  }
  .brand-title { font-size: 18px; max-width: none; }
  .powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }
  .powered-label { opacity: 0.8; font-size: 14px; }
  .powered-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    text-decoration: none;
    background: rgba(0,0,0,0.18);
  }
  .powered-logo { height: 22px; width: auto; }
  .powered-name { font-size: 16px; font-weight: 600; white-space: nowrap; }

  .menu-toggle { display: none; }

  .site-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 0 32px 14px 32px;
    margin: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
  }
  .site-nav a { padding: 10px 10px; }
  .site-nav a.nav-cta { padding: 10px 14px; width: auto; }
}
