/* =============================================
   WEDDING SITE — Дмитрий & Анна 09.06.2026
   Шрифт: Caveat (Google Fonts)
   ============================================= */

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

:root {
  --clr-bg:       #f5efff;
  --clr-purple:   #6b3fc0;
  --clr-purple-l: #9b7ec8;
  --clr-orange:   #ff8f2a;
  --clr-green:    #3a6e1a;
  --clr-green-l:  #7aaa4a;
  --clr-yellow:   #d4e84a;
  --clr-pink:     #f7c5e8;
  --ff: 'Caveat', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background: var(--clr-bg);
  color: #333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── SHARED ── */
.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 0;
  position: relative;
  overflow: hidden;
  background: var(--clr-bg);
}

.hero-blob-yellow {
  position: absolute;
  top: 60px; right: 15px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--clr-yellow);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-pink {
  position: absolute;
  bottom: 100px; left: 10px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--clr-pink);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hw-pre {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 6vw, 36px);
  color: var(--clr-purple-l);
  text-align: center;
  margin-bottom: 2px;
  font-weight: 500;
}

.hw-title {
  position: relative;
  z-index: 1;
  font-size: clamp(54px, 16vw, 82px);
  font-weight: 700;
  color: var(--clr-purple);
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  margin-bottom: 2px;
}

.hw-date {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 600;
  color: var(--clr-purple);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-align: center;
}

.heart-wrap {
  position: relative;
  z-index: 1;
  width: 112%;
  max-width: 540px;
  aspect-ratio: 540 / 480;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.heart-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Замените .photo-box на img после добавления фото */
.photo-box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: 62%;
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(145deg, #dfc8f5 0%, #c9aeec 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Когда добавите фото: */
/* .heart-wrap img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: 62%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
} */

.photo-hint {
  font-size: 15px;
  color: #8a60c2;
  opacity: 0.75;
}

.bottom-pill {
  position: relative;
  z-index: 1;
  background: var(--clr-orange);
  border-radius: 999px;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pill-text {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.dear-text {
  position: relative;
  z-index: 1;
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 600;
  color: var(--clr-orange);
  text-align: center;
  line-height: 1.25;
  margin-top: 48px;
  margin-bottom: 28px;
  padding: 0 16px;
}

/* =============================================
   INVITE
   ============================================= */
.invite {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
}

.invite-blob-purple {
  position: absolute;
  top: 30px; right: 15px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--clr-purple-l);
  opacity: 0.35;
  pointer-events: none;
}

.invite-blob-yellow {
  position: absolute;
  bottom: 20px; left: 20px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--clr-yellow);
  opacity: 0.4;
  pointer-events: none;
}

.blob-wrap {
  position: relative;
  width: 112%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.blob-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.blob-text {
  position: relative;
  z-index: 1;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.55;
  padding: 44px 64px 48px 58px;
  max-width: 420px;
}

/* =============================================
   PLACE
   ============================================= */
.place {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 80px;
  position: relative;
  overflow: hidden;
}

.place-blob-pink {
  position: absolute;
  top: 40px; left: 15px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--clr-pink);
  opacity: 0.4;
  pointer-events: none;
}

.place-blob-green {
  position: absolute;
  bottom: 30px; right: 20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--clr-green-l);
  opacity: 0.35;
  pointer-events: none;
}

.place-card-wrap {
  position: relative;
  width: 108%;
  max-width: 520px;
  min-height: 300px;
}

.card-shape-bg {
  width: 100%;
  display: block;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}

.card-shape {
  width: 100%;
  display: block;
  position: relative;
  z-index: 3;
}

.place-card-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.card-photo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px 18px 10px;
  z-index: 2;
}

/* Когда добавите фото места:
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: path("..."); /* путь совпадает с верхней зоной SVG
} */

.card-venue-name {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 1px 5px rgba(0,0,0,0.22);
  z-index: 1;
}

.card-venue-name span {
  font-size: 22px;
  font-weight: 400;
  display: block;
  opacity: 0.85;
  letter-spacing: 0.1em;
}

.card-photo-icon { opacity: 0.28; }

.card-info {
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  z-index: 1;
}

.card-info-text { display: flex; flex-direction: column; }

.card-mesto {
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 700;
  color: var(--clr-green);
  line-height: 1;
  margin-top: 0;
}

.card-addr {
  font-size: 15px;
  font-weight: 500;
  color: #5a8a30;
  line-height: 1.3;
  margin-top: -5px;
}

.card-addr-sub { font-size: 12px; color: #8aaa6a; }

.card-circle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--clr-yellow);
  flex-shrink: 0;
  opacity: 0.8;
  margin-top: 0;
}

.card-btn {
  display: block;
  width: 50%;
  margin: 0 auto;
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: #fff;
  border-radius: 999px;
  padding: 8px 28px;
  font-family: var(--ff);
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 600;
  color: var(--clr-orange);
  text-align: center;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.card-btn:hover { opacity: 0.88; }
.card-btn:active { transform: translateX(-50%) scale(0.95); }

/* =============================================
   TIMING
   ============================================= */
.timing {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 80px;
  position: relative;
  overflow: hidden;
}

.pink-dot {
  position: absolute;
  bottom: 24px; left: 6%;
  width: 90px; height: 70px;
  border-radius: 50%;
  background: var(--clr-pink);
  opacity: 0.55;
  pointer-events: none;
}

.timing-wrap {
  position: relative;
  width: 112%;
  max-width: 560px;
}

.timing-bg { width: 100%; display: block; }

.timing-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px 6% 20px 7%;
}

.timing-title {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 700;
  color: #fff;
  text-align: right;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  padding-right: calc(5% + 65px);
}

.timing-row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  flex: 1;
  overflow: visible;
  min-height: 0;
}

.timing-left {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  text-align: left;
  z-index: 2;
  padding-right: 12%;
  padding-left: 20px;
}

.timing-item {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.timing-time {
  font-weight: 900;
}

/* Замените .timing-photo на img после добавления фото */
.timing-photo {
  width: 70%;
  flex-shrink: 0;
  align-self: flex-start;
  border-radius: 14px;
  margin-top: -100px;
  margin-left: -30px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* =============================================
   WISHES
   ============================================= */
.wishes {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 24px 80px;
  position: relative;
  overflow: hidden;
}

.yellow-blob {
  position: absolute;
  right: -40px; top: 40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--clr-yellow);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.purple-blob {
  position: absolute;
  left: -30px; bottom: 60px;
  width: 130px; height: 100px;
  border-radius: 50% 60% 50% 60%;
  background: #c4a0eb;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.wishes-title {
  position: relative;
  z-index: 1;
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 700;
  color: var(--clr-green);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.wishes-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.wishes-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wish-heading {
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 700;
  color: var(--clr-green);
  line-height: 1;
  margin-bottom: 8px;
}

.wish-text {
  font-size: clamp(20px, 3.5vw, 17px);
  font-weight: 400;
  color: #555;
  line-height: 1.5;
}

.fund-link {
  color: var(--clr-purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--clr-purple-l);
  text-underline-offset: 2px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.fund-link:hover {
  color: var(--clr-orange);
  text-decoration-color: var(--clr-orange);
}

.wishes-right {
  width: 52%;
  flex-shrink: 0;
  padding-top: 4px;
}

.wishes-photo-wrap {
  width: 100%;
  position: relative;
}

.wishes-shape { width: 100%; display: block; }

.wishes-photo-inner {
  position: absolute;
  top: 8%; left: 8%;
  width: 84%; height: 84%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Когда добавите фото:
.wishes-right img {
  width: 100%;
  aspect-ratio: 180 / 290;
  object-fit: cover;
  clip-path: path("...");
} */

/* =============================================
   DRESSCODE
   ============================================= */
.dc {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
}

.dc-blob-orange {
  position: absolute;
  top: 20px; left: 10px;
  width: 120px; height: 110px;
  border-radius: 50% 60% 55% 50%;
  background: var(--clr-orange);
  opacity: 0.55;
  pointer-events: none;
}

.dc-blob-green {
  position: absolute;
  bottom: 40px; right: 20px;
  width: 100px; height: 100px;
  border-radius: 55% 45% 50% 60%;
  background: var(--clr-green-l);
  opacity: 0.45;
  pointer-events: none;
}

.dc-title {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 700;
  color: var(--clr-purple-l);
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.dc-intro {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 500;
  color: #555;
  text-align: center;
  line-height: 1.5;
  max-width: 340px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.dc-palette {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.dc-heart { width: 44px; height: 40px; flex-shrink: 0; }

.dc-men {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 500;
  color: #555;
  text-align: center;
  line-height: 1.6;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

/* =============================================
   RSVP
   ============================================= */
.rsvp {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 80px;
  position: relative;
  overflow: hidden;
}

.rsvp-blob-yellow {
  position: absolute;
  top: -20px; right: -30px;
  width: 130px; height: 120px;
  border-radius: 50%;
  background: var(--clr-yellow);
  opacity: 0.5;
  pointer-events: none;
}

.rsvp-card-wrap {
  position: relative;
  width: 112%;
  max-width: 540px;
  margin-bottom: 36px;
}

.rsvp-bg { width: 100%; display: block; }

.rsvp-card-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 10%;
}

.rsvp-title {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1;
}

.rsvp-sub {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-align: center;
}

.rsvp-sub strong { font-weight: 700; color: #fff; }

.rsvp-btn {
  display: inline-block;
  margin-top: 4px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 28px;
  font-family: var(--ff);
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 600;
  color: var(--clr-orange);
  text-align: center;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.rsvp-btn:hover { opacity: 0.9; }
.rsvp-btn:active { transform: scale(0.93); }

.goodbye {
  font-size: clamp(48px, 14vw, 72px);
  font-weight: 700;
  color: var(--clr-orange);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-top: 52px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.rsvp-blob-bottom {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 80px;
  border-radius: 50%;
  background: var(--clr-yellow);
  opacity: 0.45;
  pointer-events: none;
}

/* =============================================
   COUPLE PHOTO
   ============================================= */
.couple-photo-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 24px 60px;
  position: relative;
  overflow: hidden;
}

.couple-pink {
  position: absolute;
  left: -30px; top: 40px;
  width: 110px; height: 90px;
  border-radius: 50% 55% 50% 60%;
  background: var(--clr-pink);
  opacity: 0.5;
  pointer-events: none;
}

.couple-yellow {
  position: absolute;
  right: -20px; bottom: 50px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--clr-yellow);
  opacity: 0.4;
  pointer-events: none;
}

.couple-photo-blob {
  position: relative;
  width: 112%;
  max-width: 540px;
}

.couple-shape { width: 100%; display: block; }

/* Замените .couple-photo-inner на img после добавления фото */
.couple-photo-inner {
  position: absolute;
  top: 6%; left: 6%;
  width: 88%; height: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Когда добавите фото:
.couple-photo-blob img {
  position: absolute;
  top: 6%; left: 6%;
  width: 88%; height: 88%;
  object-fit: cover;
  border-radius: 50%;
} */

.couple-photo-label {
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 600;
  color: var(--clr-purple-l);
  opacity: 0.7;
  text-align: center;
}

/* =============================================
   CONTACTS
   ============================================= */
.contacts {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 88px;
  position: relative;
  overflow: hidden;
}

.contacts-blob-purple {
  position: absolute;
  left: -30px;
  top: 12px;
  width: 116px;
  height: 104px;
  border-radius: 48% 58% 42% 62%;
  background: #c4a0eb;
  opacity: 0.36;
  pointer-events: none;
}

.contacts-blob-yellow {
  position: absolute;
  right: -34px;
  bottom: 12px;
  width: 128px;
  height: 112px;
  border-radius: 58% 42% 62% 46%;
  background: var(--clr-yellow);
  opacity: 0.36;
  pointer-events: none;
}

.contacts-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  min-height: 340px;
  padding: 44px 16px 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.contacts-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #f8e473 0%, #f6dc67 100%);
  clip-path: path("M 28 26 C 56 8, 122 16, 176 10 C 236 4, 320 2, 344 30 C 366 56, 354 112, 350 150 C 346 188, 364 234, 344 262 C 326 288, 290 300, 250 310 C 214 318, 170 322, 140 320 C 104 318, 60 310, 30 290 C 2 270, 10 220, 12 174 C 14 126, 2 68, 18 38 C 22 32, 20 30, 28 26 Z");
  box-shadow: 0 10px 28px rgba(248, 228, 115, 0.24);
  pointer-events: none;
  z-index: -2;
}

.contacts-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(255,255,255,0.34);
  clip-path: path("M 30 30 C 56 16, 118 20, 170 14 C 226 8, 302 10, 322 34 C 342 58, 334 108, 330 144 C 326 182, 342 226, 326 250 C 310 274, 276 288, 238 296 C 204 304, 164 306, 136 304 C 102 302, 64 294, 40 278 C 18 262, 22 216, 24 172 C 26 126, 18 74, 30 44 C 32 38, 28 34, 30 30 Z");
  pointer-events: none;
  z-index: -1;
}

.contacts-made {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 700;
  color: var(--clr-purple);
  line-height: 1.05;
  margin-bottom: 8px;
}

.contacts-text {
  position: relative;
  z-index: 1;
  font-size: clamp(17px, 4.5vw, 22px);
  font-weight: 500;
  color: #6b5b2d;
  line-height: 1.35;
  margin-bottom: 10px;
}

.contacts-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.contacts-link {
  display: inline-block;
  background: rgba(255,255,255,0.82);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 600;
  color: var(--clr-purple);
  text-align: center;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.contacts-link:hover { opacity: 0.88; }
.contacts-link:active { transform: scale(0.96); }

.loader {
  position: fixed;
  inset: 0;
  background: #f5efff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: loaderFadeOut 0.6s ease forwards;
  animation-delay: 1.5s;
}

.loader-heart {
  width: 120px;
  animation: heartBeat 1.2s ease-in-out infinite;
}

.loader-heart svg {
  width: 100%;
  fill: #c4a0eb;
}

.loader-text {
  margin-top: 16px;
  font-size: 32px;
  color: #6b3fc0;
  font-family: 'Caveat', cursive;
  animation: textPulse 1.2s ease-in-out infinite;
}

/* 💓 биение */
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  40% { transform: scale(0.95); }
  60% { transform: scale(1.12); }
}

/* ✨ текст слегка дышит */
@keyframes textPulse {
  0%,100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* 🫥 плавное исчезновение */
@keyframes loaderFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 520px) {
  .contacts {
    padding: 0 16px 80px;
  }

  .contacts-card {
    max-width: 330px;
    min-height: auto;
    padding: 36px 20px 44px;
  }

  .contacts-card::before {
    clip-path: none;
    border-radius: 48% 52% 46% 54% / 14% 12% 16% 10%;
  }

  .contacts-card::after {
    clip-path: none;
    border-radius: 46% 50% 44% 52% / 12% 10% 14% 8%;
  }

  .dc-palette {
    width: 206px;
    justify-content: center;
  }

  .wishes-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .wishes-left {
    display: contents;
  }

  .wish-item {
    width: 100%;
    max-width: 340px;
  }

  .wish-item:first-child {
    order: 1;
  }

  .wishes-right {
    order: 2;
    width: min(52%, 180px);
    padding-top: 0;
  }

  .wish-item:last-child {
    order: 3;
  }

  .timing-photo {
    width: 70%;
    margin-top: -80px;
    margin-left: -20px;
  }

  .timing-left {
    padding-right: 5%;
    padding-left: 10px;
  }

  .card-mesto {
    font-size: clamp(24px, 7vw, 34px);
    margin-top: 0;
  }

  .card-addr {
    font-size: 13px;
    margin-top: 0;
  }

  .card-info {
    padding: 0 16px 0 36px;
  }

  .card-btn {
    bottom: 30px;
    font-size: clamp(18px, 4.5vw, 22px);
    width: 55%;
  }

  .card-venue-name {
    top: 14px;
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .timing {
    padding: 8px 16px 72px;
  }

  .timing-wrap {
    width: 100%;
    max-width: 100%;
    background: #a8c7e4;
    border-radius: 30px 38px 28px 36px / 24px 30px 28px 26px;
    clip-path: ellipse(99% 97% at 50% 50%);
    overflow: hidden;
  }

  .timing-bg {
    display: none;
  }

  .timing-content {
    position: static;
    height: auto;
    padding: 24px 22px 28px;
  }

  .timing-row {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .timing-photo {
    width: min(100%, 372px);
    margin-top: 0;
    margin-left: 0;
    align-self: center;
  }

  .timing-item {
    font-size: 18px;
    text-align: left;
  }

  .timing-title {
    font-size: clamp(36px, 10vw, 52px);
    padding-right: 0;
    margin-bottom: 8px;
    text-align: center;
  }

  .timing-left {
    position: static;
    width: min(100%, 260px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    gap: 12px 8px;
    align-items: stretch;
    justify-content: center;
  }

  .place-card-wrap {
    width: 100%;
    min-height: auto;
    overflow: hidden;
    border-radius: 16px;
    background: #eaf5d8;
  }

  .card-shape-bg {
    display: none;
  }

  .card-shape {
    display: block;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    clip-path: inset(0 0 34% 0 round 16px 16px 0 0);
    margin-bottom: -108px;
    transform: translateY(1px);
  }

  .place-card-content {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 0;
    background: transparent;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
  }

  .card-photo {
    display: block;
    order: 2;
    padding: 0 20px 16px;
  }

  .card-info {
    order: 1;
    position: relative;
    z-index: 6;
    padding: 28px 20px 16px;
    flex: none;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
  }

  .card-info-text {
    width: 100%;
    text-align: center;
  }

  .card-mesto {
    font-size: 28px;
    margin-top: 0;
  }

  .card-addr {
    font-size: 14px;
    margin-top: 4px;
  }

  .card-btn {
    position: static;
    transform: none;
    display: block;
    width: 100%;
    margin: 0;
    font-size: clamp(18px, 4.5vw, 22px);
    text-align: center;
    box-sizing: border-box;
  }

  .card-venue-name {
    position: absolute;
    top: 92px;
    left: 50%;
    width: calc(100% - 40px);
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.22);
    padding: 0;
    z-index: 5;
    pointer-events: none;
  }

  .card-venue-name span {
    font-size: 18px;
    letter-spacing: 0.06em;
    opacity: 1;
  }
}
