:root{
  --bg: #C30713;        /* rosso granata */
  --text: #121212;
  --muted: #5a5a5a;

  --card: rgba(255,255,255,.72);  /* card un po’ trasparente */
  --border: rgba(0,0,0,.10);
  --shadow: 0 10px 28px rgba(0,0,0,.14);

  --primary: #8b0000;   /* ceralacca */
  --primary-ink: #ffffff;

  --radius: 18px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(139,0,0,.08), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(139,0,0,.06), transparent 55%),
              var(--bg);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; display:block; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text{ min-width:0; }
.brand-title{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.2;
}

.brand-subtitle{
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}


/* Nav desktop */
.site-nav{
  display:none; /* su mobile nascosto */
  align-items:center;
  gap: 10px;
}

.site-nav a{
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: #222;
}

.site-nav a:hover{
  background: rgba(0,0,0,.06);
}

.nav-cta{
  background: var(--primary);
  color: var(--primary-ink) !important;
}

/* Hamburger */
.nav-toggle{
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 4px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: #222;
  border-radius: 10px;
}

/* Drawer mobile */
.nav-drawer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 60;
}

.nav-drawer.open{
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-inner{
  position: absolute;
  top: 72px;
  right: 16px;
  width: min(320px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.nav-drawer-inner a{
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.nav-drawer-inner a:hover{
  background: rgba(0,0,0,.06);
}

/* Hero 
.hero{
  position: relative;
  min-height: 58vh;
  background-image: var(--hero-image, url("../img/banner.png"));
  background-size: cover;
  background-position: center;
}*/
.hero{
  position: relative;
  min-height: 48vh;
  background-image: var(--hero-image);
  background-size: contain;        /* niente tagli */
  background-repeat: no-repeat;
  background-position: center 55%;
  background-color: #2a0000;       /* riempie eventuali bande */
}

.hero-media{
  position: absolute;
  inset: 0;
  /* niente background qui */
}


/* overlay per leggibilità del testo */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.55));
}


.hero-content{
  position: relative;
  display: flex;
  align-items: flex-start;         /* i bottoni in alto */
  padding: 14px 0 18px;            /* meno spazio */
}

.hero-card{
  width: min(560px, 100%);
  background: rgba(255,255,255,.58);  /* meno “tappo” sulla foto */
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,.95);
  padding: 22px 22px;
  backdrop-filter: blur(4px); /* effetto premium */
}

.hero-kicker{
  display: block;                 /* <-- QUESTO fa andare a capo */
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 6px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.hero-title{
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 10px 0;
}

.hero-card h1{
  margin: 0 0 10px 0;
  font-size: 26px;
  line-height: 1.1;
  color: #111;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: .01em;
}

@media (max-width: 480px){
  .hero{
    min-height: 46vh;
  }
}

@media (min-width: 768px){
  .hero-card h1{
    font-size: 36px;
  }
}

.hero-card p{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-weight: 600;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero: bottoni-only */
.hero-card--buttons{
  width: auto;
  display: inline-block;
  padding: 14px 14px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(0,0,0,.20);
  backdrop-filter: blur(6px);
}

.hero-actions--only{
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.hero-actions--only .btn{
  padding: 10px 14px;
  font-size: 15px;
  white-space: nowrap;   /* evita che il testo vada a capo */
}
/*
@media (max-width: 360px){
  .hero-actions--only{
    flex-wrap: wrap;
  }
  .hero-actions--only .btn{
    width: 100%;
  }
}*/

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
}

.btn.primary{
  background: var(--primary);
  color: var(--primary-ink);
  border-color: rgba(0,0,0,.05);
}

/* Sezioni */
.section{
  padding: 34px 0;
}

.section h2{
  margin: 0 0 14px 0;
  font-size: 22px;
}

.section-alt{
  background: #fafafa;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform .12s ease;
}

.card:hover{ transform: translateY(-2px); }

.card-title{
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}

.card-text{
  color: var(--muted);
  font-weight: 600;
}

.banner-inline{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer{
  padding: 22px 0;
  background: #111;
  color: #eee;
}

.footer-inner{
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a{
  color:#eee;
  opacity: .9;
  font-weight: 700;
}

/* Tablet/desktop */

@media (min-width: 768px){
  .site-nav{ display:flex; }
  .nav-toggle{ display:none; }
  .nav-drawer{ display:none; }

  .grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .hero{
    min-height: 98vh;
    background-size: cover;        
    background-position: center;   
    background-color: transparent;
  }
	
  .hero-content{
    align-items: flex-end;         
    padding: 32px 0 56px;
  }

  .hero-card h1{
    font-size: 32px;
  }

  .footer-inner{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
