:root {
  --peach: #f3c3b6;
  --peach-deep: #eaa99d;
  --pink: #e0457b;
  --pink-soft: #f4a9c1;
  --purple: #5b3d8f;
  --purple-deep: #3f2470;
  --purple-text: #5a3d8c;
  --white: #ffffff;
  --muted: #a5809b;
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--purple-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .btn { font-family: "Fredoka", "Nunito", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid var(--pink);
  box-shadow: 0 10px 24px rgba(224, 69, 123, .35);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(224, 69, 123, .45); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, .85); box-shadow: none; text-transform: none; }
.btn--outline:hover { background: rgba(255, 255, 255, .15); box-shadow: none; }

/* Hero */
.hero {
  position: relative;
  background: var(--peach);
  overflow: hidden;
  padding-bottom: 140px;
}
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; }

.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 32px;
  max-width: 1200px; margin: 0 auto; padding: 24px 32px;
}
.nav__brand { background: var(--white); border-radius: 999px; padding: 6px 18px; box-shadow: 0 8px 20px rgba(234, 169, 157, .6); }
.nav__brand img { height: 48px; width: auto; }
.nav__links { margin-left: auto; display: flex; gap: 32px; font-weight: 700; font-size: .9rem; color: var(--white); }
.nav__links a { opacity: .9; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--purple);
  box-shadow: 0 8px 20px rgba(40, 15, 80, .3);
}
.nav__cta svg { width: 22px; height: 22px; }

.social {
  position: absolute; z-index: 2; left: 0; top: 280px;
  list-style: none;
  background: var(--peach-deep);
  border-radius: 0 40px 40px 0;
  padding: 18px 14px 18px 18px;
  display: flex; flex-direction: column; gap: 16px;
}
.social a { color: var(--white); display: block; width: 22px; height: 22px; transition: transform .2s; }
.social a:hover { transform: scale(1.15); }
.social svg { width: 100%; height: 100%; }

.hero__content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 60px 32px 0 110px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px;
}
.hero__eyebrow { color: var(--white); font-weight: 700; letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; opacity: .9; }
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: .95;
  color: var(--white);
  font-weight: 700;
  margin: 12px 0 18px;
  text-shadow: 0 6px 0 rgba(234, 169, 157, .6);
}
.hero__tag { color: var(--white); font-weight: 700; font-size: 1.15rem; max-width: 360px; }
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 36px; }

.hero__art { position: relative; }
.bar { width: 100%; max-width: 460px; margin-left: auto; filter: drop-shadow(0 30px 30px rgba(40, 15, 80, .35)); animation: float 6s ease-in-out infinite; }
.bubble {
  position: absolute; right: 4%; top: -30px; z-index: 1;
  background: var(--white); color: var(--purple-text);
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.1rem;
  padding: 18px 30px; border-radius: 50px;
  box-shadow: 0 10px 0 -2px rgba(255, 255, 255, .5);
}
.bubble i { position: absolute; background: var(--white); border-radius: 50%; }
.bubble i:nth-of-type(1) { width: 22px; height: 22px; left: 30%; bottom: -26px; }
.bubble i:nth-of-type(2) { width: 12px; height: 12px; left: 22%; bottom: -46px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Steps */
.steps {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 40px auto 0; padding: 0 32px;
}
.steps__intro { display: flex; align-items: center; gap: 24px; max-width: 520px; }
.mascot {
  width: 120px; height: 120px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--pink);
  box-shadow: 0 10px 30px rgba(234, 169, 157, .8);
}
.mascot svg { width: 52px; height: 52px; stroke-width: 1.75; }
.steps__intro p { font-family: "Fredoka", sans-serif; font-size: 1.6rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.quote { font-size: 2.6rem; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.steps__list {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 36px;
}
.steps__list li { display: flex; align-items: center; gap: 14px; color: var(--white); font-weight: 700; }
.steps__list li:nth-child(2) { transform: translateY(-40px); }
.steps__list li:nth-child(3) { transform: translateY(20px); }
.steps__num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--pink-soft);
  font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.2rem;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .35);
}

.cloud-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 140px; z-index: 1; }

/* Highlights */
.section { padding: 70px 32px 110px; text-align: center; }
.section h2, .schedule h2, .rsvp h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--purple-text); font-weight: 600; }
.section__sub { color: var(--muted); font-weight: 600; margin-top: 6px; }
.cards {
  max-width: 1100px; margin: 50px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px;
}
.card {
  background: #fdf1f3;
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(224, 69, 123, .15); }
.card__icon {
  width: 88px; height: 88px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(91, 61, 143, .12);
}
.card__icon svg { width: 38px; height: 38px; color: var(--purple); stroke-width: 1.75; }
.card:nth-child(2) .card__icon svg { color: var(--pink); }
.card h3 { font-size: 1.4rem; font-weight: 600; color: var(--purple-text); margin-bottom: 8px; }
.card p { color: var(--muted); }

/* Schedule */
.schedule {
  position: relative;
  background: linear-gradient(160deg, var(--purple), var(--purple-deep));
  padding: 180px 32px 110px;
}
.cloud-edge--top { top: -1px; bottom: auto; }
.schedule__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.schedule h2 { color: var(--white); margin-bottom: 40px; }
.schedule ul { list-style: none; display: grid; gap: 16px; }
.schedule li {
  display: flex; align-items: center; gap: 22px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: 12px 28px 12px 12px;
  color: var(--white); font-weight: 600; text-align: left;
}
.schedule time {
  background: var(--white); color: var(--purple);
  font-family: "Fredoka", sans-serif; font-weight: 600;
  border-radius: 999px; padding: 8px 18px;
}

/* RSVP */
.rsvp {
  background:
    radial-gradient(circle at 10% 80%, var(--pink-soft) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 20%, #f9c3d4 0 90px, transparent 91px),
    var(--peach);
  padding: 110px 32px;
}
.rsvp__card {
  max-width: 680px; margin: 0 auto;
  background: var(--white);
  border-radius: 40px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(91, 61, 143, .15);
}
.rsvp__card p { color: var(--muted); font-weight: 600; margin: 8px auto 0; max-width: 460px; }
.rsvp__form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.rsvp__form input, .rsvp__form select {
  flex: 1 1 200px; max-width: 260px;
  padding: 14px 24px; border-radius: 999px;
  border: 2px solid #f2dde3; font: inherit; color: var(--purple-text);
  outline: none;
}
.rsvp__form select { flex: 0 1 140px; background: var(--white); cursor: pointer; }
.rsvp__form input:focus, .rsvp__form select:focus { border-color: var(--pink-soft); }
.rsvp__errors { list-style: none; margin-top: 16px; color: var(--pink); font-weight: 700; }
.rsvp__thanks { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; font-family: "Fredoka", sans-serif; font-size: 1.3rem; color: var(--pink); }

/* Footer */
.footer { text-align: center; padding: 40px 32px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.footer img { height: 70px; width: auto; margin: 0 auto 8px; }

/* Floating button */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple); color: var(--white);
  box-shadow: 0 0 0 8px rgba(91, 61, 143, .2), 0 12px 24px rgba(40, 15, 80, .35);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; fill: currentColor; }

@media (max-width: 860px) {
  .nav { padding: 16px; gap: 16px; }
  .nav__brand img { height: 36px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .social { display: none; }
  .hero__scene { display: none; }
  .hero {
    background:
      radial-gradient(circle at 110% 30%, #7a55ad 0 180px, transparent 181px),
      radial-gradient(circle at 75% 18%, #6a4b9c 0 140px, transparent 141px),
      radial-gradient(circle at 100% -2%, #5b3d8f 0 200px, transparent 201px),
      radial-gradient(circle at -10% 92%, var(--pink-soft) 0 130px, transparent 131px),
      radial-gradient(circle at 105% 96%, #f9c3d4 0 110px, transparent 111px),
      var(--peach);
  }
  .hero__content { grid-template-columns: 1fr; padding: 24px 16px 0; text-align: center; }
  .hero__tag { margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .bar { margin: 20px auto 0; max-width: 340px; }
  .bubble { top: 0; right: 0; font-size: .95rem; padding: 12px 22px; }
  .steps { padding: 0 16px; }
  .steps__intro { flex-direction: column; text-align: center; margin: 0 auto; }
  .steps__intro p { font-size: 1.3rem; }
  .steps__list { grid-template-columns: 1fr; gap: 18px; }
  .steps__list li:nth-child(n) { transform: none; }
  .section, .rsvp { padding-left: 16px; padding-right: 16px; }
  .schedule { padding: 140px 16px 80px; }
  .rsvp__card { padding: 40px 20px; }
}
