:root {
  --bg: #f4f4f4;
  --paper: #ffffff;
  --text: #111;
  --muted: #666;
  --accent: #c40000;
  --max-width: 1100px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --border: 1px solid rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 650;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand .accent {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.92;
}

.main-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  background: var(--accent);
  color: #fff;
  padding: 7px 12px;
  text-decoration: none;
  font-size: 12px;
  border-radius: 10px;
  display: inline-block;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px 18px 90px;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 0.6px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-title .line {
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 18px auto 0;
  border-radius: 2px;
}

.hero-block {
  background: var(--paper);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 44px 22px;
  text-align: center;
}

.hero-big {
  font-weight: 750;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 56px);
  margin: 0 0 14px;
}

.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.block {
  margin-top: 28px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 18px;
  box-shadow: var(--shadow);
}

.block h2 {
  margin: 0 0 16px;
  text-align: center;
}

.block .line {
  width: 54px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.cards {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.grid-photos {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo {
  border-radius: 14px;
  overflow: hidden;
  border: var(--border);
  background: #e9e9e9;
  aspect-ratio: 4/3;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-footer {
  text-align: center;
  padding: 34px 18px;
  font-size: 13px;
  color: #eee;
  background: #000;
}

.site-footer a {
  color: #fff;
  opacity: 0.92;
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Responsive griglie */
@media (max-width: 900px) {
  .cards,
  .grid-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .cards,
  .grid-photos {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

/* ===== MOBILE DRAWER MENU ===== */

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 10px;
}

.hamburger:active {
  transform: scale(0.98);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 90;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 340px);
  background: #0b0b0b;
  color: #fff;
  transform: translateX(110%);
  transition: transform 220ms ease;
  z-index: 100;

  border-left: 1px solid rgba(255,255,255,0.10);
  box-shadow: -18px 0 40px rgba(0,0,0,0.25);
  padding: 18px;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.drawer-brand {
  font-weight: 650;
  letter-spacing: 0.2px;
  font-size: 14px;
  white-space: nowrap;
}

.drawer-brand .accent {
  color: var(--accent);
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 10px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
}

.drawer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.drawer-nav a:hover {
  opacity: 1;
}

/* Attiva hamburger solo su mobile */
@media (max-width: 600px) {
  .hamburger {
    display: inline-block;
  }
}

