:root {
  --paper: #fcf7f1;
  --paper-deep: #fcf7f1;
  --forest: #2f4539;
  --teal: #1f5964;
  --gold: #b78a42;
  --wheat: #d3b476;
  --ink: #2f3f36;
  --line: rgba(183, 138, 66, .62);
  --white: #fcf7f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fcf7f1;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.42;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(183,138,66,.10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 65%, rgba(47,69,57,.05) 0 1px, transparent 1.5px);
  background-size: 24px 24px, 31px 31px;
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; background: white; padding: .5rem 1rem; }

.page-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 18px auto;
  background: #fcf7f1;
  border: 1px solid var(--gold);
  box-shadow: 0 18px 60px rgba(47,69,57,.08);
  overflow: hidden;
}

.topbar {
  padding: 1.35rem 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(183,138,66,.25);
}
.topbar nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.topbar a { text-decoration: none; }
.topbar span { color: var(--gold); }

.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 3rem 2rem 2rem;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}
.botanical {
  position: absolute;
  background: url("botanical-realistic.png") center / contain no-repeat;
  pointer-events: none;
}
.botanical--left {
  width: 280px;
  height: 430px;
  left: -30px;
  bottom: 25px;
}
.botanical--right {
  width: 310px;
  height: 470px;
  right: -28px;
  top: 18px;
  transform: rotate(180deg);
}
.day,
.hero-label,
.hero-time,
.hero-copy {
  text-transform: uppercase;
  letter-spacing: .16em;
}
.day { margin: 0 0 .45rem; font-size: .92rem; }
.hero-date {
  margin: 0;
  color: var(--gold);
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  line-height: 1;
}
.hero-date span { margin: 0 .18em; font-weight: 300; }
.hero-time { margin: .45rem 0 1rem; font-size: 1rem; }
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: var(--gold);
  margin: .8rem 0;
}
.divider span {
  width: 110px;
  height: 1px;
  background: var(--line);
}
.divider b { font-weight: 400; }
h1 {
  margin: .15rem 0 .6rem;
  color: var(--forest);
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(4.8rem, 11vw, 8rem);
  line-height: .92;
}
h1 em { color: var(--gold); font-style: normal; }
.hero-copy { font-size: .95rem; margin: .8rem 0 1.8rem; }
.hero-label { font-size: .82rem; margin-bottom: .2rem; }
.place {
  margin: 0 0 .7rem;
  color: var(--gold);
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}
.map-link { text-underline-offset: .18em; }

.section-block,
.two-column-section {
  padding: 2.3rem 2rem;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 1.5rem;
}
.section-title span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-title h2,
.bottom-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
}
.section-intro {
  text-align: center;
  margin: -.45rem auto 1.4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-column {
  padding: 1.4rem 1.1rem 1.7rem;
  text-align: center;
  position: relative;
}
.info-column + .info-column { border-left: 1px solid rgba(183,138,66,.38); }
.icon {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}
.icon img {
  display: block;
  max-width: 58px;
  max-height: 52px;
  width: auto;
  height: auto;
}
.info-column h3 {
  margin: 0 0 .9rem;
  font-size: .96rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.info-column p {
  margin: .55rem 0;
  font-size: .98rem;
}
.info-column strong,
.gold-emphasis {
  color: var(--gold);
  font-weight: 600;
}
.inline-link {
  display: inline-block;
  margin-top: .5rem;
  text-underline-offset: .18em;
  font-weight: 600;
}

.rsvp-form {
  max-width: 930px;
  margin: 0 auto;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 1rem;
  border: 1px solid rgba(183,138,66,.42);
  border-radius: 10px;
  background: rgba(255,253,248,.66);
}
.rsvp-form label {
  display: grid;
  gap: .45rem;
  align-content: start;
  text-align: center;
}
.rsvp-form label > span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.rsvp-form small { font-size: .78rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(183,138,66,.45);
  background: rgba(255,253,248,.88);
  padding: .72rem .8rem;
  font: inherit;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(31,89,100,.18);
  border-color: var(--teal);
}
.form-submit {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: .55rem;
}
.form-status { margin: 0; text-align: center; color: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1.2rem;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: inherit;
  font-size: .78rem;
  cursor: pointer;
}
.button:hover { background: var(--teal); }
.button-small { font-size: .7rem; padding: .58rem .85rem; }

.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.bottom-card {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.bottom-card p { margin: .45rem 0; }
.payment-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 1rem;
}
.payment-row img {
  width: 150px;
  background: white;
  padding: .4rem;
  border: 1px solid var(--line);
}
.account-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
}
.account-number {
  font-size: 1.35rem;
  margin: .25rem 0 .8rem !important;
}
.heart-note {
  font-size: .86rem;
  color: var(--ink);
}
.copy-status { min-height: 1.2em; margin: .35rem 0 0 !important; color: var(--teal); }

.footer {
  position: relative;
  text-align: center;
  padding: 2.8rem 1rem 2.2rem;
  overflow: hidden;
}
.botanical--footer-left {
  width: 190px;
  height: 280px;
  left: -35px;
  bottom: -55px;
}
.botanical--footer-right {
  width: 190px;
  height: 280px;
  right: -35px;
  bottom: -55px;
  transform: rotate(180deg) scaleX(-1);
}
.footer-title {
  margin: .25rem 0 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.footer p:last-child {
  margin: .25rem 0 0;
  text-transform: uppercase;
  letter-spacing: .1em;
}

@media (max-width: 900px) {
  .botanical--left,
  .botanical--right { opacity: .38; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-column:nth-child(3) { border-left: none; border-top: 1px solid rgba(183,138,66,.38); }
  .info-column:nth-child(4) { border-top: 1px solid rgba(183,138,66,.38); }
  .rsvp-form { grid-template-columns: 1fr; }
  .two-column-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .page-shell { width: calc(100% - 10px); margin: 5px auto; }
  .topbar { position: sticky; top: 0; z-index: 20; background: #fcf7f1; }
  .topbar nav { font-size: .66rem; gap: .45rem .65rem; }
  .hero { min-height: 560px; padding: 2rem 1rem 1rem; }
  .botanical--left { width: 150px; height: 260px; left: -45px; bottom: 10px; }
  .botanical--right { width: 165px; height: 280px; right: -50px; top: 20px; }
  .section-block,
  .two-column-section { padding: 1.8rem 1rem; }
  .info-grid { grid-template-columns: 1fr; }
  .info-column + .info-column { border-left: none; border-top: 1px solid rgba(183,138,66,.38); }
  .payment-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .section-title h2 { font-size: .83rem; text-align: center; }
  .section-title span { min-width: 30px; }

  /* Mobile: keep the footer botanicals below the closing text. */
  .footer { padding-bottom: 8.5rem; }
  .footer .divider,
  .footer .footer-title,
  .footer p {
    position: relative;
    z-index: 1;
  }
  .botanical--footer-left,
  .botanical--footer-right {
    width: 145px;
    height: 205px;
    bottom: -100px;
  }
  .botanical--footer-left { left: -28px; }
  .botanical--footer-right { right: -28px; }
}

/* Unified background to match the floral artwork */
html, body, .page-shell, main, header, footer, section {
  background-color: #fcf7f1;
}

/* PRACOVNÍ VERZE 1 – úprava formuláře */
.rsvp-form label {
  grid-template-rows: auto 48px;
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  height: 48px;
  min-height: 48px;
}
.rsvp-form textarea {
  resize: vertical;
  line-height: 1.25;
}
.rsvp-form textarea::placeholder,
.rsvp-form input::placeholder {
  color: rgba(47, 63, 54, .68);
  opacity: 1;
}
