:root {
  --paper: #fffaf5;
  --ink: #2f2b28;
  --muted: #766c65;
  --blush: #ead0c9;
  --rose: #c9837d;
  --sage: #8e9d83;
  --sky: #9db5bd;
  --gold: #b89a61;
  --line: rgba(47, 43, 40, 0.14);
  --shadow: 0 22px 70px rgba(48, 39, 32, 0.18);
  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #e8efe9;
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

button,
a,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.phone-shell {
  width: min(100vw, 480px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cover {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.cover__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 50%;
  z-index: -2;
}

.cover__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 24, 25, 0.04) 0%, rgba(20, 24, 25, 0.1) 35%, rgba(24, 19, 16, 0.74) 100%),
    linear-gradient(90deg, rgba(184, 154, 97, 0.18), rgba(157, 181, 189, 0.12));
  z-index: -1;
}

.cover__content {
  padding: 0 26px calc(38px + env(safe-area-inset-bottom));
  color: #fffdfa;
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover .eyebrow {
  color: #f6dfbd;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  font-size: clamp(4rem, 19vw, 6.5rem);
}

h2 {
  font-size: clamp(2.3rem, 10vw, 3.45rem);
}

.date {
  margin: 20px 0 28px;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0;
}

.primary-action,
.line-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0 24px;
  background: rgba(255, 250, 245, 0.88);
  color: #332a25;
  font-weight: 700;
  box-shadow: 0 14px 38px rgba(31, 22, 17, 0.2);
}

.primary-action--dark {
  width: 100%;
  border: 0;
  background: #3e3832;
  color: #fffaf5;
}

.sound {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  z-index: 10;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(31, 22, 17, 0.22);
}

.sound__mark {
  display: block;
  width: 16px;
  height: 18px;
  margin: auto;
  border-left: 4px solid #3e3832;
  border-right: 4px solid #3e3832;
}

.sound.is-playing .sound__mark {
  border-left-width: 3px;
  border-right-width: 3px;
  transform: skewY(-10deg);
}

.quick-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-nav a {
  padding: 14px 8px;
  background: rgba(255, 250, 245, 0.9);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.section {
  padding: 58px 24px;
}

.intro {
  text-align: center;
}

.intro p:not(.script),
.palette p,
.place p,
.rsvp p,
.contacts p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.script {
  margin: 0 0 14px;
  color: var(--rose);
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 500;
  font-style: italic;
}

.guest-line {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

.countdown {
  background: #eef4f1;
  text-align: center;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 24px 0;
}

.timer div {
  min-width: 0;
  padding: 16px 5px;
  border: 1px solid rgba(142, 157, 131, 0.38);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.72);
}

.timer strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 8vw, 2.4rem);
  font-weight: 500;
}

.timer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.line-button {
  width: 100%;
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
}

.photo-break {
  margin: 0;
}

.photo-break img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 43%;
}

.schedule {
  background: #fffaf5;
}

.timeline {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.timeline div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--rose);
  font-weight: 800;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.palette {
  background: #f8eeee;
}

.seating {
  background: #f3f7f4;
  text-align: center;
}

.seating-page {
  min-height: 100svh;
  background: #f5efeb;
  color: #2f4156;
  font-family: var(--font-sans);
  overflow: hidden;
}

.seat-preview-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
  background: #2f4156;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.seat-preview-bar a {
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
}

.seat-lookup-view {
  display: grid;
  min-height: calc(100svh - 48px);
  place-items: center;
  padding: 32px 18px calc(34px + env(safe-area-inset-bottom));
}

.seat-lookup-card {
  width: min(430px, 100%);
  text-align: center;
}

.seat-project-date {
  margin: 0 0 12px;
  color: #567c8d;
  font-size: 0.84rem;
  font-weight: 800;
}

.seat-lookup-card h1 {
  color: #2f4156;
  font-size: clamp(3.1rem, 15vw, 5.4rem);
  line-height: 0.92;
}

.seat-welcome {
  margin: 34px 0 8px;
  color: #2f4156;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.seat-instruction {
  margin: 0;
  color: #567c8d;
  font-size: 1rem;
  line-height: 1.55;
}

.seat-lookup-field {
  display: block;
  margin-top: 26px;
}

.seat-lookup-field input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #c8d9e6;
  border-radius: 999px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.96);
  color: #2f4156;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 18px 44px rgba(47, 65, 86, 0.11);
}

.seat-result-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.seat-place-card,
.seat-result-card {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #c8d9e6;
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 58px rgba(47, 65, 86, 0.14);
  text-align: center;
}

.seat-place-card strong,
.seat-result-card strong {
  color: #2f4156;
  font-size: 1.14rem;
}

.seat-place-card span,
.seat-result-card span {
  color: #567c8d;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seat-place-card b,
.seat-result-card b {
  color: #2f4156;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.seat-result-card {
  width: 100%;
  cursor: pointer;
}

.seat-place-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.seat-action {
  min-height: 50px;
  border: 1px solid #c8d9e6;
  border-radius: 999px;
  background: #f5efeb;
  color: #567c8d;
  font-weight: 900;
}

.seat-action--primary {
  border-color: #2f4156;
  background: #2f4156;
  color: #ffffff;
}

.seat-map-view {
  position: relative;
  min-height: calc(100svh - 48px);
  overflow: hidden;
  background: #f5efeb;
}

.seat-map-top {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 10;
  display: flex;
  width: min(390px, calc(100% - 28px));
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #c8d9e6;
  border-radius: 999px;
  padding: 8px 10px 8px 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(47, 65, 86, 0.16);
  transform: translateX(-50%);
}

.seat-map-top span {
  display: block;
  color: #567c8d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.seat-map-top strong {
  display: block;
  color: #2f4156;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1;
}

.seat-map-back {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #f5efeb;
  color: #567c8d;
  font-weight: 900;
}

.seat-map-canvas {
  position: absolute;
  inset: 112px 0 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(86, 124, 141, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(86, 124, 141, 0.11) 1px, transparent 1px),
    #f5efeb;
  background-size: 28px 28px;
}

.seat-finder {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(142, 157, 131, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.94), rgba(255, 250, 245, 0.76)),
    #fffaf5;
  box-shadow: 0 24px 58px rgba(48, 39, 32, 0.13);
}

.seat-card {
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid rgba(157, 181, 189, 0.44);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(48, 39, 32, 0.08);
  text-align: center;
}

.seat-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.72rem;
  font-weight: 600;
  line-height: 1.05;
}

.seat-card span {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf3f5;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.seat-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

.seat-search input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(142, 157, 131, 0.38);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.seat-results {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  text-align: left;
}

.seat-result {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(157, 181, 189, 0.46);
  border-radius: 8px;
  background: #fffaf5;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(48, 39, 32, 0.08);
  text-align: center;
}

.seat-result:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.seat-result strong,
.seat-result span {
  display: block;
}

.seat-result span {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf3f5;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.seat-map {
  position: relative;
  width: min(292px, 100%);
  aspect-ratio: 1;
  margin: 22px auto 0;
  border: 1px solid rgba(142, 157, 131, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(157, 181, 189, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(157, 181, 189, 0.12) 1px, transparent 1px),
    rgba(255, 250, 245, 0.58);
  background-size: 22px 22px;
}

.seat-map__table {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(184, 154, 97, 0.56);
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.86);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  box-shadow: 0 12px 22px rgba(48, 39, 32, 0.08);
}

.seat-map__table.is-active {
  border-color: var(--rose);
  background: #f7e5e2;
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(201, 131, 125, 0.22);
}

.seat-map__label {
  position: absolute;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid rgba(47, 43, 40, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.seat-map__label--stage {
  top: 12px;
  left: 12px;
}

.seat-map__label--entry {
  right: 12px;
  bottom: 12px;
}

.seat-map__table--one { top: 56px; left: 40px; }
.seat-map__table--two { top: 56px; right: 40px; }
.seat-map__table--three { top: 122px; left: 28px; }
.seat-map__table--four { top: 122px; right: 28px; }
.seat-map__table--five { bottom: 48px; left: 40px; }
.seat-map__table--six { bottom: 48px; right: 40px; }
.seat-map__table--seven { top: 188px; left: calc(50% - 68px); }
.seat-map__table--eight { top: 188px; right: calc(50% - 68px); }

.seat-map-canvas .seat-map__label--entry {
  right: 18px;
  bottom: 18px;
}

.seat-presidium {
  position: absolute;
  top: 7%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 138px;
  height: 82px;
  place-items: center;
  border: 1px solid #d7e1e8;
  border-radius: 16px;
  background: #ffffff;
  color: #2f4156;
  box-shadow: 0 14px 26px rgba(47, 65, 86, 0.12);
  transform: translateX(-50%);
}

.seat-presidium strong {
  display: block;
  margin-bottom: -18px;
  font-size: 1.25rem;
}

.seat-presidium span {
  color: #567c8d;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.seat-map-canvas .seat-map__table {
  width: clamp(126px, 16vw, 158px);
  height: clamp(126px, 16vw, 158px);
  border: 0;
  background: transparent;
  color: #2f4156;
  font-family: var(--font-sans);
  isolation: isolate;
  overflow: visible;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.seat-map-canvas .seat-map__table strong {
  position: relative;
  z-index: 2;
  display: block;
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1;
}

.seat-map-canvas .seat-map__table span {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 2px;
  color: #567c8d;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.seat-map-canvas .seat-map__table::before {
  content: "";
  position: absolute;
  inset: 31px;
  z-index: 0;
  border: 1px solid #d6e0e6;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(47, 65, 86, 0.12);
}

.seat-map-canvas .seat-chair {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(18px, 3vw, 25px);
  height: clamp(18px, 3vw, 25px);
  border: 1px solid #d8e2e8;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 13px rgba(47, 65, 86, 0.1);
  transform: translate(-50%, -50%) rotate(var(--chair-angle)) translateY(clamp(-67px, -7.1vw, -55px)) rotate(calc(-1 * var(--chair-angle)));
}

.seat-map-canvas .seat-chair:nth-of-type(1) { --chair-angle: 0deg; }
.seat-map-canvas .seat-chair:nth-of-type(2) { --chair-angle: 36deg; }
.seat-map-canvas .seat-chair:nth-of-type(3) { --chair-angle: 72deg; }
.seat-map-canvas .seat-chair:nth-of-type(4) { --chair-angle: 108deg; }
.seat-map-canvas .seat-chair:nth-of-type(5) { --chair-angle: 144deg; }
.seat-map-canvas .seat-chair:nth-of-type(6) { --chair-angle: 180deg; }
.seat-map-canvas .seat-chair:nth-of-type(7) { --chair-angle: 216deg; }
.seat-map-canvas .seat-chair:nth-of-type(8) { --chair-angle: 252deg; }
.seat-map-canvas .seat-chair:nth-of-type(9) { --chair-angle: 288deg; }
.seat-map-canvas .seat-chair:nth-of-type(10) { --chair-angle: 324deg; }

.seat-map-canvas .seat-map__table:hover .seat-chair {
  border-color: #c8d9e6;
}

.seat-map-canvas .seat-map__table.is-active {
  color: #ffffff;
  transform: scale(1.04);
}

.seat-map-canvas .seat-map__table.is-active::before {
  border-color: #2f4156;
  background: #ffffff;
  box-shadow: 0 20px 38px rgba(47, 65, 86, 0.2);
}

.seat-map-canvas .seat-map__table.is-active strong {
  color: #2f4156;
}

.seat-map-canvas .seat-map__table.is-active span {
  color: #567c8d;
}

.seat-map-canvas .seat-map__table.is-active .seat-chair {
  border-color: #2f4156;
  background: #2f4156;
  box-shadow: 0 8px 15px rgba(47, 65, 86, 0.22);
}

.seat-map-canvas .seat-map__table.is-active::after {
  content: "Ваш стол";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 18px);
  min-width: max-content;
  border-radius: 18px;
  padding: 7px 18px;
  background: #2f4156;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(47, 65, 86, 0.24);
  transform: translateX(-50%);
}

.seat-map-canvas .seat-map__table--one { top: 30%; left: 62%; }
.seat-map-canvas .seat-map__table--two { top: 30%; left: 26%; right: auto; }
.seat-map-canvas .seat-map__table--three { top: 62%; left: 26%; }
.seat-map-canvas .seat-map__table--four { top: 62%; left: 50%; right: auto; }

@media (max-width: 620px) {
  .seat-presidium {
    top: 5%;
    width: 118px;
    height: 70px;
  }

  .seat-map-canvas .seat-map__table--one { top: 29%; left: 56%; }
  .seat-map-canvas .seat-map__table--two { top: 29%; left: 16%; }
  .seat-map-canvas .seat-map__table--three { top: 60%; left: 16%; }
  .seat-map-canvas .seat-map__table--four { top: 60%; left: 56%; }
}

.seat-hint {
  max-width: 250px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.swatches span {
  height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(47, 43, 40, 0.12);
  background: var(--color);
}

.place {
  background: #edf3f5;
}

.map-card {
  position: relative;
  min-height: 238px;
  margin: 24px 0 16px;
  border: 1px solid rgba(157, 181, 189, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(157, 181, 189, 0.18) 25%, transparent 25% 50%, rgba(157, 181, 189, 0.18) 50% 75%, transparent 75%),
    #fffaf5;
  background-size: 28px 28px;
  overflow: hidden;
}

.map-card iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.map-card__pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--rose);
  transform: rotate(-45deg);
  box-shadow: 0 9px 22px rgba(201, 131, 125, 0.32);
}

.rsvp {
  background: #fffaf5;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0 18px;
}

.choice-grid button,
.contact-actions a,
.contact-actions button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.choice-grid button.is-selected {
  border-color: var(--rose);
  background: #f7e5e2;
}

.guest-survey {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 238, 238, 0.58);
}

.guest-survey .survey-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.1;
}

.survey-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.survey-field input,
.survey-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
}

.survey-field--details {
  margin-top: -2px;
}

.message-label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 112px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
  background: #fff;
  color: var(--ink);
}

.rsvp-state {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--sage);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.contacts {
  background: #f1f4ed;
  text-align: center;
}

.contacts .phone {
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.contact-actions a,
.contact-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer {
  padding: 36px 24px calc(38px + env(safe-area-inset-bottom));
  background: #3e3832;
  color: #fffaf5;
  text-align: center;
}

.footer p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

@media (min-width: 481px) {
  body {
    padding: 24px 0;
  }

  .phone-shell {
    border-radius: 28px;
  }
}
