:root {
  --ink: #1f2523;
  --terracotta: #b9624b;
  --brass: #b8914a;
  --sage: #78947d;
  --paper: #fbfaf7;
  --line: rgba(31, 37, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(184, 145, 74, 0.1), transparent 28%),
    linear-gradient(135deg, #fbfaf7 0%, #f5f1ea 100%);
}

.deck {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.slide {
  width: min(1280px, calc(100vw - 64px));
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(31, 37, 35, 0.1);
  box-shadow: 0 24px 70px rgba(31, 37, 35, 0.13);
  padding: 64px 72px;
}

.slide.dark {
  background:
    linear-gradient(135deg, rgba(31, 37, 35, 0.98), rgba(31, 37, 35, 0.94)),
    var(--ink);
  color: var(--paper);
}

.slide.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

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

.brand svg {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
}

.brand-word {
  display: grid;
  gap: 4px;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--terracotta);
  font-style: italic;
}

.brand-eventi {
  color: var(--sage);
  font-size: 14px;
  letter-spacing: 0.45em;
  font-weight: 700;
}

.eyebrow {
  margin: 38px 0 18px;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 14px;
  font-weight: 800;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 980px;
  font-size: clamp(58px, 7.2vw, 108px);
  line-height: 0.94;
}

h2 {
  max-width: 860px;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 0.98;
}

.accent {
  color: var(--terracotta);
  font-style: italic;
}

.lead {
  max-width: 780px;
  margin: 28px 0 0;
  font-size: 28px;
  line-height: 1.28;
  color: rgba(31, 37, 35, 0.78);
}

.dark .lead {
  color: rgba(251, 250, 247, 0.82);
}

.footer {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(31, 37, 35, 0.48);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.dark .footer {
  color: rgba(251, 250, 247, 0.52);
}

.rule {
  width: 180px;
  height: 2px;
  background: var(--brass);
  margin-top: 28px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.pill {
  border: 1px solid rgba(251, 250, 247, 0.28);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(251, 250, 247, 0.08);
  backdrop-filter: blur(10px);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.48);
}

.dark .card {
  border-color: rgba(251, 250, 247, 0.16);
  background: rgba(251, 250, 247, 0.06);
}

.card-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.dark .card-num {
  background: var(--paper);
  color: var(--ink);
}

.card h3 {
  margin: 22px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.card p,
.list li {
  color: rgba(31, 37, 35, 0.72);
  font-size: 20px;
  line-height: 1.34;
}

.dark .card p,
.dark .list li {
  color: rgba(251, 250, 247, 0.75);
}

.list {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 38px;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 6px rgba(185, 98, 75, 0.13);
}

.metric {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(31, 37, 35, 0.12);
}

.metric strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  color: var(--terracotta);
  line-height: 0.95;
}

.metric span {
  color: rgba(31, 37, 35, 0.7);
  font-size: 18px;
  line-height: 1.35;
}

.photo-panel {
  min-height: 520px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 37, 35, 0.12);
  background:
    linear-gradient(135deg, rgba(31, 37, 35, 0.1), rgba(185, 98, 75, 0.12)),
    linear-gradient(45deg, #ded7ca 0 25%, #f6efe5 25% 50%, #cab995 50% 75%, #e9dccd 75%);
}

.photo-panel::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(251, 250, 247, 0.55);
  border-radius: 24px;
}

.photo-panel::after {
  content: "materiali decorazioni allestimenti";
  position: absolute;
  left: 42px;
  bottom: 38px;
  max-width: 360px;
  font-family: Georgia, "Times New Roman", serif;
  color: white;
  font-size: 54px;
  line-height: 0.94;
  text-shadow: 0 12px 40px rgba(31, 37, 35, 0.35);
}

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.offer-item {
  border: 1px solid rgba(184, 145, 74, 0.38);
  border-radius: 18px;
  padding: 24px;
  background: rgba(184, 145, 74, 0.08);
}

.offer-item b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--terracotta);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

.offer-item span {
  display: block;
  color: rgba(31, 37, 35, 0.72);
  font-size: 19px;
  line-height: 1.32;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.step {
  position: relative;
  padding: 26px 20px;
  border-top: 3px solid var(--brass);
  background: rgba(255, 255, 255, 0.55);
}

.step strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  margin-bottom: 12px;
}

.step span {
  color: rgba(31, 37, 35, 0.7);
  font-size: 18px;
  line-height: 1.34;
}

.final-line {
  margin-top: 38px;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.16;
}

@media (max-width: 900px) {
  .deck {
    padding: 16px;
  }

  .slide {
    width: calc(100vw - 32px);
    min-height: 760px;
    aspect-ratio: auto;
    padding: 38px 28px;
  }

  .slide.split,
  .grid-3,
  .offer,
  .timeline {
    grid-template-columns: 1fr;
  }

  .footer {
    left: 28px;
    right: 28px;
    bottom: 24px;
  }
}

@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }

  body {
    background: white;
  }

  .deck {
    display: block;
    padding: 0;
  }

  .slide {
    width: 16in;
    height: 9in;
    page-break-after: always;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
