@charset "UTF-8";
@font-face {
    font-family: "t7font", serif;
    src: url("TTLoveliesScript.eot");
    src: url("TTLoveliesScript.eot?#iefix") format("embedded-opentype"), url("TTLoveliesScript.woff") format("woff"), url("TTLoveliesScript.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 't7font';
    src: url('t7font.eot');
    src: local('t7fontt'), local('t7fontt'),
    url('t7font.eot?#iefix') format('embedded-opentype'),
    url('t7font.woff2') format('woff2'),
    url('t7font.woff') format('woff'),
    url('t7font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root{
  --color-1: #F4DCDE;
  --color-2: #A5DFDA;
  --text-color_1: #B57278;
  --text-color_2: #23201D;
  --btn-color_1: #F4DCDE;
  --btn-color_2: #B57278;
  --bg-color1: #FBF2F3;
}
:root .color2{
  --color-1: #F2D6FF;
  --color-2: #FFF6C9;
  --text-color_1: #7C37EC;
  --text-color_2: #23201D;
  --btn-color_1: #F2D6FF;
  --btn-color_2: #7C37EC;
  --bg-color1: #FFF6C9;
}
:root .color3{
  --color-1: #92B775;
  --color-2: #FCF2DD;
  --text-color_1: #155A19;
  --text-color_2: #23201D;
  --btn-color_1: #92B775;
  --btn-color_2: #155A19;
  --bg-color1: #FCF2DD;
}

.history > .svg-bg path,
.program > .svg-bg path,
.wishes > .svg-bg path,
.back path
{
  fill: var(--bg-color1);
}
.location > .svg-bg > path:nth-child(1),
.survey > .svg-bg:nth-child(1){
  fill: var(--color-1);
}
.svg-bg > path:nth-child(2),
.survey > .svg-bg:nth-child(2){
  stroke: var(--text-color_1);
}

.hero .container > svg rect{
  fill: var(--text-color_1);
}
.hero .container > svg{display: none;}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 400;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.container {
  max-width: 1218px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 450px) {
  .container {
    max-width: none;
    padding: 0 16px;
  }
}

body.lock {
  overflow: hidden;
}

body {
  font-family: 'SMTextsFont', sans-serif;;
  color: #23201D;
}

h1, h2, p {
  line-height: 120%;
}

h1 {
  font-family: 'SMHeadersFont', serif;
  font-size: 100px;
}
@media (max-width: 450px) {
  h1 {
    font-size: 40px;
  }
}

section:not(.hero):not(.plan-hero) h1::after {
  content: "";
  height: 64px;
  width: calc(50vw + 56px);
  background: var(--color-1);
  position: absolute;
  transform: translateY(75px);
  left: 45%;
  z-index: -1;
}

h2 {
  font-family: "t7font", serif;
  font-size: 70px;
}
@media (max-width: 450px) {
  h2 {
    font-size: 30px;
  }
}

p {
  font-family: 'SMTextsFont', sans-serif;;
  font-size: 20px;
}
@media (max-width: 450px) {
  p {
    font-size: 18px;
  }
}

.btn {
  background: var(--btn-color_1);
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px 7px 10px;
  justify-content: space-between;
  font-size: 20px;
  color: #23201D;
}
.btn svg {
  margin-left: 19px;
}
.btn svg circle{
  fill: var(--btn-color_2);
}
.btn:hover {
  background: var(--text-color_1);
  color: #fff;
}
.btn:hover svg circle {
  fill: var(--color-1);
}
.btn:hover svg path {
  fill: var(--text-color_1);
}

.wishes .btn{
  margin: 48px auto 0;
  width: fit-content;
  display: flex;
}

.hero {
  min-height: 1110px;
  margin-bottom: 236px;
  position: relative;
}
.hero .container {
  position: relative;
  padding-top: 323px;
}
.hero .container > svg {
  position: absolute;
  right: 0;
  bottom: -212px;
}
.hero .container::before {
  content: "";
  background: url("flower1.svg") no-repeat;
  width: 347px;
  height: 431px;
  position: absolute;
  right: 0;
  top: 20px;
}
.hero::before {
  content: "";
  width: 657px;
  height: 274px;
  background: url("light.svg") no-repeat;
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-55%);
}
.hero::after {
  content: "";
  width: 750px;
  height: 727px;
  background: url("flower2.svg") no-repeat;
  position: absolute;
  bottom: 0;
  left: calc((100vw - 1218px) / 2);
}

.plan-hero {
  min-height: 1110px;
  margin-bottom: 236px;
  position: relative;
}
.plan-hero .container {
  position: relative;
  padding-top: 323px;
}
.plan-hero .container > svg {
  position: absolute;
  right: 0;
  bottom: -212px;
}
.plan-hero .container::before {
  content: "";
  background: url("flower1.svg") no-repeat;
  width: 347px;
  height: 431px;
  position: absolute;
  right: 0;
  top: 20px;
}
.plan-hero::before {
  content: "";
  width: 657px;
  height: 274px;
  background: url("light.svg") no-repeat;
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-55%);
}
.plan-hero::after {
    content: "";
    width: 750px;
    height: 727px;
    background: url("flower2.svg") no-repeat;
    position: absolute;
    bottom: -200px;
    left: calc((100vw - 1218px) / 2 - 100px); 
    z-index: 1;
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__body > span {
  color: var(--text-color_1);
  font-family: "t7font", serif;
  font-size: 50px;
  line-height: normal;
  display: inline-block;
  margin-bottom: 15px;
}
.hero h1 span {
  color: var(--text-color_1);
  font-family: "t7font", serif;
  font-size: 50px;
  line-height: normal;
  margin-bottom: 44px;
}
.hero__date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 210px;
}
.hero__col:nth-child(1), .hero__col:nth-child(3) {
  color: var(--text-color_1);
font-family: 'SMHeadersFont', serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.7;
  border-top: 1px solid #23201D;
  border-bottom: 1px solid #23201D;
  width: 282px;
  display: flex;
  justify-content: center;
}
.hero__col:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform: translateY(40px);
}
.hero__col:nth-child(2) span:nth-child(1) {
  color: var(--text-color_1);
  font-family: "t7font", serif;
  font-size: 100px;
  margin-bottom: 40px;
}
.hero__col:nth-child(2) span:nth-child(2) {
font-family: 'SMHeadersFont', serif;
  font-size: 50px;
  line-height: normal;
  opacity: 0.7;
  margin-top: -30px;
}
.hero__col:nth-child(2)::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #656361;
  border-radius: 50%;
  position: absolute;
  top: 45px;
  left: -40px;
}
.hero__col:nth-child(2)::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #656361;
  border-radius: 50%;
  position: absolute;
  top: 45px;
  right: -40px;
}

@media (max-width: 450px) {
  .hero {
    min-height: 602px;
    margin-bottom: 130px;
  }
  .hero::before {
    width: 258px;
    background-size: contain;
    top: 40px;
    left: -34px;
    transform: translate(0);
  }
  .hero::after {
    left: 16px;
    width: 265px;
    height: 251px;
    background-size: cover;
  }
  .hero .container {
    padding-top: 258px;
  }
  .hero .container > svg {
    width: 35.001px;
    height: 30px;
    right: 16px;
  }
  .hero .container::before {
    width: 168px;
    height: 209px;
    background-size: cover;
    top: 26px;
    right: 16px;
  }
  .hero__body > span {
    font-size: 30px;
    max-width: 175px;
    text-align: center;
    position: absolute;
    left: 16px;
    top: 150px;
    line-height: 120%;
  }
  .hero h1 span {
    font-size: 30px;
  }
  .hero__date {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap:40px;
    padding: 0;
      width: fit-content;
  }
  .hero__col:nth-child(1), .hero__col:nth-child(3) {
    font-size: 20px;
    width: 72px;
  }
  .hero__col:nth-child(2) {
    transform: translateY(20px);
  }
  .hero__col:nth-child(2) span:nth-child(1) {
    font-size: 40px;
    margin-bottom: 0;
  }
  .hero__col:nth-child(2) span:nth-child(2) {
    font-size: 30px;
    margin-top: -10px;
  }
  .hero__col:nth-child(2)::after, .hero__col:nth-child(2)::before {
    width: 5px;
    height: 5px;
  }
  .hero__col:nth-child(2)::before {
    top: 14px;
    left: -7px;
  }
  .hero__col:nth-child(2)::after {
    top: 14px;
    right: -7px;
  }
}
.subhero {
  position: relative;
  margin-bottom: 360px;
}
.subhero::before {
  content: "";
  background: var(--color-1);
  width: 945px;
  height: 218px;
  position: absolute;
  top: 68px;
}
.subhero::after {
  content: "";
  width: 657px;
  height: 274px;
  background: url("light.svg") no-repeat;
  position: absolute;
  top: 120px;
  left: 288px;
  z-index: -1;
}
.subhero .container {
  position: relative;
}
.subhero .container::before {
  content: "";
  width: 238px;
  height: 465px;
  background: url("flower3.svg") no-repeat;
  position: absolute;
  top: -57px;
  left: 330px;
}
.subhero__item {
  width: 595px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
}

.subhero__item h2 {
  color: var(--text-color_1);
  margin-bottom: 35px;
  position: relative;
}
.subhero__item h2::after {
  content: "";
  width: 283px;
  height: 1px;
  background: #000;
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}
.subhero__item p {
  padding: 0 75px;
}

@media (max-width: 450px) {
  .subhero__item div{
    margin-top: 50px;
  }
  .subhero {
    margin-bottom: 30px;
  }
  .subhero .container::before {
    width: 93px;
    height: 182px;
    left: 52px;
    top: -80px;
    background-size: cover;
  }
  .subhero::before {
    width: 252px;
    height: 64px;
    top: 0;
  }
  .subhero::after {
    width: 252px;
    height: 86.001px;
    left: 16px;
    top: 10px;
    background-size: contain;
  }
  .subhero__item {
    width: auto;
  }
  .subhero__item h2 {
    margin-left: 145px;
    margin-top: 15px;
    margin-bottom: 0;
  }
  .subhero__item h2::after {
    display: none;
  }
  .subhero__item p {
    padding: 0 16px;
    /*left: 16px;*/
    /*top: 135px;*/
    /*position: absolute;*/
  }
    .subhero__item {
        position: relative;
    }
}
.cal {
  width: 500px;
}
.cal__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.cal__year {
  display: flex;
  align-items: center;
}
.cal__year span {
  font-family: 'SMHeadersFont', serif;
  font-size: 70px;
  text-transform: uppercase;
}
.cal__year svg {
  margin-left: 10px;
  margin-top: 15px;
}
.cal__month {
  display: flex;
  align-items: center;
}
.cal__month span {
font-family: 'SMHeadersFont', serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 120%; /* 48px */
  text-transform: uppercase;
  color: var(--text-color_1);
}
.cal__month svg {
  margin-left: 10px;
}
.cal__body {
  display: grid;
  -moz-column-gap: 40px;
  column-gap: 40px;
  row-gap: 30px;
  grid-template: auto/repeat(7, 1fr);
}
.cal__body:not(.cal__weekday) {
 font-family: 'SMTextsFont', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
}
.cal__body span.wedding {
  position: relative;
  color: var(--text-color_1);
  font-size: 50px;
  font-weight: 400;
  font-family: "t7font", serif;
}
.cal__body span.wedding::after {
  content: "";
  border: 1px solid var(--text-color_1);
  width: 48px;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -7px;
  position: absolute;
}
.cal__weekday {
  font-family: "t7font", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 120%; /* 36px */
  text-transform: uppercase;
}
.cal__weekday.weekend {
  color: #C52D14;
}

@media (max-width: 450px) {
  .cal {
    width: 358px;
  }
  .cal__heading {
    flex-direction: row;
  }
  .cal__year span, .cal__month span {
    font-size: 30px;
  }
  .cal__year svg, .cal__month svg {
    width: 16px;
    margin-top: 10px;
  }
  .cal__month svg {
    margin-top: -2px;
  }
  .cal__body {
    -moz-column-gap: 25px;
    column-gap: 25px;
  }
  .cal__body span {
    font-size: 20px;
  }
  .cal__body span.wedding {
    font-size: 40px;
  }
  .cal__body span.wedding::after {
    width: 38px;
    height: 1px;
  }
}
.date {
  margin-bottom: 410px;
}
.date h1 {
  transform: translateX(56px);
  text-align: right;
  padding-right: 65px;
  margin-bottom: 120px;
  color: var(--text-color_1);
}
.date h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translateY(56px);
}
.date h1 span p {
  font-family:inherit;
  font-size:inherit;
}
.date__body {
  display: flex;
  justify-content: space-between;
  padding: 0 75px 0 105px;
}
@media (max-width: 450px) {
  section.date h1 {
    padding-right: 0;
  }
  section.date h1 span {
    font-size: 30px;
    transform: translate(-62px, 23px) !important;
  }
  section.date h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(28px);
    left: 127px;
  }
  .date {
    margin-bottom: 233px;
  }
  .date h1 {
    margin-bottom: 50px;
  }
  .date__body {
    padding: 0;
    flex-direction: column-reverse;
    position: relative;
  }
  .date__body > img {
    transform: scale(1, -1) rotate(90deg);
    width: 106px;
    height: 175px;
    position: absolute;
    right: 37px;
    bottom: -140px;
  }
}
.location {
  position: relative;
  margin-bottom: 140px;
}
.location > .svg-bg {
  position: absolute;
  z-index: -1;
  top: -355px;
  left: -543px;
}
.location h1 {
  transform: translateX(56px);
  text-align: center;
  color: var(--text-color_1);
  margin-bottom: 130px;
}
.location__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 210px 0 105px;
  position: relative;
}
.location__body img {
  width: 490px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
}
.location__body::before {
  content: "";
  width: 208.001px;
  height: 488px;
  background: url("plant2.svg") no-repeat;
  position: absolute;
  left: 0;
}
.location__text p {
  padding: 20px 0 50px;
}
.location__label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 40px;
  font-family: "t7font", serif;
}

@media (max-width: 450px) {
  section.location h1 {
    padding-right: 0;
    transform: translate(0);
  }
  section.location h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(28px);
    left: 183px;
  }
  .location {
    margin-bottom: 70px;
  }
  .location h1 {
    margin-bottom: 30px;
  }
  .location > .svg-bg {
    width: 403.98px;
    height: 449.979px;
    left: -200px;
    top: 20px;
  }
  .location__body {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .location__body img {
    width: 358px;
  }
  .location__body::before {
    rotate: -30deg;
    width: 95px;
    height: 95px;
    background-size: contain;
    left: 10px;
  }
  .location__label {
    font-size: 30px;
    justify-content: center;
  }
  .location__text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .location__text p {
    padding: 16px 0 22px;
    text-align: center;
  }
}
.program {
  position: relative;
  margin-bottom: 222px;
}
.program > .svg-bg {
  position: absolute;
  z-index: -1;
  top: 330px;
  right: -440px;
}
.program h1 {
  text-align: right;
  margin-right: -56px;
  margin-bottom: 170px;
  color: var(--text-color_1);
  transform: translateX(56px);
}
.program h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translate(-100px, 56px) !important;
}
.program__body {
  display: flex;
  justify-content: space-between;
  padding-right: 25px;
  position: relative;
}
.program__body::after {
  content: "";
  background: url("flower4.svg") no-repeat;
  width: 177px;
  height: 232px;
  position: absolute;
  right: 0;
  transform: translateY(-65px);
}
.program__body ul {
  flex: 1 1;
}
.program__body ul li {
  display: flex;
  align-items: center;
  gap: 30px;
}
.program__body ul li:not(:last-child) {
  margin-bottom: 90px;
}
.program__body ul li span:nth-child(1) {
  font-family: "t7font", serif;
  font-size: 70px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  margin-top: -35px;
}
.program__body ul li span:nth-child(1)::before {
  content: "";
  width: 343px;
  height: 41px;
  background: var(--color-1);
  position: absolute;
  z-index: -1;
  left: 73px;
  top: 53px;
}
.program__body ul li span:nth-child(3) {
  color: var(--black_2, #23201D);
 font-family: 'SMTextsFont', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 24px */
}
.program__img-wrapp {
  width: 350px;
  height: 533px;
  position: relative;
}
.program__img-wrapp img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
}
.program__img-wrapp::before {
  content: "";
  border: 1px solid #000;
  height: 100%;
  width: 100%;
  position: absolute;
  left: -10px;
  top: -10px;
}
.program__img-wrapp::after {
  content: "";
  background: url("flower5.svg");
  width: 245px;
  height: 357.003px;
  position: absolute;
  left: -85px;
  bottom: -15px;
}

@media (max-width: 450px) {
  section.program h1 {
    padding-right: 0;
    margin-bottom: 75px;
  }
  section.program h1 span {
    font-size: 30px;
    transform: translate(-105px, 23px) !important;
  }
  section.program h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(28px);
    left: 127px;
  }
  .program {
    margin-bottom: 75px;
  }
  .program > .svg-bg {
    width: 590px;
    height: 649px;
    top: 300px;
    right: -261px;
  }
  .program__body {
    flex-direction: column;
    align-items: center;
    padding-right: 0;
    gap: 40px;
  }
  .program__body::after {
    width: 113px;
    height: 148px;
    background-size: cover;
    bottom: 350px;
  }
  .program__body ul {
    width: 100%;
  }
  .program__body ul li {
    gap: 10px;
  }
  .program__body ul li span:nth-child(1) {
    margin-top: -12px;
    font-size: 30px;
  }
  .program__body ul li span:nth-child(1)::before {
    width: 175px;
    height: 27px;
    left: 0;
    top: 20px;
  }
  .program__body ul li span:nth-child(3) {
    font-size: 18px;
    width: 122px;
  }
  .program__body ul li svg {
    width: 179px;
  }
  .program__body ul li:not(:last-child) {
    margin-bottom: 30px;
  }
  .program__img-wrapp {
    width: 338px;
    /*height: 124.626px;*/
  }
  .program__img-wrapp::before {
    left: 10px;
    top: 10px;
  }
  .program__img-wrapp::after {
    width: 114px;
    height: 166px;
    background-size: cover;
    left: -14px;
    bottom: -25px;
  }
}
.dress-code {
  margin-bottom: 140px;
}
.dress-code h1 {
  color: var(--text-color_1);
  text-align: center;
  margin-bottom: 130px;
  transform: translateX(56px);
}
.dress-code h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translate(-70px, 56px) !important;
}
.dress-code__subtitle {
  display: flex;
  gap: 75px;
}
.dress-code__subtitle p {
  max-width: 446px;
}
.dress-code__rect-wrapp {
  flex: 0 1 624px;
  position: relative;
}
.dress-code__rect-wrapp img:last-child {
  display: none;
}
.dress-code__rect-wrapp::after {
  content: "";
  background: url("feather.svg");
  position: absolute;
  width: 178.001px;
  height: 145px;
  left: 312px;
  top: 60px;
}

.dress-code__body {
  display: flex;
}
.dress-code__col {
  flex: 0 1 50%;
}
.dress-code__col:first-child {
  background: var(--color-1);
  padding: 102px 238px 220px 104px;
}
.dress-code__col:first-child svg {
  cursor: pointer;
  width: 74px;
  height: 74px;
}
.dress-code__col:first-child svg:hover circle {
  fill: var(--text-color_1);
}
.dress-code__col:first-child svg:hover path {
  fill: #fff;
}
.dress-code__col:last-child {
  padding: 322px 105px 0 210px;
  position: relative;
}
.dress-code__col:last-child svg {
  cursor: pointer;
  width: 74px;
  height: 74px;
}
.dress-code__col:last-child svg circle {
  fill: var(--btn-color_2);
}
.dress-code__col:last-child svg:hover path {
  fill: var(--text-color_1);
}
.dress-code__col:last-child svg:hover circle {
  fill: #fff;
}
.dress-code__col:last-child::after {
  content: "";
  background: url("light.svg") no-repeat;
  background-size: cover;
  width: 605px;
  height: 252px;
  position: absolute;
  top: 322px;
  left: -10px;
  z-index: -1;
}
.dress-code__footer {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dress-code__footer span {
  color: var(--text-color_1);
  text-align: center;
font-family: 'SMHeadersFont', serif;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  position: relative;
}
.dress-code__footer span::before {
  content: "";
  height: 145px;
  width: 1px;
  position: absolute;
  background: #23201D;
  left: 50%;
  top: -145px;
}
.dress-code__img-wrapp {
  width: 282px;
  height: 400px;
}
.dress-code__img-wrapp a {
  display: inline-block;
}
.dress-code__img-wrapp a:not(:first-child) {
  display: none;
}
.dress-code__img-wrapp img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 450px) {
  section.dress-code h1 {
    padding-right: 0;
    margin-bottom: 55px;
    transform: translateX(21px);
  }
  section.dress-code h1 span {
    font-size: 30px;
    transform: translate(-40px, 23px) !important;
  }
  section.dress-code h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(28px);
    left: 163px;
  }
  .dress-code {
    margin-bottom: 70px;
  }
  .dress-code__subtitle {
    flex-direction: column-reverse;
    gap: 23px;
  }
  .dress-code__rect-wrapp {
    flex: 0 1 95px;
  }
  .dress-code__rect-wrapp img {
    width: 100%;
  }
  .dress-code__rect-wrapp img:first-child {
    display: none;
  }
  .dress-code__rect-wrapp img:last-child {
    display: block;
  }
  .dress-code__rect-wrapp::after {
    width: 122.001px;
    height: 99px;
    background-size: cover;
    left: 181px;
    top: 40px;
  }
  .dress-code__body {
    flex-direction: column;
  }
  .dress-code__col:first-child {
    padding: 47px 61px 30px;
  }
  .dress-code__col:first-child svg {
    width: 46px;
    height: 46px;
  }
  .dress-code__col:last-child {
    padding: 20px 61px;
  }
  .dress-code__col:last-child::after {
    top: -90px;
    width: 438px;
    height: 149px;
    background-size: contain;
  }
  .dress-code__col:last-child svg {
    width: 46px;
    height: 46px;
  }
  .dress-code__img-wrapp {
    width: 100%;
    height: 304px;
  }
  .dress-code__img-wrapp img {
    -o-object-position: 0 20%;
    object-position: 0 20%;
  }
  .dress-code__footer {
    margin-top: 80px;
    gap: 15px;
  }
  .dress-code__footer span {
    font-size: 30px;
  }
  .dress-code__footer span::before {
    height: 98px;
    width: 2px;
    top: -98px;
  }
}
.countdown {
  margin-bottom: 290px;
}
.countdown h1 {
  margin-bottom: 150px;
  color: var(--text-color_1);
  text-align: center;
  transform: translateX(56px);
}
.countdown h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translate(-100px, 56px) !important;
}
.countdown__body {
  display: flex;
  justify-content: space-between;
  padding: 0 135px;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.countdown__item::before {
  content: "";
  width: 116px;
  height: 46px;
  background: #FBF2F3;
  position: absolute;
  z-index: -1;
}
.countdown__item:nth-child(1)::before {
  rotate: 90deg;
  top: 30px;
  right: -30px;
}
.countdown__item:nth-child(2)::before {
  right: -40px;
  top: -15px;
}
.countdown__item:nth-child(3)::before {
  right: -25px;
  top: -10px;
}
.countdown__item:nth-child(4)::before {
  rotate: 90deg;
  left: -25px;
  top: 25px;
}
.countdown__item:not(:last-child)::after {
  content: ":";
  color: var(--black_2, #23201D);
  text-align: center;
font-family: 'SMHeadersFont', serif;
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 120px */
  text-transform: uppercase;
  position: absolute;
  right: -110px;
  bottom: 0;
}
.countdown__text {
  color: var(--black_2, #23201D);
  font-family: "t7font", serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 70%; /* 28px */
}
.countdown .num {
  color: var(--black_2, #23201D);
  text-align: center;
font-family: 'SMHeadersFont', serif;
  font-size: 100px;
  line-height: 120%;
}

@media (max-width: 450px) {
  section.countdown h1 {
    transform: translate(0);
    padding-right: 0;
  }
  section.countdown h1 span {
    font-size: 30px;
    transform: translate(117px, -25px) !important;
  }
  section.countdown h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(-20px);
    left: 182px;
  }
  .countdown {
    margin-bottom: 60px;
  }
  .countdown h1 {
    margin-bottom: 20px;
  }
  .countdown__body {
    padding: 0;
  }
  .countdown__item {
    width: 46px;
  }
  .countdown__item::before {
    width: 58px;
    height: 22px;
  }
  .countdown__item:nth-child(1)::before {
    top: 9px;
    right: -22px;
  }
  .countdown__item:nth-child(2)::before {
    right: 11px;
    top: -10px;
  }
  .countdown__item:nth-child(4)::before {
    top: 10px;
  }
  .countdown__item:not(:last-child)::after {
    font-size: 50px;
    right: -33px;
  }
  .countdown__text {
    font-size: 20px;
  }
  .countdown .num {
    font-size: 50px;
  }
}
.wishes {
  margin-bottom: 140px;
  position: relative;
}
.wishes .container {
  position: relative;
}
.wishes .container img {
  position: absolute;
  top: -130px;
}
.wishes > .svg-bg {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.wishes h1 {
  color: var(--text-color_1);
  text-align: right;
  margin-right: -56px;
  margin-bottom: 145px;
  transform: translateX(56px);
}
.wishes h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translate(-100px, 56px) !important;
}
.wishes ul {
  display: flex;
  flex-direction: column;
  padding-left: 105px;
  gap: 100px;
}
.wishes ul li {
  display: flex;
  align-items: center;
  gap: 105px;
}
.wishes ul li span {
  color: var(--color-1);
  text-align: center;
  font-family: "t7font", serif;
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.wishes ul li p {
  max-width: 515px;
}
/*.wishes ul li:nth-child(even) {
  align-self: flex-end;
}*/

@media (max-width: 450px) {
  section.wishes h1 {
    transform: translateX(72px);
    padding-right: 0;
  }
  section.wishes h1 span {
    font-size: 30px;
    transform: translate(-115px, 18px) !important;
  }
  section.wishes h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(28px);
    left: 127px;
  }
  .wishes {
    margin-bottom: 70px;
  }
  .wishes h1 {
    margin-bottom: 55px;
  }
  .wishes .container img {
    width: 107px;
    height: 141px;
    top: -10px;
  }
  .wishes ul {
    padding-left: 0;
    gap: 20px;
  }
  .wishes ul li {
    gap: 12px;
  }
  .wishes ul li span {
    font-size: 50px;
  }
  .wishes > .svg-bg {
    width: 590px;
    height: 649px;
    top: -8px;
  }
}
.contact > .container {
  margin-bottom: 198px;
}
.contact h1 {
  text-align: center;
  margin-bottom: 130px;
  color: var(--text-color_1);
  transform: translateX(56px);
}
.contact h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translate(-100px, 56px) !important;
}
/* Основные стили */
.contact__body {
  padding-left: 105px;
  position: relative;
}

.contact__description {
  margin-bottom: 50px;
}

.contact__strip {
  position: absolute;
  left: 105px;
  right: 0;
  height: 60px;
  background: var(--color-1);
  z-index: -1;
  top: 62px;
}

.contact__columns {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.contact__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 15px;
}

.contact__name {
  margin-bottom: 20px;
}

.contact__name span {
  font-family: "t7font", serif;
  font-size: 40px;
  position: relative;
}

.btn {
  margin: 0 auto; /* Центрируем кнопку */
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
  .contact__body {
    padding-left: 20px;
  }
  
  .contact__strip {
    left: 20px;
    height: 50px;
    top: 110px;
  }
  
  .contact__columns {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact__col {
    margin-bottom: 20px;
  }
  
  .contact__name span {
    font-size: 30px;
  }
}
.photo-section {
  height: 337px;
  margin-bottom: 480px;
  background: var(--color-1);
}
.photo-section .container {
  position: relative;
}
.photo-section .img-wrapp {
  position: absolute;
}
.photo-section .img-wrapp:nth-child(1) {
  width: 386px;
  height: 384px;
  left: 315px;
  top: -124px;
}
.photo-section .img-wrapp:nth-child(1) img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
}
.photo-section .img-wrapp:nth-child(1)::after {
  content: "";
  border: 1px solid #23201D;
  width: 100%;
  height: 100%;
  position: absolute;
  left: -10px;
  top: 10px;
}
.photo-section .img-wrapp:nth-child(2) {
  width: 698px;
  height: 640px;
  right: 0;
  top: 36px;
}
.photo-section .img-wrapp:nth-child(2) img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.photo-section .img-wrapp:nth-child(2) img:last-child {
  position: absolute;
  width: 415.999px;
  height: 642.997px;
  left: -342px;
}

@media (max-width: 450px) {
  .photo-section {
    margin-bottom: 173px;
    height: 150px;
  }
  .photo-section .img-wrapp:nth-child(1) {
    width: 170px;
    height: 170px;
    left: 21px;
    top: -50px;
  }
  .photo-section .img-wrapp:nth-child(1)::after {
    top: 5px;
    left: -5px;
  }
  .photo-section .img-wrapp:nth-child(2) {
    width: 236px;
    height: 216px;
    right: 16px;
    top: 17px;
  }
  .photo-section .img-wrapp:nth-child(2) img:last-child {
    width: 114px;
    height: 176px;
    left: -60px;
    top: 60px;
  }
}

.footer {
  position: relative;
  padding-bottom: 56px;
}
.footer::after {
  content: "";
  width: 945px;
  height: 182px;
  background: var(--color-1);
  position: absolute;
  top: 115px;
  left: 0;
  z-index: -1;
}
.footer .back {
  position: absolute;
  right: -120px;
  top: -350px;
  z-index: -2;
  width: 985px;
  height: 1083px;
}
.footer__body {
  display: flex;
  flex-direction: column;
}
.footer__body span {
  color: var(--text-color_1);
  text-align: center;
  font-family: "t7font", serif;
  font-size: 70px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.footer__body > span {
  margin-top: -75px;
  margin-left: -90px;
}
.footer__body div {
  color: #000;
  text-align: center;
font-family: 'SMHeadersFont', serif;
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.footer__body div:has(svg) {
  padding-left: 165px;
  display: flex;
  align-items: center;
  gap: 90px;
}
.footer__body div span {
  margin: 0 30px;
}
.footer__body div:has(span) {
  align-self: flex-start;
  margin-top: -20px;
  margin-left: 105px;
}

@media (max-width: 450px) {
  .footer {
    padding-bottom: 74px;
  }
  .footer .back {
    width: 295px;
    height: 323px;
    -o-object-fit: cover;
    object-fit: cover;
    top: auto;
    bottom: -171px;
    right: -65px;
  }
  .footer::after {
    width: 252px;
    height: 64px;
    top: 44px;
  }
  .footer__body div:has(svg) {
    padding-left: 0;
    font-size: 40px;
    gap: 0;
  }
  .footer__body div:has(svg) svg {
    width: 21.999px;
    height: 78.004px;
  }
  .footer__body > span {
    font-size: 30px;
    margin: -20px 0;
    text-align: right;
    padding-right: 50px;
  }
  .footer__body div:has(span) {
    font-size: 40px;
    margin: 0;
  }
  .footer__body div:has(span) span {
    font-size: 30px;
    margin: 0 10px;
  }
}
.history {
  position: relative;
  margin-bottom: 273px;
}
.history::after {
  content: "";
  width: 953px;
  height: 41px;
  bottom: 150px;
  left: 50%;
  z-index: -1;
  position: absolute;
  background: var(--color-1);
}
.history > .svg-bg {
  position: absolute;
  top: 374px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
.history .container > p, .history .container > p > *, [data-text="MAIN_GALLERY_ITEMS_TITLE"]
{
  font-family: "t7font", serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 593px;
  margin-left: auto;
  position: relative;
}
.history .container > p::before, [data-text="MAIN_GALLERY_ITEMS_TITLE"]:before {
  content: "“";
  color: var(--text-color_1);
  font-family: "t7font", serif;
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: absolute;
  left: -44px;
  top: -60px;
}
.history .container > p::after, [data-text="MAIN_GALLERY_ITEMS_TITLE"]:after {
  content: "”";
  color: var(--text-color_1);
  font-family: "t7font", serif;
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: absolute;
  top: 80%;
}
.history h1 {
  transform: translateX(56px);
  text-align: center;
  padding-right: 65px;
  margin-bottom: 90px;
  color: var(--text-color_1);
}
.history h1 span {
  font-family: "t7font", serif;
  font-size: 70px;
  color: #23201D;
  display: inline-block;
  transform: translate(-124px, 56px) !important;
}
.history__body {
  display: flex;
  justify-content: space-between;
  padding-left: 105px;
  margin-bottom: 270px;
}
.history__body p {
  width: 490px;
}
.history__img-wrapp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 7px solid var(--text-color_1);
  padding: 30px 50px 30px;
  transform: rotate(9.876deg) translate(-33px, 48px);
  gap: 20px;
}
.history__img-wrapp img {
  width: 386px;
  height: 334px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 3px solid var(--text-color_1);
}
.history__img-wrapp span {
  font-family: "t7font", serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.history__img-wrapp::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  transform: rotate(-9.876deg);
  right: -60px;
  bottom: -120px;
}
.history__img-wrapp::after {
  content: "";
  background: url("svg2.svg");
  width: 180px;
  height: 250px;
  position: absolute;
  transform: rotate(-9.876deg);
  right: -60px;
  bottom: -120px;
}
.history__img-wrapper {
  height: 884px;
  position: relative;
}
.history__img-wrapper a {
  display: inline-block;
}
.history__img-wrapper a {
  position: absolute;
}
.history__img-wrapper a img {
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  border-radius: 30px;
}
.history__img-wrapper a:nth-child(1) {
  width: 490px;
  height: 572px;
  left: 0;
  top: 0;
}
.history__img-wrapper a:nth-child(2) {
  width: 386px;
  height: 312px;
  bottom: 75px;
  left: 105px;
  z-index: 2;
}
.history__img-wrapper a:nth-child(3) {
  width: 277px;
  height: 370px;
  right: 50%;
  top: 160px;
  z-index: 1;
}
.history__img-wrapper a:nth-child(3) img {
  border: 14px solid var(--color-1);
  box-shadow: 3px 4px 20px 0px rgba(0, 0, 0, 0.25);
}
.history__img-wrapper a:nth-child(4) {
  width: 178px;
  height: 278px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 130px;
}
.history__img-wrapper a:nth-child(5) {
  width: 170px;
  height: 242px;
  right: 89px;
  top: -14px;
  z-index: 1;
}
.history__img-wrapper a:nth-child(5) img {
  border: 14px solid var(--color-1);
  box-shadow: 3px 4px 20px 0px rgba(0, 0, 0, 0.25);
}
.history__img-wrapper a:nth-child(6) {
  width: 413px;
  height: 572px;
  right: 75px;
  top: 121px;
}
.history__img-wrapper a:nth-child(7) {
  width: 277px;
  height: 370px;
  right: 0;
  bottom: 0;
}
.history__img-wrapper a:nth-child(8) {
  width: 139px;
  height: 203px;
  bottom: -5px;
  right: 315px;
}

@media (max-width: 450px) {
  section.history h1 {
    padding-right: 0;
  }
  section.history h1 span {
    font-size: 30px;
    transform: translate(-62px, 23px) !important;
  }
  section.history h1::after {
    width: 191px;
    height: 24px;
    transform: translateY(28px);
    left: 127px;
  }
  .history {
    margin-bottom: 114px;
  }
  .history::after {
    width: 282px;
    height: 24px;
    bottom: 80px;
    left: 110px;
  }
  .history h1 {
    margin-bottom: 40px;
  }
  .history > .svg-bg {
    width: 1166px;
    height: 1584px;
    top: 580px;
  }
  .history .container > p, [data-text="MAIN_GALLERY_ITEMS_TITLE"] {
    font-size: 20px;
    width: 95%;
    margin: 0 auto;
  }
  .history .container > p::before, [data-text="MAIN_GALLERY_ITEMS_TITLE"]:before {
    font-size: 70px;
    left: -15px;
  }
  .history .container > p::after, [data-text="MAIN_GALLERY_ITEMS_TITLE"]:after  {
    font-size: 70px;
    right: 0;
  }
  .history__body {
    padding: 0;
    flex-direction: column-reverse;
    margin-bottom: 30px;
  }
  .history__body div:has(p) {
    margin-top: 86px;
  }
  .history__body div:has(p) p {
    width: 100%;
  }
  .history__img-wrapp {
    width: 305px;
    height: 305px;
    justify-content: space-between;
    gap: 0;
    transform: rotate(4.937deg) translateX(30px);
    padding: 10px 10px 5px;
    border-width: 5px;
  }
  .history__img-wrapp img {
    width: 265px;
    height: 232px;
    border-width: 2px;
  }
  .history__img-wrapp span {
    font-size: 20px;
  }
  .history__img-wrapp svg {
    width: 113.998px;
    height: 174px;
    bottom: -60px;
    right: -40px;
  }
  .history__img-wrapper {
    height: 692px;
    margin-bottom: 65px;
  }
  .history__img-wrapper a img {
    border-radius: 20px;
  }
  .history__img-wrapper a:nth-child(1) {
    width: 175px;
    height: 212px;
  }
  .history__img-wrapper a:nth-child(2) {
    width: 297px;
    height: 214px;
    top: 242px;
    left: 0;
    z-index: 1;
  }
  .history__img-wrapper a:nth-child(3) {
    width: 151px;
    height: 188px;
    top: 70px;
    left: 150px;
  }
  .history__img-wrapper a:nth-child(3) img {
    border-width: 12px;
  }
  .history__img-wrapper a:nth-child(4) {
    width: 114px;
    height: 147px;
    right: 0;
    left: auto;
    transform: translate(0);
    top: 220px;
    z-index: 2;
  }
  .history__img-wrapper a:nth-child(5) {
    width: 98px;
    height: 131px;
    left: 0;
    top: 464px;
  }
  .history__img-wrapper a:nth-child(5) img {
    border-width: 12px;
  }
  .history__img-wrapper a:nth-child(6) {
    width: 175px;
    height: 212px;
    right: auto;
    left: 50%;
    top: 480px;
    z-index: 2;
    transform: translate(-50%);
  }
  .history__img-wrapper a:nth-child(7) {
    width: 151px;
    height: 188px;
    z-index: 1;
    bottom: 163px;
  }
  .history__img-wrapper a:nth-child(7) img {
    box-shadow: 3px 4px 20px 0px rgba(0, 0, 0, 0.25);
    border: 12px solid var(--color-1);
  }
  .history__img-wrapper a:nth-child(8) {
    width: 61px;
    height: 88.999px;
    right: 70px;
    bottom: -80px;
  }
}
.overlay {
  /* Скрываем подложку  */
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
  transition: 0.3s all;
}

[data-wday] {
  text-transform: capitalize;
}
[data-text="DRESSCODE_COLORS"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  min-width: 624px;
  gap:20px;
}

[data-text="DRESSCODE_COLORS"] .sm_colors {
  width: 416px;
  height: 60px;
  border-radius: 20px;

}

[data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(2) {
  width: 178px;
  height: 60px;

}

[data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(3) {
  width: 312px;
  height: 60px;

}

[data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(4) {
  width: 178px;
  height: 60px;
  border-radius: 20px;

}

[data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(5) {
  height: 60px;

}

[data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(6) {
  width: 104px;
  height: 60px;
  border-radius: 20px;

}

[data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(7) {
  width: 490px;
  height: 60px;

}
i[data-text]{font-style: inherit;}
[data-text="DRESSCODE_COLORS"] .sm_colors > div {width:100%;height:100%;}
[data-text="STORY_TEXT"] p ~ p {margin-top:20px;}

@media (max-width: 400px) {
  [data-text="DRESSCODE_COLORS"] .sm_colors{
    height: 33px !important;
    width: 236px;
  }
  [data-text="DRESSCODE_COLORS"]{
    min-width: 0;
    gap: 5px;
  }

  [data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(2) {
    width: 114px;
  }

  [data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(3) {
    width: 53px;
  }

  [data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(4) {
    width: 236px;
  }

  [data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(5) {
    width: 53px;
  }

  [data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(6) {
    width: 236px;
  }

  [data-text="DRESSCODE_COLORS"] .sm_colors:nth-child(7) {
    width: 53px;
    display: none;
  }
  .dress-code__rect-wrapp{
    flex: none;
  }
}


.mob-btn {
    display: none;
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 99;
}

@media (max-width: 500px) {
    .mob-btn {
        display: block;
    }
    .button {
        font-weight: 100;
        font-size: 18px;
        min-height: 54px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color:var(--btn-color_1);
        font-family: "SMTextsFont", sens-serif, sans-serif;
        color: #23201D;
    }

    .wishes h1 {
        transform:none !important;
        margin-right:0;
        line-height:30px;
    }

    section.wishes h1::after {
        transform:translateY(0);
    }
}

.wishes h1:after {z-index: 1 !important;}
.wishes h1 i {position:relative;z-index: 2;}
.wishes h1 span {position:relative;z-index: 2;}

[data-jsscroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-jsscroll].jsScroll__scrolled {
    opacity: 1;
    transform: translateY(0);
}

.seating-plan {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
}

.table:nth-child(1), .table:nth-child(3) {
    background: var(--bg-color1);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.table:nth-child(2), .table:nth-child(4) {
    background: var(--bg-color1);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.table:nth-child(5) {
    background: var(--bg-color1);
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    grid-column: 2
}

.table:hover {
    transform: translateY(-5px);
}

.table::before {
    content: "";
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--text-color_1);
}

.table-header {
  font-size: inherit;
  font-weight: 400;
  line-height: 120%;
  font-family: 'SMHeadersFont', serif;
  font-size: 70px;
  color: var(--text-color_1);
  text-align: center;
  margin-bottom: 15px;
  padding: 10px;
  background: var(--color-1);
  border-radius: 8px;
}

@media (max-width: 450px) {
  .table-header {
    font-size: 40px;
  }
}

.guest-list {
    list-style: none;
}

.guest-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 20px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
}

.guest-list li:last-child {
    border-bottom: none;
}

.contact {
  position: relative;
  z-index: 10;
}

.contact__body {
  position: relative;
  z-index: 11;
}

.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.contact__row {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(244, 220, 222, 0.15) 0%, rgba(181, 114, 120, 0.1) 100%);
  border-radius: 20px;
  border: 2px solid rgba(181, 114, 120, 0.2);
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(181, 114, 120, 0.1);
}

.contact__row:hover {
  background: linear-gradient(135deg, rgba(244, 220, 222, 0.25) 0%, rgba(181, 114, 120, 0.15) 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(181, 114, 120, 0.2);
  border-color: rgba(181, 114, 120, 0.3);
}

.contact__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 30px;
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

contact__row:hover .contact__photo img {
  transform: scale(1.05);
}

.contact__info {
  flex-grow: 1;
  padding-right: 30px;
}

.contact__name {
  font-family: 'Cormorant', serif;
  font-size: 2em;
  font-weight: 700;
  color: #B57278;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.contact__role {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2em;
  color: #7D4F54;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.contact__social {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F4DCDE 0%, #B57278 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(181, 114, 120, 0.3);
}

.social-icon:hover {
  transform: scale(1.15) translateY(-3px);
  box-shadow: 0 8px 20px rgba(181, 114, 120, 0.4);
  background: linear-gradient(135deg, #B57278 0%, #F4DCDE 100%);
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .contact__row {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .contact__photo {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .contact__info {
    margin-bottom: 15px;
  }
  
  .contact__social {
    justify-content: center;
  }
}