@font-face {
  font-family: "Macherie";
  src:
    url("../fonts/macherie.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vela Sans GX";
  src: url("../fonts/VelaSans-GX.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Involve";
  src: url("../fonts/Involve-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Involve";
  src: url("../fonts/Involve-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roscha";
  src: url("../fonts/Roscha.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Vela Sans GX", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background: linear-gradient(180deg, #173c86 0%, #0a164f 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* HEADER */

.site-header {
  padding-block: 24px 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.mobile-menu-toggle,
.mobile-menu-close {
  display: none;
}

.mobile-menu {
  display: none;
}

.nav-link {
  position: relative;
  font-family: "Vela Sans GX";
  font-size: 18px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  padding-block: 4px;
  transition: color 0.2s ease;
}

.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-link::before {
  top: -2px;
}

.nav-link::after {
  bottom: -2px;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  opacity: 0.4;
}

.nav-link:hover::before {
  opacity: 0.4;
}

.nav-link--active {
  color: #ffffff;
}

.nav-link--active::after {
  opacity: 1;
}

.nav-link--active::before {
  opacity: 1;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* HERO */

.hero {
  position: relative;
  padding-block: 220px 72px;
  overflow: hidden;
  scroll-margin-top: 88px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 70%);
  opacity: 0.16;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  left: -140px;
  top: 40px;
}

.hero::after {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 260px;
}

.hero-title-wrapper {
  position: relative;
  display: block;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-weight: 600; /* Semi Bold */
  font-size: 64px;
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

.floating-icon--emoji {
  position: absolute;
  width: 118.98px;
  height: 120.07px;
  object-fit: contain;
  left: -76px;
  top: -40px;
  animation: float-emoji 4.5s ease-in-out infinite;
}

.floating-icon--heart {
  position: absolute;
  width: 154.36px;
  height: 152.47px;
  object-fit: contain;
  right: -32px;
  bottom: -6px;
  animation: float-heart 5s ease-in-out infinite;
  z-index: 0;
}

@keyframes float-emoji {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(4px, -8px) rotate(4deg);
  }
}

@keyframes float-heart {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-6px, 6px) rotate(-6deg);
  }
}

.hero-subtitle {
  margin-top: 44px; /* было 24px, опускаем на 20px */
  margin-bottom: 32px;
  font-size: 32px;
  line-height: 1.3;
  font-family: "Vela Sans GX", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 10px 12px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border-radius: 18px;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.hero-btn--primary {
  background-color: #e8eef4;
  color: #051c49;
  border: none;
  box-shadow: 0 2px 12px rgba(10, 22, 79, 0.25);
}

.hero-btn--primary:hover {
  background-color: #f0f4f9;
  opacity: 0.95;
}

.hero-btn--link {
  padding: 10px 12px;
  background: none;
  color: rgba(230, 238, 255, 0.95);
  border: 1px solid rgba(230, 238, 255, 0.6);
  border-radius: 18px;
}

.hero-btn--link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.06);
}

.hero-btn:active {
  transform: scale(0.98);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background-color: #ffffff;
  color: #173c86;
  border-color: #ffffff;
}

.btn-primary:hover {
  background-color: #f2f5ff;
  border-color: #f2f5ff;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

/* SECTION: IMPRESSION */

.section {
  padding-block: 64px;
}

.section-heading {
  margin: 0;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-impression-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: center;
  min-height: 438px;
}

.impression-copy {
  max-width: 820px;
}

.impression-title {
  margin: 0;
  white-space: nowrap;
}

.impression-text {
  margin-top: 92px;
  margin-bottom: 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.22;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.phone-composition {
  position: relative;
  width: min(100%, 280px);
  min-height: 348px;
  justify-self: end;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  width: 258px;
  margin-inline: auto 10px;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.26));
}

.phone-heart {
  position: absolute;
  z-index: 1;
  width: 100px;
  pointer-events: none;
  animation: phone-heart-float 6.5s ease-in-out infinite;
}

.phone-heart--top {
  top: 12px;
  right: -12px;
  animation-delay: -1.2s;
}

.phone-heart--bottom {
  left: -6px;
  bottom: 28px;
  width: 124px;
  opacity: 0.74;
  filter: blur(2.4px);
  animation-name: phone-heart-float-soft;
  animation-duration: 7.2s;
}

@keyframes phone-heart-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(4px, -7px, 0) rotate(3deg);
  }
}

@keyframes phone-heart-float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(-5px, 5px, 0) rotate(2deg);
  }
}

/* SECTION: DETAILS */

.section-details {
  padding-block: 54px 68px;
}

.details-inner {
  max-width: 968px;
}

.details-title {
  text-align: center;
}

.template-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.template-card {
  min-width: 0;
}

.template-preview {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.template-caption {
  margin: 14px 0 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
}

.template-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  white-space: nowrap;
}

.template-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  height: 36px;
  padding: 0 18px;
  border-radius: 16px;
  background-color: #eef3f8;
  color: #06133e;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(3, 14, 48, 0.18);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.template-button:hover {
  background-color: #ffffff;
}

.template-button:active {
  transform: scale(0.98);
}

.template-price {
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
}

.template-price--old {
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
}

/* PAGE: TEMPLATE DETAIL */

.template-detail-page {
  padding-block: 92px 86px;
}

.selected-template,
.brief-section,
.manager-section {
  max-width: 968px;
}

.selected-template-card,
.brief-card,
.manager-card {
  background-color: #e3e7ed;
  color: #173c86;
}

.selected-template-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 44px;
  min-height: 430px;
  padding: 54px 56px;
  border-radius: 24px;
  overflow: hidden;
}

.selected-template-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.selected-template-title,
.brief-title,
.manager-title {
  margin: 0;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.selected-template-description {
  max-width: 470px;
  margin: 18px 0 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.32;
  color: #173c86;
}

.selected-template-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 18px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
}

.selected-template-meta h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.selected-template-meta p {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.selected-template-button,
.brief-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px 3px;
  border-radius: 16px;
  background-color: #051c49;
  color: #ffffff;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.selected-template-button:hover,
.brief-submit:hover {
  background-color: #10245d;
}

.selected-template-button:active,
.brief-submit:active {
  transform: scale(0.98);
}

.brief-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.selected-template-preview {
  align-self: center;
  width: 100%;
  max-width: 390px;
  border-radius: 18px;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(23, 60, 134, 0.16));
}

.brief-section {
  margin-top: 96px;
}

.home-brief-section {
  margin-top: 26px;
  margin-bottom: 34px;
}

.brief-card {
  position: relative;
  min-height: 560px;
  padding: 48px 56px 52px;
  border-radius: 24px;
  overflow: hidden;
}

.brief-card::before,
.brief-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.brief-card::before {
  width: 560px;
  height: 430px;
  right: -18px;
  top: 122px;
  background:
    radial-gradient(circle at 50% 48%, rgba(50, 167, 226, 0.24) 0%, rgba(50, 167, 226, 0.14) 34%, rgba(50, 167, 226, 0) 68%);
  filter: blur(10px);
}

.brief-card::after {
  width: 410px;
  height: 330px;
  right: -52px;
  bottom: -50px;
  background:
    radial-gradient(circle at 54% 54%, rgba(0, 119, 255, 0.24) 0%, rgba(50, 167, 226, 0.16) 42%, rgba(50, 167, 226, 0) 72%);
  filter: blur(14px);
}

.brief-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.brief-alert {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  margin: 22px 0 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.brief-alert--success {
  background-color: rgba(23, 60, 134, 0.12);
  color: #173c86;
}

.brief-alert--error {
  background-color: rgba(184, 27, 66, 0.12);
  color: #8c1432;
}

.brief-form {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.brief-field {
  display: grid;
  gap: 7px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  color: #173c86;
}

.brief-field span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.brief-field input,
.brief-field textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background-color: #d8dee8;
  color: #173c86;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  outline: none;
}

.brief-field input {
  height: 48px;
  padding: 0 20px;
}

.brief-field textarea {
  min-height: 122px;
  max-height: 220px;
  resize: none;
  overflow-y: hidden;
  padding: 18px 20px;
  line-height: 1.35;
}

.brief-field input::placeholder,
.brief-field textarea::placeholder {
  color: rgba(23, 60, 134, 0.8);
  opacity: 1;
}

.brief-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.brief-actions p {
  margin: 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(23, 60, 134, 0.78);
}

.brief-sticker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.brief-sticker--party {
  width: 396px;
  right: 104px;
  top: 116px;
  filter: drop-shadow(0 28px 34px rgba(50, 167, 226, 0.22));
}

.brief-sticker--heart {
  width: 232px;
  right: -28px;
  bottom: -44px;
  filter:
    drop-shadow(0 22px 22px rgba(23, 60, 134, 0.24))
    drop-shadow(0 28px 42px rgba(50, 167, 226, 0.34));
}

.manager-section {
  margin-top: 82px;
}

.manager-title {
  text-align: center;
  color: #ffffff;
}

.manager-card {
  min-height: 78px;
  margin-top: 24px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
}

.manager-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
  overflow: hidden;
}

.manager-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-copy {
  display: grid;
  gap: 4px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  color: #173c86;
}

.manager-copy strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}

.manager-copy small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15;
}

.manager-arrow {
  margin-left: auto;
  color: #173c86;
  font-size: 34px;
  line-height: 1;
}

/* PAGE: DESIGNS */

.designs-page {
  padding-block: 92px 96px;
}

.designs-hero {
  text-align: center;
}

.designs-kicker {
  margin: 0 0 14px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.designs-title {
  max-width: 840px;
  margin: 0 auto;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.designs-intro {
  margin: 24px auto 0;
  max-width: 560px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
}

.designs-list {
  margin-top: 56px;
  display: grid;
  gap: 28px;
}

.design-work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr) auto;
  gap: 32px;
  align-items: center;
  min-height: 310px;
  padding: 24px;
  border-radius: 28px;
  background-color: #e3e7ed;
  color: #173c86;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.design-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18);
}

.design-work-media {
  position: relative;
  display: block;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  background-color: #cbd4e2;
}

.design-work-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.design-work-copy {
  display: grid;
  gap: 14px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
}

.design-work-label {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px 8px;
  background-color: rgba(23, 60, 134, 0.12);
  font-size: 14px;
  line-height: 1;
}

.design-work-copy strong {
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.design-work-copy span:last-child {
  max-width: 360px;
  font-size: 17px;
  line-height: 1.35;
  color: rgba(23, 60, 134, 0.82);
}

.design-work-arrow {
  align-self: start;
  justify-self: end;
  font-size: 38px;
  line-height: 1;
}

/* PAGE: DATE DESIGN */

.date-design-body {
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, #700f49 0%, #d61d51 100%);
}

.date-design-page {
  position: relative;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, #700f49 0%, #d61d51 100%);
}

.date-design-page::before {
  display: none;
}

.date-design-page > * {
  position: relative;
  z-index: 1;
}

.date-showcase {
  padding: 38px 36px 0;
}

.date-hero-card {
  position: relative;
  border-radius: 70px;
  overflow: visible;
}

.date-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1362 / 590;
  border-radius: 70px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.date-hero-content {
  position: absolute;
  inset: auto 64px 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.date-hero-title {
  margin: 0;
  font-family: "Involve", system-ui, sans-serif;
  font-size: clamp(58px, 6.25vw, 80px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.42);
}

.date-title-line {
  display: block;
  white-space: nowrap;
}

.date-title-pink {
  color: #f34781;
}

.date-kat {
  display: inline-block;
  width: 242px;
  margin: 0 0 -24px 10px;
  vertical-align: baseline;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
}

.date-scroll-hint {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-bottom: 6px;
  font-family: "Involve", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: lowercase;
}

.date-scroll-circle {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
  line-height: 1;
}

.date-chip {
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 10px 24px 11px;
  background-color: rgba(255, 255, 255, 0.18);
  font-family: "Involve", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(8px);
}

.date-awaits {
  padding: 120px 36px 0;
}

.date-awaits h2,
.date-countdown-section h2 {
  margin: 0;
  font-family: "Involve", system-ui, sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.date-map {
  position: relative;
  min-height: 594px;
  margin-top: 50px;
}

.date-mini-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  height: 276px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(35, 4, 36, 0.18);
}

.date-mini-card img,
.date-love-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.date-mini-card--hills {
  left: 0;
  top: 0;
}

.date-mini-card--sunset {
  left: 262px;
  top: 0;
}

.date-mini-card--wine {
  left: 524px;
  top: 0;
}

.date-mini-card--meadow {
  left: 132px;
  top: 307px;
}

.date-mini-card--air {
  left: 394px;
  top: 307px;
}

.date-line {
  position: absolute;
  z-index: 1;
  left: 212px;
  top: 133px;
  width: 750px;
  height: auto;
  pointer-events: none;
}

.date-main-note {
  position: absolute;
  z-index: 5;
  left: 790px;
  top: 250px;
  width: 96px;
  font-family: "Involve", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 0.94;
  text-align: center;
}

.date-love-card {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 100px;
  width: 412px;
  height: 380px;
}

.date-love-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -170px 0 -170px -210px;
  border-radius: 45%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 129, 48, 0.42) 0%, rgba(255, 129, 48, 0.24) 24%, rgba(255, 129, 48, 0) 54%),
    radial-gradient(circle at 56% 54%, rgba(255, 214, 166, 0.24) 0%, rgba(255, 214, 166, 0.14) 30%, rgba(255, 214, 166, 0) 64%),
    radial-gradient(circle at 74% 24%, rgba(255, 62, 126, 0.16) 0%, rgba(255, 62, 126, 0) 60%);
  filter: blur(24px);
  pointer-events: none;
}

.date-love-image {
  position: relative;
  z-index: 2;
  border-radius: 0 28px 0 28px;
  filter:
    saturate(1.04)
    drop-shadow(0 28px 54px rgba(255, 129, 48, 0.18));
}

.date-glow {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  max-width: none;
}

.date-glow--warm {
  width: 600px;
  left: -230px;
  top: -190px;
  opacity: 0.68;
}

.date-glow--one {
  width: 560px;
  left: -120px;
  top: -140px;
  opacity: 0.5;
}

.date-glow--two {
  display: none;
}

.date-love-card p {
  position: absolute;
  z-index: 4;
  left: -6px;
  right: -6px;
  bottom: -80px;
  margin: 0;
  font-family: "Involve", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
  text-shadow: 0 2px 10px rgba(95, 7, 46, 0.24);
}

.date-heart {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  animation: date-heart-float 4.5s ease-in-out infinite;
}

.date-heart--one {
  width: 124px;
  left: -70px;
  top: -52px;
}

.date-heart--two {
  width: 92px;
  right: -26px;
  bottom: -14px;
  animation-delay: -1.4s;
}

@keyframes date-heart-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.date-countdown-section {
  padding: 108px 36px 0;
}

.date-countdown-wrap {
  position: relative;
  width: fit-content;
  margin: 46px auto 0;
}

.date-countdown-glow {
  position: absolute;
  left: 50%;
  top: 50px;
  width: 470px;
  max-width: none;
  transform: translateX(-50%);
  opacity: 0.85;
  pointer-events: none;
}

.date-countdown {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 34px;
}

.date-count-item {
  position: relative;
  width: 112px;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: #ffffff;
}

.date-count-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 134px;
  object-fit: fill;
  opacity: 0.82;
}

.date-count-item strong {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 134px;
  font-family: "Involve", system-ui, sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 0.9;
  transform: translateY(5px);
}

.date-count-item span {
  position: relative;
  z-index: 2;
  font-family: "Involve", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
}

.date-design-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  padding: 326px 20px 22px;
}

.date-footer-logo {
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.date-footer-copy {
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.date-footer-made {
  display: flex;
  align-items: end;
  justify-content: end;
}

.date-footer-made img {
  width: 118px;
}

/* WEDDING PAGE */

.wedding-theme {
  color: #823d4c;
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 215, 223, 0.64) 0, rgba(255, 215, 223, 0) 28%),
    radial-gradient(circle at 84% 35%, rgba(255, 215, 223, 0.56) 0, rgba(255, 215, 223, 0) 24%),
    #fff9fa;
}

.wedding-theme .page {
  background:
    radial-gradient(circle at 17% 21%, rgba(255, 215, 223, 0.72) 0, rgba(255, 215, 223, 0) 24%),
    radial-gradient(circle at 82% 38%, rgba(255, 215, 223, 0.5) 0, rgba(255, 215, 223, 0) 22%),
    linear-gradient(180deg, #fff9fa 0%, #fff7f8 58%, #fff9fa 100%);
}

.wedding-theme .site-header {
  position: relative;
  z-index: 20;
}

.wedding-theme .nav-link {
  color: rgba(219, 128, 148, 0.86);
}

.wedding-theme .nav-link::before,
.wedding-theme .nav-link::after {
  background-color: #db8094;
}

.wedding-theme .nav-link:hover,
.wedding-theme .nav-link--active {
  color: #823d4c;
}

.wedding-theme .site-footer {
  background-color: #823d4c;
}

.wedding-page {
  position: relative;
  overflow: hidden;
}

.wedding-hero {
  position: relative;
  min-height: 690px;
  padding: 76px 0 70px;
  text-align: center;
}

.wedding-sakura {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.wedding-sakura--one {
  width: 214px;
  left: -18px;
  top: -10px;
}

.wedding-sakura--two {
  width: 160px;
  right: 245px;
  top: 396px;
  filter: blur(1px);
  opacity: 0.9;
}

.wedding-sakura--three {
  width: 66px;
  right: 390px;
  top: 433px;
  filter: blur(2px);
  opacity: 0.72;
}

.wedding-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100% - 48px);
}

.wedding-hero-title {
  margin: 0 auto;
  max-width: 1180px;
  font-family: "Roscha", "Times New Roman", serif;
  font-size: clamp(96px, 8.9vw, 128px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #db8094;
}

.wedding-hero-title span {
  display: block;
  white-space: nowrap;
}

.wedding-hero-subtitle {
  margin: 28px 0 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.16;
  color: #823d4c;
}

.wedding-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.wedding-btn {
  min-width: 120px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 24px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.wedding-btn:hover,
.wedding-template-button:hover {
  transform: translateY(-1px);
}

.wedding-btn--primary {
  background-color: #823d4c;
  color: #fff9fa;
}

.wedding-btn--outline {
  border: 2px solid #823d4c;
  color: #823d4c;
}

.wedding-love {
  position: relative;
  padding: 28px 0 40px;
}

.wedding-love-inner {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(220px, 1fr);
  align-items: start;
  gap: 0;
}

.wedding-love-copy {
  position: relative;
  z-index: 3;
}

.wedding-section-title {
  margin: 0;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  color: #db8094;
}

.wedding-love-text {
  margin: 86px 0 0;
  max-width: 680px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: #823d4c;
}

.wedding-phone-scene {
  position: relative;
  min-height: 680px;
}

.wedding-phone {
  position: absolute;
  z-index: 2;
  width: 760px;
  max-width: none;
  right: -180px;
  top: -158px;
  animation: wedding-phone-float 5.2s ease-in-out infinite;
}

.wedding-sakura--four {
  width: 590px;
  max-width: none;
  right: -210px;
  top: -130px;
  z-index: 1;
}

@keyframes wedding-phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1.2deg);
  }
}

.wedding-designs {
  padding: 84px 0 112px;
}

.wedding-designs-title {
  text-align: center;
}

.wedding-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.wedding-template-card {
  min-width: 0;
}

.wedding-template-image {
  width: 100%;
  aspect-ratio: 570 / 493;
  object-fit: contain;
  border-radius: 26px;
}

.wedding-template-caption {
  min-height: 54px;
  margin: 18px 0 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.22;
  color: #823d4c;
}

.wedding-template-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  white-space: nowrap;
}

.wedding-template-button {
  min-width: 292px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 22px;
  background-color: #823d4c;
  color: #fff9fa;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.wedding-template-price {
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #db8094;
}

.wedding-pricing {
  padding: 96px 0 170px;
}

.wedding-pricing-title {
  text-align: center;
}

.wedding-pricing-table {
  margin-top: 68px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  color: #db8094;
}

.wedding-pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 28px;
  font-size: 32px;
  line-height: 1.12;
}

.wedding-pricing-row--head {
  font-weight: 700;
}

.wedding-pricing-row span:last-child {
  text-align: right;
}

.site-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 32px));
  border-radius: 16px;
  padding: 16px 20px 17px;
  background-color: #051c49;
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(5, 28, 73, 0.28);
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast--error {
  background-color: #8c1432;
}

/* COOKIE NOTICE */

.cookie-shade {
  position: fixed;
  z-index: 119;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 28, 73, 0) 0%,
    rgba(5, 28, 73, 0.08) 46%,
    rgba(5, 28, 73, 0.46) 100%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
}

.cookie-shade[hidden] {
  display: none;
}

.cookie-shade.is-visible {
  opacity: 1;
}

.cookie-notice {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 38px;
  width: min(1180px, calc(100% - 64px));
  min-height: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  align-items: center;
  column-gap: 44px;
  border-radius: 28px;
  padding: 26px 28px 26px 34px;
  background-color: #e3e7ed;
  color: #173c86;
  box-shadow: 0 28px 70px rgba(5, 28, 73, 0.22);
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cookie-notice-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
}

.cookie-notice-copy strong {
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
}

.cookie-notice-copy span {
  max-width: 940px;
  font-size: 16px;
  line-height: 1.28;
}

.cookie-notice-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice-button {
  width: 98px;
  height: 74px;
  border-radius: 16px;
  background-color: #173c86;
  color: #ffffff;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cookie-notice-button:hover {
  background-color: #214995;
  transform: translateY(-1px);
}

/* SECTION: PRICING */

.section-pricing {
  padding-block: 56px 76px;
}

.pricing-inner {
  max-width: 968px;
}

.pricing-title {
  text-align: center;
}

.pricing-table {
  margin-top: 30px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  padding-block: 2px;
  font-size: 24px;
  line-height: 1.18;
}

.pricing-row--head {
  font-weight: 600;
}

.pricing-cell--title {
  text-align: left;
}

.pricing-cell--price {
  text-align: right;
}

/* PAGE: LICENSE */

.license-page {
  padding-top: 92px;
}

.license-container {
  max-width: 968px;
}

.license-panel {
  min-height: 760px;
  padding: 54px 56px 68px;
  border-radius: 24px 24px 0 0;
  background-color: #e3e7ed;
  color: #173c86;
}

.license-title {
  margin: 0 0 22px;
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.license-title span {
  display: inline;
}

.license-text {
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #173c86;
}

.license-text p {
  margin: 0;
}

.license-text p + p {
  margin-top: 20px;
}

.license-text p + ul,
.license-text ul + p {
  margin-top: 16px;
}

.license-text h2 {
  margin: 34px 0 14px;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.18;
}

.license-text ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.license-text li {
  margin-top: 8px;
}

.policy-meta {
  font-weight: 600;
}

/* FOOTER */

.site-footer {
  position: relative;
  margin-top: auto;
  background-color: #121a4b;
  padding-block: 48px 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px 24px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-link {
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: width 0.2s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  justify-self: end;
}

.footer-meliotta {
  height: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-social-title {
  margin: 0;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.footer-social-icons {
  display: flex;
  gap: 8px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social-icon:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-social-image {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-family: "Vela Sans GX", system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* RESPONSIVE */

@media (max-width: 1168px) {
  .impression-title,
  .impression-text {
    white-space: normal;
  }

  .wedding-hero-title {
    font-size: clamp(86px, 9vw, 118px);
  }

  .wedding-love-inner {
    gap: 42px;
  }

  .wedding-phone-scene {
    min-height: 600px;
  }

  .wedding-phone {
    width: 660px;
    right: -96px;
    top: -120px;
  }

  .wedding-sakura--four {
    width: 500px;
    right: -118px;
    top: -98px;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .section-impression-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 40px;
  }

  .section-impression-inner {
    gap: 38px;
    min-height: 0;
  }

  .impression-copy {
    max-width: none;
  }

  .impression-text {
    margin-top: 36px;
  }

  .phone-composition {
    justify-self: center;
  }

  .selected-template-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .selected-template-preview {
    max-width: 520px;
  }

  .brief-sticker--party {
    width: 330px;
    right: 16px;
    top: 150px;
    opacity: 0.82;
  }

  .brief-sticker--heart {
    width: 190px;
  }

  .header-inner {
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-right {
    align-items: center;
    justify-self: center;
  }

  .wedding-hero {
    min-height: 620px;
  }

  .wedding-love-inner,
  .wedding-template-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wedding-love-text {
    margin-top: 48px;
  }

  .wedding-phone-scene {
    min-height: 500px;
  }

  .wedding-phone {
    width: 480px;
    right: 8%;
    top: -52px;
  }

  .wedding-sakura--four {
    width: 380px;
    right: 0;
  }

  .wedding-template-card {
    max-width: 570px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 480px);
  }

  .site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 30;
    padding-block: 54px 0;
    pointer-events: none;
  }

  .wedding-theme .site-header {
    position: absolute;
  }

  .header-inner {
    justify-content: flex-end;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 40px;
    display: inline-grid;
    gap: 6px;
    place-content: center;
    border-radius: 12px;
    background-color: rgba(5, 28, 73, 0.24);
    box-shadow: 0 8px 22px rgba(5, 28, 73, 0.14);
    pointer-events: auto;
  }

  .mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.88);
  }

  .wedding-theme .mobile-menu-toggle span {
    background-color: #823d4c;
  }

  .wedding-theme .mobile-menu-toggle {
    background-color: rgba(255, 249, 250, 0.76);
    box-shadow: 0 8px 22px rgba(130, 61, 76, 0.12);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: block;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.34s;
  }

  .mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 28, 73, 0.66);
    opacity: 0;
    transition: opacity 0.34s ease;
  }

  .mobile-menu.is-open .mobile-menu-backdrop {
    opacity: 1;
  }

  .mobile-menu-panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(54vw, 270px);
    min-width: 230px;
    display: grid;
    grid-template-rows: auto auto 1fr;
    background-color: #e3e7ed;
    color: #173c86;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .wedding-theme .mobile-menu-panel,
  .wedding-theme .mobile-menu-close {
    background-color: #fff9fa;
    color: #823d4c;
  }

  .wedding-theme .mobile-menu-close span {
    background-color: #823d4c;
  }

  .mobile-menu.is-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-close {
    position: absolute;
    top: 88px;
    left: -62px;
    width: 62px;
    height: 62px;
    display: block;
    border-radius: 14px 0 0 14px;
    background-color: #e3e7ed;
  }

  .mobile-menu-close span {
    position: absolute;
    left: 16px;
    top: 30px;
    width: 34px;
    height: 2px;
    border-radius: 999px;
    background-color: #173c86;
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu-brand {
    padding: 104px 34px 86px;
    text-align: center;
  }

  .mobile-menu-logo {
    font-family: "Macherie", "Playfair Display", "Times New Roman", serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
  }

  .mobile-menu-copy {
    margin-top: 10px;
    font-family: "Vela Sans GX", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-nav-link {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 32px;
    font-family: "Vela Sans GX", system-ui, sans-serif;
    font-size: 22px;
    line-height: 1.1;
    color: #173c86;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .wedding-theme .mobile-nav-link,
  .wedding-theme .mobile-menu-legal-link {
    color: #823d4c;
  }

  .wedding-theme .mobile-nav-link:hover,
  .wedding-theme .mobile-nav-link:focus-visible,
  .wedding-theme .mobile-nav-link--active {
    background-color: #823d4c;
    color: #fff9fa;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    background-color: #173c86;
    color: #ffffff;
    font-weight: 600;
  }

  .mobile-nav-link--active {
    font-weight: 400;
  }

  .mobile-menu-legal {
    align-self: end;
    display: grid;
    gap: 18px;
    padding: 0 32px 64px 20px;
    text-align: right;
  }

  .mobile-menu-legal-link {
    font-family: "Vela Sans GX", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    color: #173c86;
  }

  .hero {
    min-height: 594px;
    padding-block: 152px 26px;
    overflow: visible;
  }

  .wedding-hero {
    min-height: 606px;
    padding: 220px 0 42px;
  }

  .wedding-sakura--one {
    width: 178px;
    left: -84px;
    top: 74px;
  }

  .wedding-sakura--two {
    width: 96px;
    right: 40px;
    top: 315px;
    filter: blur(2px);
  }

  .wedding-sakura--three {
    width: 44px;
    right: 108px;
    top: 340px;
    filter: blur(2px);
  }

  .wedding-hero-title {
    max-width: 340px;
    font-size: 35px;
    line-height: 1.02;
  }

  .wedding-hero-subtitle {
    margin-top: 104px;
    font-size: 16px;
    line-height: 1.26;
  }

  .wedding-actions {
    width: min(100%, 332px);
    display: grid;
    gap: 12px;
    margin: 20px auto 0;
  }

  .wedding-btn {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    font-size: 16px;
  }

  .wedding-love {
    padding: 12px 0 24px;
  }

  .wedding-love-inner {
    position: relative;
    display: block;
    min-height: 300px;
  }

  .wedding-love-copy {
    width: min(100%, 235px);
  }

  .wedding-section-title {
    font-size: 30px;
    line-height: 1.04;
  }

  .wedding-love-text {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.24;
  }

  .wedding-phone-scene {
    position: absolute;
    right: -88px;
    top: -56px;
    width: 318px;
    min-height: 326px;
  }

  .wedding-phone {
    z-index: 3;
    width: 306px;
    right: 0;
    top: 6px;
  }

  .wedding-sakura--four {
    z-index: 2;
    width: 252px;
    right: -8px;
    top: -70px;
    opacity: 0.96;
  }

  .wedding-designs {
    padding: 42px 0 32px;
  }

  .wedding-designs-title {
    max-width: 300px;
    margin-inline: auto;
    text-align: center;
  }

  .wedding-template-grid {
    display: grid;
    gap: 34px;
    margin-top: 34px;
  }

  .wedding-template-card {
    max-width: 334px;
  }

  .wedding-template-image {
    aspect-ratio: 334 / 187;
    border-radius: 12px;
  }

  .wedding-template-caption {
    display: none;
  }

  .wedding-template-actions {
    gap: 14px;
    margin-top: 12px;
  }

  .wedding-template-button {
    min-width: 0;
    width: 246px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
    padding-inline: 12px;
  }

  .wedding-template-price {
    font-size: 16px;
  }

  .wedding-pricing {
    padding: 26px 0 88px;
  }

  .wedding-pricing-title {
    max-width: 300px;
    margin-inline: auto;
  }

  .wedding-pricing-table {
    margin-top: 46px;
  }

  .wedding-pricing-row {
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 12px;
    font-size: 11px;
    line-height: 1.15;
  }

  .wedding-pricing-row--head {
    font-size: 12px;
  }

  .hero::before {
    width: 260px;
    height: 260px;
    left: -118px;
    top: 18px;
  }

  .hero::after {
    width: 280px;
    height: 280px;
    right: -96px;
    top: 438px;
  }

  .hero-title-wrapper {
    max-width: 340px;
    isolation: isolate;
  }

  .hero-title {
    z-index: 2;
    font-size: 38px;
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-top: 44px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.24;
  }

  .floating-icon--emoji {
    width: 100px;
    height: 101px;
    left: auto;
    right: -14px;
    top: -56px;
    z-index: 2;
  }

  .floating-icon--heart {
    width: 88px;
    height: 87px;
    left: -16px;
    right: auto;
    bottom: -26px;
    z-index: 0;
    opacity: 0.72;
  }

  .hero-actions {
    width: min(100%, 332px);
    margin-inline: auto;
    display: grid;
    gap: 12px;
  }

  .hero-btn {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    font-size: 16px;
  }

  .hero-btn--link {
    border-width: 2px;
  }

  .designs-page {
    padding-block: 116px 68px;
    overflow-x: hidden;
  }

  .designs-kicker {
    font-size: 16px;
  }

  .designs-title {
    width: min(100%, 342px);
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.02;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .designs-intro {
    max-width: 340px;
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.25;
  }

  .designs-list {
    margin-top: 54px;
  }

  .design-work-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 0;
    padding: 36px 28px 32px;
    border-radius: 24px;
  }

  .design-work-media {
    display: none;
  }

  .design-work-copy strong {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.02;
  }

  .design-work-copy span:last-child {
    font-size: 16px;
  }

  .section-impression {
    padding-block: 0 18px;
    overflow: visible;
  }

  .section-impression-inner {
    position: relative;
    display: block;
    min-height: 316px;
  }

  .impression-copy {
    position: relative;
    z-index: 3;
    width: min(100%, 330px);
    padding-top: 24px;
  }

  .impression-title {
    font-size: 25px;
    line-height: 1.03;
  }

  .impression-text {
    margin-top: 32px;
    font-size: 16px;
    line-height: 1.24;
  }

  .phone-composition {
    position: absolute;
    z-index: 1;
    width: 200px;
    min-height: 250px;
    right: -84px;
    top: 58px;
    transform: rotate(-1deg);
  }

  .phone-mockup {
    width: 188px;
    margin-inline: auto 0;
  }

  .phone-heart--top {
    width: 62px;
    top: -14px;
    right: 18px;
  }

  .phone-heart--bottom {
    width: 106px;
    left: -22px;
    bottom: 6px;
    opacity: 0.9;
    filter: blur(1.2px);
  }

  .section {
    padding-block: 48px;
  }

  .section-details {
    padding-block: 24px 48px;
  }

  .section-heading {
    font-size: 38px;
  }

  .template-detail-page {
    padding-block: 56px 64px;
  }

  .selected-template-card,
  .brief-card {
    padding: 42px 32px;
  }

  .selected-template-title,
  .brief-title,
  .manager-title {
    font-size: 38px;
  }

  .brief-section {
    margin-top: 56px;
  }

  .brief-form {
    width: 100%;
  }

  .brief-sticker--party {
    width: 260px;
    right: -22px;
    top: 174px;
    opacity: 0.28;
  }

  .brief-sticker--heart {
    width: 150px;
    right: -26px;
    bottom: -30px;
    opacity: 0.78;
  }

  .manager-section {
    margin-top: 56px;
  }

  .template-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .template-actions {
    flex-wrap: wrap;
    gap: 10px 14px;
    white-space: normal;
  }

  .pricing-row {
    grid-template-columns: minmax(0, 1fr) clamp(76px, 22vw, 104px);
    gap: 12px;
    font-size: clamp(15px, 4.3vw, 18px);
    line-height: 1.16;
  }

  .pricing-cell--title {
    min-width: 0;
  }

  .pricing-cell--price {
    min-width: 0;
    text-align: right;
    white-space: nowrap;
  }

  .license-page {
    padding-top: 56px;
  }

  .license-panel {
    min-height: 0;
    padding: 42px 28px 52px;
  }

  .license-title {
    padding-right: 48px;
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.05;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .license-title span {
    display: block;
  }

  .cookie-notice {
    top: auto;
    bottom: 18px;
    width: min(100% - 32px, 480px);
    min-height: 0;
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 18px;
    border-radius: 20px;
    padding: 22px;
  }

  .cookie-notice-copy strong {
    font-size: 20px;
  }

  .cookie-notice-copy span {
    font-size: 14px;
  }

  .cookie-notice-button {
    width: 100%;
    height: 50px;
    border-radius: 14px;
  }
}

@media (max-width: 430px) {
  .section-heading {
    font-size: 32px;
  }

  .designs-title {
    width: min(100%, 310px);
    font-size: clamp(28px, 8vw, 34px);
  }

  .design-work-card {
    padding: 34px 26px 30px;
  }

  .design-work-copy strong {
    font-size: clamp(30px, 8.2vw, 36px);
  }

  .impression-title {
    font-size: 24px;
  }

  .impression-text {
    font-size: 16px;
  }

  .template-button {
    min-width: 100%;
  }

  .pricing-row {
    grid-template-columns: minmax(0, 1fr) clamp(72px, 21vw, 86px);
    gap: 10px;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.15;
  }

  .pricing-cell--price {
    text-align: right;
  }

  .license-panel {
    padding: 34px 22px 44px;
    border-radius: 18px 18px 0 0;
  }

  .license-title {
    padding-right: 38px;
    font-size: clamp(23px, 6.6vw, 28px);
  }

  .selected-template-title,
  .brief-title,
  .manager-title {
    font-size: 32px;
  }

  .license-text {
    font-size: 15px;
  }

  .selected-template-card,
  .brief-card {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .selected-template-meta h2 {
    font-size: 18px;
  }

  .brief-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .manager-card {
    border-radius: 18px;
  }

  .manager-arrow {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-heart {
    animation: none;
  }
}
