
@font-face {
    font-family: 'Saint-Amour-Script';
    src: url('../fonts/Saint-Amour-Script.woff2') format('woff2'),
         url('../fonts/Saint-Amour-Script.woff') format('woff'),
         url('../fonts/Saint-Amour-Script.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'PassionsConflictRUS';
    src: url('fonts/PassionsConflictRUS.woff2') format('woff2'),
         url('fonts/PassionsConflictRUS.woff') format('woff'),
         url('fonts/PassionsConflictRUS.ttf') format('truetype');
    font-display: swap;
}

:root{
  --bg:#e9e5df;
  --card:#ffffff;
  --text:#2c2c2c;
  --accent:#b8a98f;
  --calendar-bg: #ffffff; /* поменяешь тут — поменяется везде */
  --calendar-text: #3A2704;
}

*{margin:0;padding:0;box-sizing:border-box}

body{
  background:var(--bg);
  color:var(--text);
}

html, body {
  overflow-x: hidden;
}

/* ===== КОНТЕЙНЕР ===== */
.app{
  width:100%;
  max-width:800px;
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 40px rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.app.visible {
  opacity: 1;
}

/* ===== INTRO — КОНВЕРТ ===== */
.intro {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at center, #f5efe6 0%, #e8ddd0 60%, #d4c4b0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.intro.hiding {
  opacity: 0;
  pointer-events: none;
}

/* ── ОБЁРТКА ── */
.envelope-wrap {
  position: relative;
  width: min(560px, 88vw);
  /* Явная высота вместо aspect-ratio — надёжнее на мобильных */
  height: calc(min(560px, 88vw) * 0.65);
}

@media (min-width: 768px) {
  .envelope-wrap {
    width: min(720px, 72vw);
    height: calc(min(720px, 72vw) * 0.65);
  }
}

@media (min-width: 1200px) {
  .envelope-wrap {
    width: min(860px, 65vw);
    height: calc(min(860px, 65vw) * 0.65);
  }
}

/* ── КОНВЕРТ — занимает весь wrap ── */
.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.2));
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.envelope.fade-out {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

/* SVG занимает весь конверт */
.env-svg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* ── ПЕЧАТЬ — абсолютно по центру конверта ── */
.envelope__seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(52px, 10vw, 88px);
  height: clamp(52px, 10vw, 88px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4a96e, #8a5e28);
  border: 2px solid rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.4s ease;
}

.envelope__seal:hover,
.envelope:hover .envelope__seal:not(.hidden) {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.envelope__seal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.3);
}

/* ── КАРТОЧКА (изначально скрыта за конвертом) ── */
.envelope__card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;

  background: linear-gradient(160deg, #fdfaf6 0%, #f5ede0 100%);
  border: 1px solid rgba(180,155,120,0.4);
  border-radius: 6px;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 40px);
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);

  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Карточка появилась */
.envelope__card.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 20;
}

.envelope__card h1 {
  font-family: "Saint-Amour-Script", cursive;
  font-size: clamp(32px, 16vw, 122px);
  font-weight: 500;
  color: #3a2a1a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.envelope__card-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(9px, 1.4vw, 15px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a07840;
  margin-bottom: 20px;
}

.envelope__card button {
  padding: clamp(10px, 1.5vw, 16px) clamp(24px, 4vw, 48px);
  border: 1px solid #a07840;
  background: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.4vw, 15px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3a2a1a;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}

.envelope__card button:hover {
  background: #a07840;
  color: #fff;
}

/* Карточка на ПК — больше отступы */
@media (min-width: 768px) {
  .envelope__card {
    padding: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 44px);
  }
}

.envelope__seal span {
  font-family: 'Saint-Amour-Script', cursive;
  font-size: clamp(18px, 6vw, 32px);
  color: #fff;
  letter-spacing: 0.5px;
  pointer-events: none;
  user-select: none;
}
/* ===== СЕКЦИИ ===== */
.section {
  padding: 25px 25px;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s;
}

.sectionCalendar {
  padding: 5px 45px;
}

.section__title {
  font-size: clamp(40px, 6vw, 62px);
  font-weight: 100;
  line-height: clamp(40px, 10vw, 85px);
  letter-spacing: 2%;
  margin-bottom: 20px;
  margin-top: 20px;
}
.section__description {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 500;
  line-height: clamp(24px, 6vw, 44px);
  text-align: justify;
  text-indent: 25px;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOVE ===== */
.sectl {
  display: flex;
  flex-direction: column;
  justify-content: center; /* вертикальное центрирование */
  align-items: center;     /* горизонтальное центрирование */
  text-align:center;
  opacity:0;
  transform:translateY(60px);
  width: 100%;
  overflow: hidden;
  transition: all 1s ease;
}

.sectl.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOVE текст ===== */
.loveText {
  width: 90%; /* чуть меньше экрана, чтобы не было обрезки */
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 колонки */
  grid-template-rows: auto auto;  /* 2 строки */
  gap: 0.1em;
  aspect-ratio: 1 / 1;
}

.loveText .part {
  font-family: 'Playfair Display', serif;
  color:#3A2704;
  font-size: clamp(180px, 30vw, 500px); /* адаптивный размер */
  line-height: 1;
  letter-spacing: 0.1em; /* аккуратные пробелы между буквами */
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Анимация появления ===== */
.sectl.visible .loveText .part:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.sectl.visible .loveText .part:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.sectl.visible .loveText .part:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.sectl.visible .loveText .part:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}


/* ===== ТЕКСТ ===== */
h1,h2{font-family:'Playfair Display', serif; color:#3A2704}
h1{font-size:32px;margin-bottom:20px}
h2{font-size:24px;margin-bottom:15px}
p{font-size:15px;line-height:1.7;color:#3A2704; font-family: 'Playfair Display', serif;}

/* ===== PREMIUM IMAGE SYSTEM ===== */
.image{
  position:relative;
  width:100%;
  overflow:hidden;
}

.image img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  object-position:center 30%;
}

/* Hero — ограничиваем высоту на ПК чтобы не приближалось */
.image.hero img {
  object-position: center 25%;
}

/* затемнение */
.image::after::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
  z-index:1;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-align: center;
  z-index: 2;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-content__img-container {
  width: 100%;
  max-width: 100%;
  flex: 1;

  display: flex;
  justify-content: center;
  align-items: flex-start; /* 👈 ВОТ ЭТО ГЛАВНОЕ */

  overflow: hidden;
  padding: 0 8px;
}

.hero-content__img-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ===== ИМЕНА ===== */
.names{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 10px;
  gap:clamp(8px,4vw,40px);

  font-family:'PassionsConflictRUS', cursive;
  font-size:clamp(60px,12vw,160px);
}

.name{white-space:nowrap}

.divider{
  font-family:'Saint-Amour-Script', serif;
  font-size:0.8em;
}

/* ===== HERO TEXT ===== */
.bottom h1{
  font-size:clamp(28px,4vw,70px);
  color:#ffffff;
}

/* ===== FINAL TEXT ===== */

.final-overlay { position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,0.4); /* чуть темнее — лучше читается */ 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  align-items: center; 
  text-align: center; 
  color: #fff; }

.final-top{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  max-width:90%;
  margin:0 auto;
  text-align:center;
  padding: 60px 20px; 
}

.final-title{
  letter-spacing:2px;
  font-size:clamp(36px,6vw,90px);
}

.final-sub{
  font-size:clamp(14px,2vw,20px);
  color: #ffffff;
  opacity:0.9;
  letter-spacing:1px;
}

.final-bottom{
  font-family:'Saint-Amour-Script', serif;
  font-size:clamp(80px,15vw,220px);
  opacity:0.7;
}

/* ===== ДЕТАЛИ ===== */
.num{font-size:60px;font-family:'Playfair Display'; color:#3A2704}

.music-btn {
  position: fixed;
  bottom: calc(15px + env(safe-area-inset-bottom));
  right: calc(15px + env(safe-area-inset-right));
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
  z-index: 9999;
}

.calendar-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 50px;
  
}

.calendar {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  min-width: 0;
  box-sizing: border-box;
  font-family: "Playfair Display", serif;
  color: var(--calendar-text);
}

.calendar-title {
  text-align: center;
  font-size: clamp(40px, 6vw, 62px);
  margin-bottom: 25px;
  font-weight: 500;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.calendar-grid.header {
  font-size: clamp(22px, 6vw, 32px);
  margin-bottom: 10px;
  opacity: 0.9;
  font-weight: 600;
}
.calendar-grid.days div {
  font-size: clamp(26px, 6vw, 32px);
  padding: 6px 0;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.day {
  position: relative;
}
.day img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -35%) rotate(-30deg);

  width: clamp(40px, 10vw, 70px);
  height: clamp(40px, 10vw, 70px);

  object-fit: contain;
  pointer-events: none;
}

.mark {
  position: absolute;
  top: 63%;
  left: 50%;
  width: clamp(34px, 6vw, 54px);
  height: clamp(34px, 6vw, 54px);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/*НИЗ ОСНОВНОЙ*/
.bottom {
  font-family: "Playfair Display Local";
  color: #3A2704;
  padding-bottom: clamp(20px, 5vw, 50px);
}

.bottom__title,
.bottom__date {
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 700;
}

.bottom__title {
  letter-spacing: 0.15em;
  display: flex;
  justify-content: center;
}

.bottom__date {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: clamp(10px, 2vw, 25px);

  line-height: 1;
}

.bottom__date .line {
  width: 0.08em;
  height: 0.9em;
  background-color: #3A2704;
}

.one-love {
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s;
}

.one-love__bg {
  width: 100%;
  display: block;
  border-radius: 100px;
}

.one-love__text {
  position: absolute;
  top: -80px; /* уменьши, не -197 */
  left: 10px;
  width: calc(100% - 20px);
  height: auto;
}

.one-love.visible {
  opacity: 1;
  transform: translateY(0);
}

/*ТАЙМИНГ*/


.schedule {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #4b3214;
}

.schedule-title {
  position: relative;
  z-index: 10;
  font-family: "Montserrat";
  font-size: clamp(40px, 14vw, 100px);
  margin-bottom: 30px;
  font-weight: 300;
  font-style: italic;
}
.schedule-title-container {
  padding-top: 50px;
  position: relative;
  margin-bottom: 30px;
}
.schedule-title-sub {
  position: absolute;

  left: 70%;
  top: 100%; /* ключ: фиксированная зона внутри блока */

  transform: translate(-50%, -50%);

  font-size: clamp(60px, 14vw, 100px);
  font-family: "Mrs Saint Delafield";
  letter-spacing: 0.1em;
  color: rgba(172, 127, 94, 0.49);
  font-weight: 400;

  white-space: nowrap;
}

.schedule-item {
  margin-bottom: 30px;
}

.time {
  font-family: "Faberge";
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
}
.time::after {
  content: "";
  display: block;
  width: 100%;
  height: clamp(1px, 0.2vw, 1px);
  background: #3A2704;
  margin: 10px auto 0;
}

.desc {
  font-family: "Playfair Display Local";
  font-size: clamp(18px, 4vw, 30px);
  margin-top: 10px;
  line-height: 1.4;
  color: #3A2704;
  font-weight: 500;
  padding-inline: clamp(20px, 5vw, 40px);
}

/*ЛОКАЦИЯ*/
.location {
  padding-inline: clamp(20px, 6vw, 50px);
  padding-bottom: 35px;
  background-color: #EDE9E2;
  border-radius: 100px;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s;
}

.location-title {
  position: relative;
  z-index: 10;
  font-family: "Montserrat";
  font-size: clamp(40px, 14vw, 100px);
  margin-bottom: 30px;
  font-weight: 350;
  font-style: italic;
}
.location-title-container {
  padding-top: 30px;
  position: relative;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}
.location-title-sub {
  position: absolute;
  color: #4b3214;
  left: 70%;
  top: 100%; /* ключ: фиксированная зона внутри блока */

  transform: translate(-50%, -50%);

  font-size: clamp(60px, 14vw, 100px);
  font-family: "Mrs Saint Delafield";
  letter-spacing: 0.1em;
  color: rgba(172, 127, 94, 0.49);
  font-weight: 400;

  white-space: nowrap;
}

.location__sub-title {
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 600;
    line-height: clamp(40px, 10vw, 85px);
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 20px;
	width: 100%;
	font-family: "Faberge";
	color: #3A2704;
}

.location__description {
  font-family: "Playfair Display Local";
  color: #4b3214;
  text-align: justify;
  font-size: clamp(18px, 4.5vw, 32px);
  margin-bottom: 30px;
  font-weight: 500;
  text-indent: 25px;
}
.location__img {
  margin-bottom: 40px;
  width: 100%;
}
.location__btn {
  border: none;
  height: clamp(50px, 8vw, 100px);
  font-size: clamp(18px, 4.5vw, 32px);
  text-decoration: underline;
  text-transform: uppercase;
  background-color: #FEF7EB;
  padding-inline: clamp(30px, 14vw, 124px);
  border-radius: 100px;
  cursor: pointer;
}
.location__btn a {
  color: #3A2704;
}

.location.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-detail-img{
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s;
}
.detail-img{
	padding-top: 50px;
	width: 100%;
	transition: 1s;

	opacity: 0;
	transform: translateY(60px);
}
.detail {
  padding: 25px 25px;
  padding-inline: clamp(20px, 5vw, 40px);
}

.detail p {
  text-indent: 40px;
  font-size: clamp(18px, 4vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  text-align: justify;
}

.num {
  font-size: clamp(60px, 18vw, 160px);
  font-family: "Playfair Display";
  color: #3A2704;
  text-align: left;
  transform: none;
  line-height: clamp(60px, 16vw, 150px);
}

.section-detail-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.confirm__img{
	 width: calc(100% + 50px); 
	 margin-left: -25px; 
	 margin-right: -25px; 
	 display: block;
}

.confirm__text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 4vw, 30px);
  margin-top: 20px;
  color: #3A2704;
  font-weight: 540;
}

.confirm__date {
  border-bottom: 1px solid #3a2704;
}

.inform {
  padding-inline: clamp(20px, 6vw, 50px);
  padding-bottom: 35px;
  background-color: #EDE9E2;
  border-radius: 100px;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s;
}

.inform-title {
  position: relative;
  z-index: 10;
  font-size: clamp(40px, 6vw, 62px);
  line-height: clamp(40px, 10vw, 85px);
  letter-spacing: 2%;
  margin-bottom: 30px;
  font-weight: 100;
  padding-top: 20px;
}

.inform-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== INPUT + TEXTAREA ===== */
.inform-field input,
.inform-field textarea {
  width: 100%;
  padding: 14px 18px;

  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 3.5vw, 20px);
  color: #3A2704;

  background: #FEF7EB;
  border: 1px solid rgba(58, 39, 4, 0.2);
  border-radius: 30px;

  outline: none;
  transition: all 0.25s ease;

  box-sizing: border-box;
}

/* ===== HEIGHT TEXTAREA ===== */
.inform-field textarea {
  min-height: 120px;
  resize: none;
}

/* ===== HOVER ===== */
.inform-field input:hover,
.inform-field textarea:hover {
  border-color: rgba(58, 39, 4, 0.4);
  background: #fffaf2;
}

/* ===== FOCUS (самое важное) ===== */
.inform-field input:focus,
.inform-field textarea:focus {
  border-color: #b8a98f;
  box-shadow: 0 0 0 3px rgba(184, 169, 143, 0.25);
  background: #fff;
}

/* ===== PLACEHOLDER ===== */
.inform-field input::placeholder,
.inform-field textarea::placeholder {
  color: rgba(58, 39, 4, 0.5);
  font-size: 0.95em;
}


.inform.visible {
  opacity: 1;
  transform: translateY(0);
}

.radio-group{
	padding-bottom: 25px;
}

/* вопрос */
.radio-group p {
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 600;
  color: #3A2704;
  margin-bottom: 12px;
}

/* ряд */
.radio-row {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* label */
.check {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 4vw, 20px);
  color: #3A2704;
}

/* скрываем input */
.check input {
  display: none;
}

/* квадрат */
.check span {
  position: relative;
  padding-left: 34px;
  font-size: clamp(16px, 4vw, 30px);
}

/* box */
.check span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 20px;
  height: 20px;
  border: 2px solid #b8a98f;
  border-radius: 4px;
  background: #FEF7EB;
  transition: 0.2s;
}

/* галочка */
.check input:checked + span::after {
  content: "✓";
  position: absolute;

  left: 0;
  top: 0;

  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  color: #3A2704;
}
/* hover */
.check:hover span::before {
  border-color: #3A2704;
}

.timer-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 7vw, 36px);
  font-weight: 600;
  color: #3A2704;
  margin-bottom: 20px;
  text-align: center;
}

/* сам таймер */
/* контейнер */
.timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 30px;
}

/* карточка */
.timer-box {
  width: clamp(70px, 18vw, 120px);
  height: clamp(90px, 22vw, 140px);

  border: 1px solid rgba(58, 39, 4, 0.35);
  border-radius: 14px;

  background: #FEF7EB;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

/* цифры */
.timer-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 8vw, 62px);
  line-height: 1;

  color: #3A2704;
}

/* подпись */
.timer-label {
  margin-top: 10px;

  font-size: clamp(10px, 2vw, 14px);
  letter-spacing: 2px;

  color: rgba(58, 39, 4, 0.65);

  font-family: "Montserrat", sans-serif;
}

.timer-finish {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 6vw, 48px);
  color: #3A2704;
  text-align: center;
}

.wedding-text {
  display: flex;
  flex-direction: column;
  gap: 15px;

  margin-top: 20px;
}

.wedding-text p {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 500;
  line-height: clamp(24px, 6vw, 44px);
  color: #3A2704;
  text-align: justify;
  text-indent: 25px;
}


/* соц сети */

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;

  margin-top: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;

  background: #FEF7EB;
  border: 1px solid rgba(58,39,4,0.15);

  padding: 14px 26px;
  border-radius: 100px;

  color: #3A2704;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 3vw, 24px);

  transition: 0.3s;
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
}

.end_image{
  position:relative;
  width:100%;
  overflow:hidden;
}

.end_image img{
  width:100%;
  object-fit:cover;

  /* 🔥 чтобы лица не резались */
  object-position:center 30%;
}


html.lock-scroll,
body.lock-scroll {
  overflow: hidden;
}

/* ===== АДАПТИВ ===== */
@media (max-width:300px){
  .bottom h1{
    font-size:clamp(32px,6vw,60px);
  }
}

@media (min-width: 1200px) {
  .location {
    border-radius: 125px;
  }
}



@media (min-width: 1024px) {

  .check {
    font-size: 24px;
  }

  .check span {
    padding-left: 44px;
  }

  .check span::before {
    width: 28px;
    height: 28px;
  }

  .check input:checked + span::after {
    font-size: 22px;
    left: 6px;
    top: 50%;
    transform: translateY(-55%);
  }

}

@media (max-width: 1023px) {

  .check {
    font-size: 20px;
  }

  .check span {
    padding-left: 40px;
  }

  .check span::before {
    width: 24px;
    height: 24px;
  }

  .check input:checked + span::after {
    width: 26px;
    height: 26px;
    font-size: 18px;

    left: 0;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
  }
}