:root {
  --pink: #E52862;
  --text: #E52862;
  --paper: #fffdf8;
  --line: rgba(229, 40, 98, 0.26);
  --max: 450px;
}

/*
  Font note:
  - Montserrat is loaded from Google Fonts in index.html.
  - Baskerville uses the system font where available.
  - Madelinette is usually a licensed font: add the file to /fonts and uncomment @font-face.
*/

@font-face {
  font-family: 'Madelinette';
  src: url('assets/fonts/Madelinette/Madelinette.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 40px 0;
  text-align: center;
}

h1,
h2 {
  margin: 0;
  font-family: 'Madelinette', 'Baskerville', 'Baskerville Old Face', 'Libre Baskerville', Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
}

h1 {
  font-size: 30px;
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: 600;
}

h2 {
  font-size: 33px;
  margin-bottom: 18px;
}

h3,
.date,
.time,
.address {
  font-family: Baskerville, Arial, sans-serif;
  font-weight: 600;
}
.btn{
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 500;
}


p {
  margin: 0;
    font-size: clamp(13px, 2.4vw, 13px);
    line-height: 1.42;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero {
  padding: 40px 0;
  background: url("img/fiori.jpg") center top / cover no-repeat;
}

.hero-logo {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
}

.hero-couple {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 16px;
}

.date {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 3px;
}

.band {
  position: relative;
  padding: 26px 28px;
  text-align: center;
}

.band-pink {
  background: var(--pink);
  color: #fff;
}

.band-pink h2,
.band-pink p { color: #fff; }

.intro p { font-weight: 500; }

.location {
  background-color: #fff;
}

.location h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 3px;
}

.location img{
  width: 200px;
  height: auto;
  margin-bottom: 18px;
}
.location .address {
  font-size: 18px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  margin-top: 0;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  color: var(--pink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1.5px;
  line-height: 1;
  background: transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--pink);
  color: #fff;
}

.btn-light {
  color: #fff;
}

.btn-light:hover {
  background: #fff;
  color: var(--pink);
}

.program {
  position: relative;
  background: url("img/fiori-mirror.jpg") center top / 100% auto repeat-y;
  padding: 40px 0 20px 0;
}

.program > * {
  position: relative;
  z-index: 1;
}

.timeline {
  width: min(380px, 100%);
  margin: 8px auto 0;
}

.program .anelli {
  width: 90px;
  height: auto;
  margin-top: 8px;
}

.program .prog-icon {
  width: 105px;
  height: auto;
  margin-top: 8px;
  mix-blend-mode: multiply;
}

.program .arrow {
  width: 7px;
  height: auto;
}

.timeline-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-bottom: 10px;
}

.time {
  font-size: 14px;
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 2px;
  font-weight: 500;
}

.timeline-item .time .hour {
  font-size: 18 px;
  font-weight: 600;
  font-family: Baskerville, Georgia, serif;
}

.rsvp { padding-top: 60px; padding-bottom: 60px; }
.rsvp h2 { margin-bottom: 16px; }
.rsvp p { margin-bottom: 14px; }
.rsvp .rsvp-logo {
  width: 120px;
  height: auto;
  margin-bottom: 18px;
}

.dog-wrap {
  position: relative;
  z-index: 3;
  margin-top: -30px;
  text-align: center;
  pointer-events: none;
}

.dog-wrap img {
  width: 140px;
  height: auto;
}

.faq { padding-top: 24px; }
.faq h2 { margin-bottom: 32px; }

.accordion {
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: left;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 28px 9px 0;
  position: relative;
  font-family: Baskerville, 'Baskerville Old Face', Georgia, serif;
  font-weight: 600;
  font-size: 15px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
}

details[open] summary::after { content: '–'; }

details p {
  color: #E52862;
  padding: 0 26px 14px 0;
  font-size: 13px;
}

.faq,
.photo,
.dresscode {
  background: #fff;
}

.photo p,
.dresscode p,
.gift p {
  width: min(620px, 100%);
  margin-inline: auto;
}

.dresscode {
  padding: 80px 0;
}

.dresscode-img {
  display: block;
  width: min(280px, 70%);
  height: auto;
  margin: 24px auto 0;
}
.gift{
  background: url("img/fiori.jpg") center top / cover no-repeat;
  padding: 80px 0;
}

.photo .btn { margin-top: 18px; }

.names {
  margin-top: 24px;
  font-family: Baskerville, Georgia, serif;
  font-size: 17px;
}

.bank-details {
  margin-top: 18px;
  color: #2a2a2a;
}

.bank-details p {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.footer {
  padding: 1px 10px 18px 10px;
  text-align: center;

}

.footer p {
  font-family: 'Madelinette', Baskerville, Georgia, serif;
  font-size: 30px;
  margin: 30px 0 5px 0;
  line-height: 1;
}
.footer img {
  width: 70px;
  height: auto;
  margin-top: 18px;
}

@media (max-width: 560px) {
  .section { padding-left: 18px; padding-right: 18px; }
  .band { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: 360px; }
  .btn { width: min(330px, 100%); padding-inline: 14px; }
}