:root {
  --navy: #0b1f33;
  --navy-deep: #081726;
  --navy-soft: #14314f;
  --gold: #cda96a;
  --gold-light: #e3c692;
  --white: #ffffff;
  --cream: #faf8f4;
  --ink-muted: #5c6b7a;
  --max-width: 1180px;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  height: 42px;
  width: auto;
}

.brand-word {
  height: 32px;
  width: auto;
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.hamburger[aria-expanded="true"] span {
  background: var(--white);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown nav panel */
.dropdown-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 110px 24px 60px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.35s;
  z-index: 105;
  min-height: 320px;
}

.dropdown-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.dropdown-nav a {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
  padding: 14px 10px;
  border-bottom: 1px solid transparent;
  letter-spacing: 0.01em;
}

.dropdown-nav a:hover,
.dropdown-nav a:focus {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 38, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.35s;
  z-index: 102;
}

.nav-scrim.open {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--white);
  text-align: center;
  padding: 72px 24px 64px;
}

.hero-logo {
  max-width: 150px;
  width: 36%;
  margin: 0 auto 18px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 0 18px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover { background: var(--gold-light); }

.btn-outline-navy {
  border: 1px solid var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Generic section ---------- */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 12px;
  color: var(--navy);
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}

/* Chi siamo */
#chi-siamo { background: var(--cream); }

.about-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--navy-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-stat {
  text-align: center;
}

.about-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
}

.about-stat span {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Catalogo */
#catalogo { background: var(--white); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 14px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(11, 31, 51, 0.1);
  box-shadow: 0 2px 8px rgba(11, 31, 51, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 10px 22px rgba(11, 31, 51, 0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.category-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.catalogo-cta {
  text-align: center;
  margin-top: 36px;
}

/* Contatti */
#contatti {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

#contatti .section-head p { color: #c9d2db; }

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.contact-email:hover { color: var(--white); border-bottom-color: var(--white); }

.contact-actions {
  margin-top: 22px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--navy-deep);
  font-weight: 700;
}

.btn-whatsapp:hover { background: #2fe375; }

.btn-whatsapp .icon-whatsapp {
  width: 20px;
  height: 20px;
}

.contact-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: #9aa7b3;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(8, 23, 38, 0.3);
  z-index: 90;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #2fe375;
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #9aa7b3;
  padding: 32px 0;
  text-align: center;
  font-size: 0.82rem;
}

.site-footer .logo-mark {
  height: 30px;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1) opacity(0.9);
}

/* ---------- Responsive ---------- */
@media (min-width: 760px) {
  .hero { padding: 100px 24px 88px; }
  .hero-logo { max-width: 170px; }
}
