:root {
  --burgundy: #6b1d2e;
  --burgundy-dark: #5a1726;
  --cream: #f5ede0;
  --cream-light: #faf6ee;
  --beige: #e9dfcb;
  --gold: #c8b48c;
  --text: #3a2a2c;
  --muted: #7a6a66;
  --border: #ddd0b8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }


/* ---------- Testi comuni ---------- */
.eyebrow {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #a8905f;
  margin-bottom: 10px;
}
.eyebrow.light { color: var(--cream); opacity: .85; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--burgundy);
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.15;
}
.rule { width: 56px; height: 1px; background: var(--gold); margin: 18px 0 22px; }
.rule.center { margin-left: auto; margin-right: auto; }
.rule.light { background: var(--cream); opacity: .7; width: 90px; margin: 18px auto; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-cream { background: var(--cream); color: var(--burgundy); border-color: var(--cream); }
.btn-cream:hover { background: #fff; }
.btn-outline-light { color: var(--cream); border-color: rgba(245,237,224,.7); }
.btn-outline-light:hover { background: var(--cream); color: var(--burgundy); }
.btn-outline { color: var(--burgundy); border-color: var(--burgundy); padding: 8px 16px; font-size: 12px; }
.btn-outline:hover { background: var(--burgundy); color: var(--cream); }
.btn-primary { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-dark); }

/* ---------- Navigazione ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--burgundy);
  border-bottom: 1px solid rgba(245,237,224,.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-logo { width: 20px; height: 23px; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 18px; }
.brand-sep { width: 1px; height: 16px; background: var(--cream); opacity: .7; }
.brand-md { font-family: var(--serif); font-weight: 600; font-size: 13px; letter-spacing: .08em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--serif);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: .9;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cream); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { background: var(--burgundy); color: var(--cream); text-align: center; padding: 64px 0 76px; }
.hero-logo { width: 74px; height: 86px; margin: 0 auto 24px; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 6vw, 52px); line-height: 1.1;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.hero-sep { width: 1.5px; height: .8em; background: var(--cream); }
.hero-md { font-weight: 600; font-size: .62em; letter-spacing: .06em; }
.hero-text { font-family: var(--serif); font-size: 19px; margin: 6px auto 26px; max-width: 620px; opacity: .95; }
.hero-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sezioni ---------- */
.section { padding: 76px 0; border-bottom: 1px solid var(--border); }
.about { background: var(--cream); }
.about-inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.photo {
  aspect-ratio: 1 / 1.13;
  background: var(--beige);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px; overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text p:not(.eyebrow) { margin-bottom: 12px; font-size: 14px; }

/* ---------- Eventi ---------- */
.events { background: var(--cream-light); }
.section-head { text-align: center; margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--cream); border: 1px solid var(--border); display: flex; flex-direction: column; }
.card-date {
  background: var(--burgundy); color: var(--cream);
  font-family: var(--serif); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 14px 20px;
}
.card-body { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; }
.card-body h3 { font-family: var(--serif); font-weight: 500; color: var(--burgundy); font-size: 22px; line-height: 1.2; }
.card-body p { font-size: 12.5px; }
.card-place { color: var(--muted); }
.card-body .btn { margin-top: 8px; }

/* ---------- Contatti ---------- */
.contact { background: var(--cream); border-bottom: 0; padding-bottom: 56px; }
.contact-inner { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.contact-info p:not(.eyebrow) { font-size: 13px; margin-bottom: 10px; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-form {
  background: var(--cream-light); border: 1px solid var(--border);
  padding: 28px 16px 24px; display: flex; flex-direction: column;
}
.contact-form label { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  font: inherit; font-size: 14px;
  background: #fff; border: 1px solid var(--border);
  padding: 9px 10px; margin-bottom: 16px; width: 100%;
  border-radius: 0; color: var(--text);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 11.5px; margin: 0 0 16px; cursor: pointer; }
.contact-form .check input { margin-top: 2px; accent-color: var(--burgundy); width: 14px; height: 14px; flex-shrink: 0; }
.contact-form .btn { align-self: flex-start; }
.form-status { font-size: 13px; margin-top: 12px; color: var(--burgundy); min-height: 1em; }

/* ---------- Footer ---------- */
.footer { background: var(--burgundy); color: var(--cream); padding: 30px 0; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 15px; }
.small-caps { font-size: 11px; font-weight: 600; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pagine legali ---------- */
.legal { padding: 64px 0; }
.legal .container { max-width: 780px; }
.legal h1 { font-family: var(--serif); font-weight: 500; color: var(--burgundy); font-size: 40px; }
.legal h2 { font-size: 24px; margin: 28px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .photo { max-width: 300px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--burgundy); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links.open { max-height: 200px; border-bottom: 1px solid rgba(245,237,224,.15); }
  .nav-links a { padding: 14px 24px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
