* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #f9f9f9;
  color: #1c1c1c;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: #1c1c1c; }

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 56px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 245, 250, 0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0);
  transition: background-color .35s ease, box-shadow .35s ease;
}

.top.scrolled {
  background: #fff5fa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}

.site-name {
  font-size: 20px;
  text-decoration: none;
  white-space: nowrap;
}

.nav { display: flex; }

.nav a {
  padding: 6px 13px;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
}

.nav a:hover { background: rgba(0, 0, 0, .07); }

.nav a.here { font-weight: 700; }

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #1c1c1c;
}

.banner {
  height: clamp(340px, 22vw, 460px);
  padding: 56px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fde3ef;
  border-bottom: 1px solid #f3cfe0;
}

.banner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 130%;
  background: url(img/banner.svg) center / cover no-repeat;
  transform: translate3d(0, var(--shift, 0px), 0);
  will-change: transform;
}

.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 92px;
  background: linear-gradient(rgba(253, 227, 239, .86), rgba(253, 227, 239, .7) 50px, rgba(253, 227, 239, 0));
}

.banner > * {
  position: relative;
  z-index: 1;
}

.banner.home { height: clamp(432px, 28vw, 580px); }

.banner h1 {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  font-size: 45px;
  line-height: 1.3;
}

.banner.home h1 {
  font-size: 60px;
  color: #c04a84;
}

.banner p {
  margin: 14px 0 0;
  font-size: 29px;
  line-height: 1.3;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 40px 60px;
}

.two {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0 0 26px;
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  font-size: 45px;
  line-height: 1.3;
  color: #c04a84;
}

p { margin: 0 0 16px; }

.photo {
  position: relative;
  width: 290px;
  max-width: 100%;
  margin: 26px auto 0;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
}

.two.flip { grid-template-columns: 6fr 5fr; }

.two.flip .photo { order: 2; }

h3 {
  margin: 34px 0 12px;
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.3;
  color: #c04a84;
}

.fill { color: #6d6d6d; font-style: italic; }

.picture {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.lead {
  font-size: 21px;
  margin-bottom: 26px;
}

.doc {
  display: block;
  width: 100%;
  max-width: 960px;
  height: 1120px;
  margin: 0 auto;
  border: 0;
  background: #1f1f1f;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.plans iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  background: #1f1f1f;
}

.plans h3 {
  margin: 14px 0 0;
  font-family: Lora, Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  color: #c04a84;
  text-align: center;
}

.soon {
  padding: 40px 0 80px;
  font-size: 21px;
  text-align: center;
}

.contact p { margin-bottom: 22px; }

.foot {
  padding: 26px 20px;
  background: #fbe3ee;
  font-size: 13px;
  text-align: right;
}

.foot span {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
}

.board {
  position: relative;
  display: inline-block;
  padding: 16px 46px 20px;
  background: #47595f;
  border: 9px solid #ecc9a4;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgba(90, 60, 90, .18);
}

.board::after {
  content: "";
  position: absolute;
  left: -15px;
  right: -15px;
  bottom: -19px;
  height: 10px;
  background: #ddb488;
  border-radius: 3px;
}

.board::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -15px;
  width: 30px;
  height: 7px;
  background: #fff;
  border-radius: 2px;
  box-shadow: -46px 0 0 #ffc4de;
  z-index: 1;
}

.banner .board h1 { color: #fff; font-family: Lora, Georgia, serif; font-weight: 600; }

.banner, .banner.home { height: clamp(480px, 30vw, 600px); }

.banner .board {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 540px;
  height: 176px;
  padding: 0 16px 4px;
  border-width: 11px;
}

.banner .board h1 { font-size: 46px; line-height: 1.2; }

.banner.home .board h1 { font-size: 80px; }

.banner .board + p { margin-top: 34px; }

@media (max-width: 860px) {
  .top { padding: 0 8px 0 18px; }

  .menu-button { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    padding: 6px 0 10px;
    flex-direction: column;
    background: #fff5fa;
    box-shadow: 0 3px 4px rgba(0, 0, 0, .18);
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 12px 22px;
    border-radius: 0;
  }

  .top.menu-open { background: #fff5fa; }

  .banner { height: 250px; }

  .banner.home { height: 300px; }

  .banner h1 { font-size: 32px; }

  .banner.home h1 { font-size: 42px; }

  .banner p { font-size: 21px; }

  .banner, .banner.home { height: 330px; }

  .banner .board { width: 296px; height: 96px; padding: 0 8px 2px; border-width: 8px; }

  .banner .board h1 { font-size: 26px; }

  .banner.home .board h1 { font-size: 46px; }

  .banner .board + p { margin-top: 28px; }

  .wrap { padding: 32px 20px 48px; }

  .two {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  h2 { font-size: 32px; margin-bottom: 18px; }

  .photo { width: 240px; }

  .two.flip { grid-template-columns: 1fr; }

  .two.flip .photo { order: 0; }

  h3 { font-size: 22px; margin-top: 28px; }

  .picture { width: 260px; }

  .doc { height: 620px; }

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

  .foot { text-align: center; }
}
