:root {
  --ivory: #f1f0e4;
  --gold: #a88a49;
  --ink: #7a622f;
  --line: rgba(168, 138, 73, 0.45);
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: #e4d3ae;
  color: #3f3216;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(241, 240, 228, 0.94);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}

.text-link {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.text-link:hover,
.contacts a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  text-align: center;
}

.flower {
  width: min(220px, 58vw);
  height: auto;
}

.hero-copy h1,
.band h2,
.footer-name {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  line-height: 1.2;
}

.tag,
.occasions {
  margin: 0.85rem 0 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.place,
.contacts,
.actions,
.plus,
.map-link,
.fine,
.footer p {
  margin: 0;
}

.place {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
  margin-top: 1.35rem;
  padding: 0;
  list-style: none;
}

.contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.92rem;
  text-decoration: none;
}

svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: rgba(168, 138, 73, 0.1);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.band {
  scroll-margin-top: 4.5rem;
}

.band + .band {
  border-top: 1px solid var(--line);
}

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
  text-align: center;
}

.band h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

.section > p {
  max-width: 38rem;
  margin: 1rem auto 0;
}

.photos {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.photos img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.points {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
  margin: 2.2rem auto 0;
}

.points div {
  margin: 0;
}

.points dt {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.points dd {
  margin: 0.35rem 0 0;
}

.plus {
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map {
  margin-top: 1.6rem;
  border: 1px solid var(--line);
}

.map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.map-link {
  margin-top: 1.4rem;
}

.fields {
  display: grid;
  gap: 1.15rem;
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: left;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

textarea {
  resize: vertical;
  min-height: 6.5rem;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 1.05rem, calc(100% - 8px) 1.05rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-note {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--ink);
}

.form-note[data-state="error"] {
  color: #6b5428;
}

form .button {
  margin-top: 0.4rem;
}

form .button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.fine {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: var(--gold);
  font-size: 0.82rem;
  line-height: 1.6;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-name {
  font-size: 0.95rem;
}

.footer .contacts {
  margin-top: 0.9rem;
}

.footer p:last-child {
  margin-top: 0.8rem;
  color: var(--gold);
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .top {
    padding-inline: 2rem;
  }

  .hero {
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 3rem;
    padding: 4rem 2rem 5rem;
    text-align: left;
    justify-items: stretch;
  }

  .flower {
    width: 240px;
  }

  .place,
  .contacts,
  .actions {
    justify-content: flex-start;
  }

  .section {
    padding: 5.5rem 2rem;
  }

  .photos {
    grid-template-columns: 1fr 1fr;
  }

  .photos img {
    height: 380px;
  }

  .points {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 2rem;
    text-align: left;
  }

  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .span {
    grid-column: 1 / -1;
  }

  .map iframe {
    height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
