/* ================================
   VARIABILI GLOBALI
================================ */
:root {
  --bg: #f7f6f3;
  --accent: #ff8c42;
  --accent-light: #ffb37a;
  --muted: #7a6f65;
  --dark: #222;
  --white: #ffffff;
}

/* ================================
   RESET BASE
================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #efe9df 100%);
  color: var(--dark);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: contain;
}

.brand h1 {
  font-size: 1.4rem;
  font-weight: 700;
}

/* ================================
   MENU LINKS
================================ */
.navlinks {
  list-style: none;          /* 🔥 QUESTO RISOLVE I PUNTINI */
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navlinks li {
  list-style: none;          /* doppia sicurezza */
}

.navlinks a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
}

.navlinks a:hover {
  color: var(--dark);
  text-decoration: underline;
}

/* ================================
   HAMBURGER
================================ */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    gap: 0;
    display: none;           /* 🔥 NASCOSTO DI DEFAULT */
    border-top: 1px solid #eee;
  }

  .navlinks.active {
    display: flex;
  }

  .navlinks li {
    border-bottom: 1px solid #eee;
  }

  .navlinks a {
    padding: 14px 20px;
    display: block;
  }
}
/* ================================
   HERO
================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-content {
  max-width: 800px;
}

.hero-logo img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.btn-hero {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hero:hover {
  background: var(--accent-light);
  transform: scale(1.05);
}

/* ================================
   CARD CENTRALE
================================ */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
}

.card {
  width: min(800px, 95%);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.7),
    rgba(255,255,255,0.85)
  );
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(20,20,20,0.06);
  text-align: center;
  animation: cardIn 0.7s ease forwards;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ================================
   TESTI
================================ */
.kicker {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 999px;
}

.big-hero {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
  margin-top: 1rem;
}

/* ================================
   FEEDBACK
================================ */
.feedback {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.chip:hover {
  background: var(--accent);
  color: var(--white);
}

textarea {
  width: 100%;
  max-width: 400px;
  height: 100px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  font-family: inherit;
}

.btn-send {
  margin-top: 0.5rem;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.msg {
  display: none;
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ================================
   FOOTER
================================ */
footer {
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navlinks {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
    background: var(--white);
    border-top: 1px solid #eee;
  }

  .navlinks.active {
    display: flex;
  }

  .navlinks a {
    padding: 12px 0;
  }

  .brand h1 {
    font-size: 1.2rem;
  }

  .big-hero {
    font-size: 2.4rem;
  }
}

/* === FIX FORZATO NAVBAR (ANTI PALLINI) === */
.navlinks,
.navlinks ul,
.navlinks li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navlinks li::marker {
  content: none !important;
}