/*
Art direction: wedding invitation landing → pastel romantic scrapbook aesthetic.
Palette: light pistachio background + dusty pink lines and text.
Typography: Hero font for large titles, soft sans fallback for body copy.
Density: narrow mobile-first layout with many decorative PNG overlays.
*/

@font-face {
  font-family: 'Hero';
  src: url('../fonts/Hero.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg-main: #F9FFBF;
  --bg-page: #F9FFBF;
  --pink: #FF73AD;
  --pink-deep: #cd7393;
  --pink-soft: #e7b8c8;
  --pink-line: rgba(215, 139, 164, 0.85);
  --pink-shadow: rgba(215, 139, 164, 0.32);
  --text: #FF73AD;
  --container-width: 430px;
  --radius-xl: 36px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page-template-template-wedding {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: 'Hero', 'Trebuchet MS', 'Verdana', sans-serif;
}

body.page-template-template-wedding.admin-bar .wedding-shell {
  padding-top: 32px;
}

/* начало меню */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 248, 207, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 134, 174, 0.18);
}

.header-inner {
    width: min(100% - 24px, 1100px);
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--pink-dark);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 999px;
    background: rgba(217, 134, 174, 0.08);
    color: var(--pink-dark);
}
/* Конец меню */


.wedding-page {
  min-height: 100vh;
}

.wedding-shell {
  display: flex;
  justify-content: center;
  padding: 10px 0 40px;
}

.wedding-container {
  width: min(100%, var(--container-width));
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 16px 40px rgba(0, 0, 0, 0.34);
}

.section-inner {
  position: relative;
  z-index: 2;
}

.invite-section {
  position: relative;
  padding: 20px 20px;
  text-align: center;
}

.invite-section h1,
.invite-section h2,
.invite-section h3,
.hero-kicker,
.hero-subtitle {
  font-family: 'Hero', 'Trebuchet MS', sans-serif;
  font-weight: 400;
  color: var(--pink);
}

.invite-section h2 {
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1.06;
  margin: 0 0 22px;
  letter-spacing: 0.02em;
}

.invite-section h3 {
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.12;
  margin: 0 0 18px;
}

.invite-section p,
.invite-section li,
.invite-section a,
.invite-section label,
.invite-section input,
.invite-section select,
.invite-section textarea,
.calendar-weekdays span,
.calendar-grid span {
  font-size: clamp(17px, 4.2vw, 21px);
  line-height: 1.42;
  color: var(--text);
}

.section-text {
  max-width: 320px;
  margin: 0 auto 24px;
}

.hero-section {
  padding-top: 0;
  overflow: hidden;
}

.top-ribbon-marquee {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  background: #e684aa;
  color: #f6d7e5;
  font-size: 16px;
  line-height: 1;
  padding: 8px 12px;
  justify-content: center;
}

.hero-decor-line {
  position: absolute;
  top: 18px;
  left: -40px;
  right: -20px;
  z-index: 1;
  opacity: 0.9;
}

.hero-decor-line img {
  width: calc(100% + 80px);
}

.hero-inner {
  padding-top: 52px;
}

.hero-kicker {
  font-size: 54px;
  margin: 0;
  transform: rotate(-9deg);
}

.hero-subtitle {
  font-size: 24px;
  margin: -8px 0 26px;
  transform: rotate(-9deg);
}

.hero-kids-frame,
.hero-couple-photo,
.dress-look-image,
.guests-photo-wrap,
.dress-palette-card {
  position: relative;
  z-index: 2;
}

.hero-kids-frame img,
.hero-couple-photo img,
.dress-look-image img,
.guests-photo-wrap img,
.dress-palette-card img,
.footer-table-illustration,
.footer-candle,
.footer-bows,
.date-illustration,
.timeline-icon,
.wish-icon {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-kids-frame {
  width: 85%;
  margin: 0 auto 30px;
}

.hero-couple-title-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 6px;
}

.hero-title-arc {
  margin: 0;
  font-size: 58px;
  line-height: 1;
  display: inline-block;
  transform: rotate(-8deg);
}

.hero-couple-photo {
  width: 92%;
  margin: -80px 0 0 0;
}

.decor-item {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-sparkles-left { left: 20px; top: 300px; width: 62px; }
.hero-sparkles-right { right: 22px; top: 270px; width: 78px; }

.section-wave-top::before,
.section-wave-bottom::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 28px;
  background-repeat: repeat-x;
  background-size: auto 28px;
  z-index: 3;
  pointer-events: none;
}

.section-wave-top::before {
  top: 0;
  background-image: url('../images/decor/decor-wave-top.png');
}

.section-wave-bottom::after {
  bottom: 0;
  background-image: url('../images/decor/decor-wave-bottom.png');
}

.calendar-block {
  margin: 10px auto 26px;
  max-width: 350px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 4px;
  align-items: center;
}

.calendar-weekdays {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(215, 139, 164, 0.55);
}

.calendar-weekdays span,
.calendar-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.calendar-grid .empty {
  opacity: 0;
}

.calendar-grid .day {
  opacity: 0.86;
}

.calendar-grid .is-accent {
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  font-weight: 500;
  line-height: 1;
  color: var(--pink);
  background: none;
  border: none;
  box-shadow: none;
  z-index: 1;
}

.calendar-grid .is-accent::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -55%);
  background: url('../images/decor/calendar-flower-highlight_1.png') center center / contain no-repeat;
  pointer-events: none;
  z-index: -1;
}

.calendar-grid .is-accent::after {
  display: none;
  content: none;
}

.date-illustrations {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  margin-top: -10px;
}

.date-illustration-left { width: 150px; }
.date-illustration-right { width: 160px; transform: translateY(-10px)  }

.timeline-inner {
  padding-bottom: 5px;
}

.timeline-track {
  position: relative;
  min-height: 780px;
  margin-top: 10px;
}

.timeline-main-line {
  position: absolute;
  left: 47%;
  top: 48px;
  transform: translateX(-50%);
  width: 170px;
  max-width: none;
}

.timeline-item {
  position: absolute;
  width: 48%;
}

.timeline-item-left { left: 0; }
.timeline-item-right { right: 0; }

.timeline-item .timeline-icon {
  margin: 0 auto 10px;
}

.timeline-item-left .timeline-copy,
.timeline-item-left .timeline-icon { text-align: left; }
.timeline-item-right .timeline-copy,
.timeline-item-right .timeline-icon { text-align: right; }

.timeline-copy p {
  margin: 0;
}

.timeline-copy strong {
  font-weight: 400;
  color: var(--pink);
}

.item-1 { top: 62px; }
.item-1 .timeline-icon { width: 82px; margin-left: 8px; }
.item-2 { top: 220px; }
.item-2 .timeline-icon { width: 88px; margin-right: 10px; }
.item-3 { top: 430px; }
.item-3 .timeline-icon { width: 106px; margin-left: 6px; }
.item-4 { top: 650px; }
.item-4 .timeline-icon { width: 108px; margin-right: 0; }

.dress-palette-card {
  max-width: 275px;
  margin: 18px auto 30px;
}

.dress-subsection + .dress-subsection {
  margin-top: 42px;
}

.women-look {
  max-width: 310px;
  margin: 22px auto;
}

.men-look {
  max-width: 310px;
  margin: 22px auto;
}

.guests-photo-wrap {
  max-width: 330px;
  margin: 26px auto 0;
}

.wishes-inner {
  padding-inline: 18px;
}

.wishes-inner p {
  max-width: 320px;
  margin: 0 auto 20px;
}

.wish-icon {
  position: absolute;
  z-index: 1;
}

.wish-icon-left { left: 24px; bottom: 76px; width: 54px; }
.wish-icon-right-top { right: 18px; top: 110px; width: 70px; }
.wish-icon-right-bottom { right: 30px; bottom: 58px; width: 80px; }

.rsvp-form-box {
  margin-top: 24px;
  padding: 24px 16px;
  border: 2px solid rgba(215, 139, 164, 0.45);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.rsvp-form-box p {
  margin: 0 0 14px;
}

.rsvp-form-box input,
.rsvp-form-box select,
.rsvp-form-box textarea {
  width: 100%;
  border: 2px solid rgba(215, 139, 164, 0.6);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--pink-deep);
  padding: 14px 16px;
  outline: none;
}

.rsvp-form-box textarea {
  min-height: 120px;
  resize: vertical;
}

.rsvp-form-box input::placeholder,
.rsvp-form-box textarea::placeholder {
  color: rgba(205, 115, 147, 0.72);
}

.rsvp-form-box .wpcf7-submit,
.rsvp-form-box button,
.rsvp-form-box input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: var(--pink);
  color: #fff4f8;
  cursor: pointer;
  box-shadow: 0 10px 24px var(--pink-shadow);
}

.rsvp-note {
  margin-top: 18px;
  font-size: 16px !important;
  opacity: 0.92;
}

.contacts-inner p {
  max-width: 325px;
  margin: 0 auto 18px;
}

.contact-link-wrap {
  margin-top: 24px;
}

.contact-link-wrap a {
  color: var(--pink-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(215, 139, 164, 0.45);
  padding-bottom: 2px;
}

.contact-small {
  margin-top: 12px !important;
  font-size: 16px !important;
}

.footer-section {
  padding-top: 34px;
  padding-bottom: 44px;
}

.footer-bows-wrap {
  margin: 0 auto 18px;
  max-width: 330px;
}

.footer-inner h2 {
  margin-bottom: 30px;
}

.footer-table-wrap {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
}

.footer-table-illustration {
  width: 100%;
}

.footer-candle {
  position: absolute;
  width: 54px;
  bottom: 42px;
}

.footer-candle-left { left: -34px; }
.footer-candle-right { right: -34px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 430px) {
  .invite-section {
    padding: 20px 18px;
  }

  .hero-kicker { font-size: 46px; }
  .hero-subtitle { font-size: 21px; }
  .hero-title-arc { font-size: 50px; }
  .timeline-track { min-height: 780px; }
  .timeline-main-line { width: 150px; }
  .item-4 { top: 630px; }
}

@media (max-width: 360px) {
  .top-ribbon-marquee { font-size: 14px; gap: 10px; }
  .invite-section h2 { font-size: 32px; }
  .invite-section p,
  .invite-section li,
  .invite-section a,
  .invite-section label,
  .invite-section input,
  .invite-section select,
  .invite-section textarea,
  .calendar-weekdays span,
  .calendar-grid span { font-size: 16px; }
  .hero-kicker { font-size: 40px; }
  .hero-title-arc { font-size: 44px; }
  .timeline-track { min-height: 760px; }
  .timeline-main-line { width: 132px; }
  .item-2 { top: 204px; }
  .item-3 { top: 404px; }
  .item-4 { top: 598px; }
}
/* ===== HOTFIX: hero alignment ===== */


.hero-section-rebuild {
  padding: 0 0 16px;
  overflow: hidden;
}

.hero-section-rebuild::before,
.hero-section-rebuild::after,
.hero-section-rebuild .section-wave-top::before,
.hero-section-rebuild .section-wave-bottom::after,
.hero-section-rebuild .hero-decor-line,
.hero-section-rebuild .hero-sparkles-left,
.hero-section-rebuild .hero-sparkles-right,
.hero-section-rebuild .hero-copy,
.hero-section-rebuild .hero-couple-title-wrap {
  display: none !important;
}

.hero-rebuild-inner {
  position: relative;
  padding: 18px 18px 0;
}

.top-ribbon-marquee {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
  padding: 7px 10px;
  background: #e789ab;
  color: #ffe6ee;
  font-size: 12px;
  line-height: 1;
}

.top-ribbon-marquee span {
  flex: 0 0 auto;
}

.hero-top-wave {
  position: relative;
  z-index: 1;
  margin-top: 6px;
}

.hero-top-wave img {
  display: block;
  width: 118%;
  max-width: none;
  margin-left: -9%;
  margin-top: -130px;
  margin-bottom: -130px;
  opacity: 0.96;
}

.hero-title-block {
  text-align: center;
  margin-top: 2px;
}

.hero-title-main {
  margin: 0;
  color: var(--pink);
  font-size: 39px;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title-sub {
  margin: 4px 0 0;
  color: var(--pink);
  font-size: 14px;
  line-height: 1.08;
}

.hero-kids-wrap {
  position: relative;
  width: 100%;
  max-width: 266px;
  margin: 8px auto 0;
}

.hero-kids-photo {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.hero-chat {
  position: absolute;
  width: 75px;
  opacity: 0.9;
  z-index: 1;
  margin: -130px -30px 0 -25px
}

.hero-chat-left {
  left: 30px;
  top: 5px;
  transform: scaleX(1);
}

.hero-chat-right {
  right: -12px;
  top: 48px;
}

.hero-kids-line {
  position: absolute;
  width: 30px;
  z-index: 3;
}

.hero-kids-line-left {
  left: 18px;
  bottom: -4px;
}

.hero-kids-line-right {
  right: 18px;
  bottom: -4px;
}

.hero-middle-decor {
  position: relative;
  height: 270px;
  margin-top: 2px;
}

.hero-middle-line {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  max-width: none;
}

.hero-middle-bow,
.hero-middle-sparkle,
.hero-middle-flower {
  position: absolute;
}

.hero-middle-bow-top {
  top: 6px;
  left: 50%;
  width: 34px;
  transform: translateX(-50%);
}

.hero-middle-bow-center {
  top: 114px;
  left: 50%;
  width: 34px;
  transform: translateX(-50%);
}

.hero-middle-bow-bottom {
  bottom: 14px;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
}

.hero-middle-sparkle-left {
  left: 22px;
  top: 88px;
  width: 46px;
  opacity: 0.85;
}

.hero-middle-sparkle-right {
  right: 28px;
  bottom: 34px;
  width: 16px;
  opacity: 0.9;
}

.hero-middle-flower-left {
  left: 60px;
  bottom: 36px;
  width: 34px;
  opacity: 0.95;
}

.hero-middle-flower-right {
  right: 10px;
  top: 100px;
  width: 54px;
  opacity: 0.95;
}

.hero-bottom-title-row {
  position: relative;
  margin-top: -6px;
  text-align: center;
}

.hero-rays {
  position: absolute;
  left: 18px;
  top: 10px;
  width: 36px;
  height: 26px;
}

.hero-rays::before,
.hero-rays::after,
.hero-rays {
  background: none;
}

.hero-rays::before,
.hero-rays::after {
  content: '';
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--pink);
  border-radius: 999px;
  transform-origin: left center;
  opacity: 0.72;
}

.hero-rays::before {
  top: 6px;
  transform: rotate(-24deg);
}

.hero-rays::after {
  top: 16px;
  transform: rotate(18deg);
}

.hero-bottom-title {
  margin: 0;
  color: var(--pink);
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-couple-wrap {
  max-width: 250px;
  margin: 8px auto 0;
}

.hero-couple-wrap .hero-couple-photo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bottom-wave {
  position: relative;
  margin-top: 2px;
}

.hero-bottom-wave img {
  display: block;
  width: 118%;
  max-width: none;
  margin-left: -9%;
  margin-top: 10px
}

@media (min-width: 390px) {
  .hero-title-main {
    font-size: 48px;
  }

  .hero-title-sub {
    font-size: 17px;
  }

  .hero-kids-wrap {
    max-width: 305px;
  }

  .hero-middle-decor {
    height: 318px;
  }

  .hero-middle-line {
    width: 260px;
  }

  .hero-middle-bow-top {
    width: 40px;
    top: 8px;
  }

  .hero-middle-bow-center {
    width: 40px;
    top: 150px;
  }

  .hero-middle-bow-bottom {
    width: 34px;
    bottom: 20px;
  }

  .hero-middle-sparkle-left {
    left: 28px;
    top: 112px;
    width: 58px;
  }

  .hero-middle-sparkle-right {
    right: 34px;
    bottom: 44px;
    width: 18px;
  }

  .hero-middle-flower-left {
    left: 74px;
    bottom: 52px;
    width: 42px;
  }

  .hero-middle-flower-right {
    right: 20px;
    top: 96px;
    width: 70px;
  }

  .hero-bottom-title {
    font-size: 55px;
  }

  .hero-couple-wrap {
    max-width: 310px;
    margin-top: 12px;
  }

  .hero-rays {
    left: 24px;
    top: 16px;
  }
}



/* Текст аркой */

.hero-title-arc-block {
  width: 100%;
  max-width: 460px;
  margin: 0 auto -8px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-title-arc-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-arc-text {
  fill: var(--pink);
  font-family: 'Hero', 'Trebuchet MS', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-arc-text-top {
  font-size: 50px;
}

.hero-arc-text-bottom {
  font-size: 26px;
}

@media (max-width: 430px) {
  .hero-title-arc-block {
    max-width: 360px;
    margin-bottom: -4px;
  }

  .hero-arc-text-top {
    font-size: 38px;
  }

  .hero-arc-text-bottom {
    font-size: 20px;
  }
}

@media (max-width: 360px) {
  .hero-title-arc-block {
    max-width: 320px;
  }

  .hero-arc-text-top {
    font-size: 32px;
  }

  .hero-arc-text-bottom {
    font-size: 17px;
  }
}

/* Бегущая строка */

.invite-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #FF73AD;
  padding: 6px 0 7px;
  z-index: 5;
}

.invite-marquee-track {
  display: flex;
  width: max-content;
  gap: 26px;
  white-space: nowrap;
  animation: inviteMarquee 18s linear infinite;
}

.invite-marquee-track span {
  flex: 0 0 auto;
  color: #F9FFBF;
  font-family: 'Hero', 'Trebuchet MS', sans-serif;
  font-size: 20px;
  line-height: 1;
}

@keyframes inviteMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Новый тайминг стиль */

.timeline-track {
  position: relative;
  margin-top: 10px;
  padding: 20px 0 30px;
}

.timeline-main-line {
  position: absolute;
  left: 47%;
  top: 20px;
  transform: translateX(-50%);
  width: 160px;
  max-width: none;
  z-index: 1;
}

.timeline-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  min-height: 140px;
}

.timeline-row.is-left .timeline-media {
  justify-self: start;
  text-align: left;
}

.timeline-row.is-left .timeline-text {
  justify-self: end;
  text-align: left;
  max-width: 150px;
}

.timeline-row.is-right .timeline-text {
  justify-self: start;
  text-align: right;
  max-width: 150px;
}

.timeline-row.is-right .timeline-media {
  justify-self: end;
  text-align: right;
}

.timeline-media img {
  display: block;
  height: auto;
  max-width: 100%;
}

.timeline-text p {
  margin: 0;
  color: var(--pink);
  font-size: 18px;
  line-height: 1.35;
}

.timeline-text strong {
  font-weight: 400;
  color: var(--pink);
}

/* Block forma*/

.wedding-rsvp-form {
  width: 100%;
}

.wedding-rsvp-form .form-row {
  margin: 0 0 16px;
}

.wedding-rsvp-form label {
  display: block;
  text-align: left;
  color: var(--pink);
  font-size: 18px;
  line-height: 1.3;
}

.wedding-rsvp-form input[type="text"],
.wedding-rsvp-form select,
.wedding-rsvp-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 2px solid rgba(215, 139, 164, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--pink-deep);
  font-family: 'Hero', 'Trebuchet MS', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  box-shadow: none;
  outline: none;
}

.wedding-rsvp-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wedding-rsvp-form input::placeholder,
.wedding-rsvp-form textarea::placeholder {
  color: rgba(205, 115, 147, 0.75);
}

.wedding-rsvp-form input[type="text"]:focus,
.wedding-rsvp-form select:focus,
.wedding-rsvp-form textarea:focus {
  border-color: var(--pink);
}

.wedding-rsvp-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: var(--pink);
  color: #fff4f8;
  font-family: 'Hero', 'Trebuchet MS', sans-serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(215, 139, 164, 0.28);
}

.wedding-rsvp-form .wpcf7-spinner {
  margin-left: 10px;
}

.wedding-rsvp-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #c85d84;
  font-size: 14px;
}

.wedding-rsvp-form .wpcf7-response-output {
  margin: 14px 0 0 !important;
  border: 2px solid rgba(215, 139, 164, 0.45) !important;
  border-radius: 16px;
  color: var(--pink-deep);
  font-size: 16px;
  line-height: 1.35;
}

/* footer*/

.final-arch {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
}

.final-arch-img {
  display: block;
  width: 100%;
  height: auto;
}

.final-arch-text {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 78%;
  text-align: center;
  color: var(--pink);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 500;
  z-index: 2;
}

/* Пожелание */

.wishes-note {
  position: relative;
  padding: 10px 0 8px;
}

.wishes-note__inner {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 20px 20px;
  min-height: 460px;
}

.wishes-note__text {
  margin: 0;
  color: #f27fb0;
  font-family: "Hero", "Trebuchet MS", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 34px;
  line-height: 1.34;
  text-align: left;
  position: relative;
  z-index: 2;
}

.wishes-note__text--first {
  max-width: 790px;
}

.wishes-note__text--second {
  margin-top: 56px;
  max-width: 760px;
}

.wishes-note__decor {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.wishes-note__decor--flower-top {
  width: 34px;
  top: 100px;
  left: 20px;
}

.wishes-note__decor--spark-top {
  width: 42px;
  top: 50px;
  right: 20px;
}

.wishes-note__decor--envelopes {
  width: 70px;
  top: 150px;
  right: -15px;
}

.wishes-note__decor--glass-left {
  width: 130px;
  left: 30px;
  bottom: 50px;
}

.wishes-note__decor--cheers-right {
  width: 150px;
  right: 25px;
  bottom: 80px;
}

.wishes-note__decor--flower-bottom {
  width: 40px;
  left: 18px;
  bottom: 8px;
}

.wishes-note__decor--spark-bottom {
  width: 34px;
  left: 8px;
  bottom: 92px;
}

@media (max-width: 480px) {
  .wishes-note__inner {
    padding: 0 18px 115px;
    min-height: auto;
  }

  .wishes-note__text {
    font-size: 23px;
    line-height: 1.33;
  }

  .wishes-note__text--second {
    margin-top: 38px;
  }

  .wishes-note__decor--flower-top {
    width: 25px;
    top: 65px;
    left: 10px;
  }

  .wishes-note__decor--spark-top {
    width: 30px;
    top: 0px;
    right: 15px;
  }

  .wishes-note__decor--envelopes {
    width: 70px;
    top: 100px;
    right: -15px;
  }

  .wishes-note__decor--glass-left {
    width: 120px;
    left: 40px;
    bottom: 8px;
  }

  .wishes-note__decor--cheers-right {
    width: 150px;
    right: 12px;
    bottom: 26px;
  }

  .wishes-note__decor--flower-bottom {
    width: 28px;
    left: 6px;
    bottom: 4px;
  }

  .wishes-note__decor--spark-bottom {
    width: 24px;
    left: 0;
    bottom: 78px;
  }
}