@font-face {
  font-family: "HeadingNow";
  src: url("../assets/fonts/font-heading.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MontserratLocal";
  src: url("../assets/fonts/font-montserrat.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gogol";
  src: url("../assets/fonts/ofontru_Gogol.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #6B7E50;
  --green-dark: #4f6040;
  --text: #23251f;
  --muted: #747a69;
  --line: rgba(107, 126, 80, .58);
  --cream: #fbfaf7;
  --soft: #f4f2ec;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "MontserratLocal", Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.header-inner {
  height: 100%;
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  width: 265px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand img {
  width: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav a {
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--green);
}

.header-contact {
  min-width: 132px;
  text-align: left;
  font-size: 12px;
  line-height: 1.2;
}

.header-contact .phone {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
}

.header-contact span {
  display: block;
  margin-top: 3px;
  color: #222;
  font-size: 11px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-icons a {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.header-icons svg,
.footer-contacts svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.menu-btn {
  display: none;
  width: 38px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-btn span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--green);
}

.hero {
  position: relative;
  height: 620px;
  min-height: 620px;
  overflow: hidden;
  background: #111;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-position: center 52%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 6, .82) 0%, rgba(8, 9, 6, .50) 42%, rgba(8, 9, 6, .05) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
  color: #fff;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 26px;
  font-family: "HeadingNow", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .08em;
  /* text-transform: uppercase; */
  opacity: .95;
}

/* .hero h1 {
  margin: 0;
  max-width: 760px;
  font-weight: 400;
} */

.hero-title-script {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  font-family: "Gogol", "Marck Script", "Segoe Script", cursive;
  font-size: clamp(42px, 4.8vw, 78px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: .01em;
  text-align: center;
}

.home-hero {
  height: min(760px, calc(100vh - 72px));
  min-height: 620px;
}

.home-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 6, .78) 0%, rgba(8, 9, 6, .56) 48%, rgba(8, 9, 6, .18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .12));
}

.home-hero-content {
  align-items: flex-start;
  text-align: left;
}

.home-hero-content .hero-title-script {
  max-width: 760px;
  margin: 0;
  text-align: left;
  font-size: clamp(54px, 7vw, 112px);
}

.home-hero-text {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.7;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-hero-actions .submit-btn,
.home-hero-actions .outline-btn {
  width: auto;
  min-width: 190px;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border: 1px solid rgba(107, 126, 80, .62);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--green-dark);
  font-family: "HeadingNow", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.outline-btn:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  background: #fff;
}

.script {
  display: block;
  font-family: "Gogol", "Marck Script", "Segoe Script", cursive;
  font-size: clamp(64px, 7vw, 118px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: .01em;
}

.condensed {
  display: block;
  margin-top: 18px;
  font-family: "HeadingNow", Impact, sans-serif;
  font-size: clamp(44px, 5vw, 78px);
  line-height: .95;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.hero-line {
  width: 86px;
  height: 2px;
  margin: 27px auto 23px;
  background: rgba(255, 255, 255, .95);
}

.hero-subtitle {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 500;
}

.section {
  padding: 90px 0;
}

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 620px;
  align-items: center;
  gap: 110px;
}

.intro-text {
  padding-left: 28px;
}

.script.green {
  color: var(--green);
}

.intro h2 {
  margin: 0 0 23px;
  font-family: "Gogol", "Marck Script", "Segoe Script", cursive;
  font-size: 56px;
  line-height: .9;
  font-weight: 400;
  letter-spacing: .01em;
}

.date {
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 20px;
}

.intro p {
  margin: 0 0 19px;
  font-size: 16px;
}

.intro .accent {
  margin-top: 28px;
  color: var(--green);
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
}

.intro-photo {
  aspect-ratio: 1.6 / 1;
  overflow: hidden;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-section {
  padding-top: 34px;
  padding-bottom: 72px;
  background: linear-gradient(180deg, #f7f6f1 0%, #fcfbf8 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-subtitle {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(35, 37, 31, .82);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .01em;
}

.section-title h2 {
  margin: 0;
  color: var(--green);
  font-family: "HeadingNow", Impact, sans-serif;
  font-size: clamp(42px, 4.2vw, 66px);
  line-height: .95;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.flourish {
  display: block;
  width: 72px;
  height: 18px;
  margin: 12px auto 0;
  position: relative;
}

.flourish::before,
.flourish::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 34px;
  height: 1px;
  background: var(--green);
}

.flourish::before {
  right: 50%;
  transform: rotate(-12deg);
}

.flourish::after {
  left: 50%;
  transform: rotate(12deg);
}

.bouquet-form {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 45px 120px 42px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(107, 126, 80, .15);
  border-radius: 62px;
  box-shadow: 0 22px 80px rgba(75, 66, 43, .05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 22px;
}

.field {
  display: block;
}

.field > span:first-child {
  display: block;
  margin: 0 0 9px 58px;
  font-size: 12px;
  color: #2e312b;
}

.input-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: end;
  gap: 16px;
  min-height: 41px;
  border-bottom: 1.5px solid var(--line);
}

.input-line svg {
  width: 25px;
  height: 25px;
  margin-bottom: 9px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.45;
}

.input-line svg path {
  fill: var(--green);
  stroke: none;
  opacity: .65;
}

input,
textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: "MontserratLocal", Montserrat, Arial, sans-serif;
  font-size: 16px;
}

input {
  height: 41px;
}

textarea {
  height: 50px;
  padding: 9px 0 0;
  resize: vertical;
}

::placeholder {
  color: rgba(35, 37, 31, .38);
}

.field-wide {
  grid-column: 1 / -1;
}

.field-wide > span:first-child {
  margin-left: 58px;
}

.submit-btn {
  display: block;
  min-width: 178px;
  height: 52px;
  margin: 34px auto 0;
  border: 0;
  background: var(--green);
  color: #fff;
  font-family: "MontserratLocal", Montserrat, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.submit-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.gallery-section {
  padding-top: 80px;
  padding-bottom: 120px;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 470px 470px;
  gap: 28px;
}

.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: brightness(.95);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 500px 500px;
  gap: 28px;
}

.gallery-item-large {
  grid-column: 1 / 4;
  grid-row: 1;
}

.gallery-item-vertical {
  grid-column: 4 / 5;
  grid-row: 1;
}

.gallery-item-small {
  grid-column: 1 / 2;
  grid-row: 2;
}

.gallery-item-wide {
  grid-column: 2 / 5;
  grid-row: 2;
}

.gift-section {
  padding-top: 0;
  padding-bottom: 50px;
  background: var(--white);
}

.home-services {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(35, 37, 31, .08);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 26px;
}

.service-card h3,
.wedding-service-copy h2,
.subscription-preview h2 {
  margin: 0;
  font-family: "HeadingNow", Impact, sans-serif;
  font-weight: 400;
  line-height: .95;
  letter-spacing: .02em;
  color: var(--green-dark);
}

.service-card h3 {
  font-size: 34px;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.wedding-service {
  background: var(--cream);
}

.wedding-service-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
}

.wedding-service-media {
  overflow: hidden;
  border-radius: 8px;
  min-height: 520px;
}

.wedding-service-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.wedding-service-copy h2,
.subscription-preview h2 {
  font-size: clamp(42px, 5vw, 74px);
}

.wedding-service-copy p,
.subscription-preview p,
.location-copy p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.wedding-service-copy .submit-btn {
  width: auto;
  min-width: 220px;
}

.subscription-preview {
  background: var(--green);
  color: #fff;
}

.subscription-preview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.subscription-preview .eyebrow,
.subscription-preview h2,
.subscription-preview p {
  color: #fff;
}

.subscription-preview p {
  max-width: 760px;
  opacity: .9;
}

.location-section {
  background: var(--soft);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: stretch;
}

.section-title-left {
  margin: 0 0 26px;
  text-align: left;
}

.section-title-left .flourish {
  margin-left: 0;
}

.location-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(107, 126, 80, .28);
}

.location-details p {
  margin: 0;
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(35, 37, 31, .08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gift-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(107, 126, 80, .22);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(64, 57, 37, .06);
}

.gift-card > img {
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.gift-info {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  min-height: 112px;
  padding: 20px 20px 19px;
}

.gift-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}

.gift-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.gift-info h3 {
  margin: 0 0 7px;
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.gift-info p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  background: #fff;
  border-top: 1px solid rgba(107, 126, 80, .18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 210px 170px 1fr 230px 150px;
  align-items: center;
  gap: 42px;
  min-height: 180px;
  padding: 30px 0 28px;
}

.footer-logo img {
  width: 138px;
}

.footer-nav,
.footer-docs {
  display: grid;
  gap: 12px;
  font-size: 13px;
}

.footer-nav a,
.footer-docs a {
  color: #3a3d36;
}

.footer-nav a:hover,
.footer-docs a:hover {
  color: var(--green);
}

.footer-contacts {
  display: grid;
  gap: 11px;
}

.footer-contacts p {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.footer-contacts svg {
  width: 23px;
  height: 23px;
  color: var(--green);
  flex: 0 0 auto;
}

.footer-qr {
  justify-self: end;
}

.footer-qr img {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.footer-bottom {
  width: min(1360px, calc(100% - 64px));
  margin: 0 auto;
  padding: 8px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(107, 126, 80, .12);
  color: #565a51;
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  padding: 15px 22px;
  background: var(--green);
  color: white;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  z-index: 99;
  font-size: 14px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 88px;
  background: rgba(255, 255, 255, .96);
  opacity: 0;
  transition: opacity .25s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.lightbox-content:active {
  cursor: grabbing;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(107, 126, 80, .18);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 78px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 72px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.lightbox-arrow:hover {
  background: transparent;
  opacity: .65;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: var(--green);
  font-size: 14px;
  letter-spacing: .08em;
}

@media (max-width: 1150px) {
  .header-inner {
    gap: 22px;
  }

  .brand {
    width: 220px;
  }

  .nav {
    gap: 18px;
    font-size: 12px;
  }

  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }

  .service-grid {
    gap: 18px;
  }

  .service-card {
    grid-template-rows: 220px 1fr;
  }

  .wedding-service-grid,
  .location-grid {
    gap: 34px;
  }

  .bouquet-form {
    padding-left: 60px;
    padding-right: 60px;
  }

  .footer-grid {
    grid-template-columns: 170px 130px 1fr 180px 130px;
    gap: 26px;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: 66px;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .nav,
  .header-contact,
  .header-icons {
    display: none;
  }

  .nav.open {
    position: absolute;
    display: grid;
    left: 0;
    right: 0;
    top: 66px;
    padding: 24px;
    background: #fff;
    border-bottom: 1px solid rgba(107, 126, 80, .16);
  }

  .container,
  .hero-content {
    width: calc(100% - 36px);
  }

  .hero {
    height: 100vh;
    min-height: 100vh;
  }

  .hero-content {
    height: 100%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .home-hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .home-hero-content .hero-title-script {
    text-align: left;
  }

  .home-hero-text {
    font-size: 17px;
  }

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

  .intro-text {
    padding-left: 0;
  }

  .bouquet-form {
    padding: 34px 24px 34px;
    border-radius: 34px;
  }

  .form-grid,
  .gift-grid,
  .service-grid,
  .wedding-service-grid,
  .subscription-preview-inner,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .subscription-preview-inner {
    justify-items: start;
  }

  .wedding-service-media,
  .wedding-service-media img {
    min-height: 360px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .gallery-item,
  .gallery-item-large,
  .gallery-item-vertical,
  .gallery-item-small,
  .gallery-item-wide {
    grid-column: auto;
    grid-row: auto;
    height: 310px;
  }

  .lightbox {
    padding: 52px 16px;
  }

  .lightbox-arrow {
    display: none;
  }

  .lightbox-close {
    top: 14px;
    right: 16px;
    font-size: 42px;
  }

  .lightbox-counter {
    bottom: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-logo img,
  .footer-qr {
    margin: 0 auto;
    justify-self: center;
  }

  .footer-contacts p {
    justify-content: center;
  }

  .footer-bottom {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 188px;
  }

  .section {
    padding: 48px 0;
  }

  .home-hero {
    min-height: 680px;
  }

  .home-hero-actions {
    width: 100%;
  }

  .home-hero-actions .submit-btn,
  .home-hero-actions .outline-btn {
    width: 100%;
  }

  .hero h1 .script {
    font-size: 50px;
  }

  .hero h1 .condensed {
    font-size: 42px;
  }

  .date {
    font-size: 16px;
  }

  .intro h2 {
    font-size: 40px;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .service-card h3 {
    font-size: 30px;
  }

  .wedding-service-copy h2,
  .subscription-preview h2 {
    font-size: 38px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }

  .input-line {
    grid-template-columns: 28px 1fr;
  }

  .field > span:first-child {
    margin-left: 44px;
  }

  .gift-card > img {
    height: 210px;
  }
}

@media (max-width: 900px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

.error-page {
  min-height: calc(100vh - 72px);
  background: var(--cream);
}

.error-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.error-hero__media {
  position: absolute;
  inset: 0;
  background: url("../assets/img/header-bg.png") center/cover no-repeat;
  transform: scale(1.03);
}

.error-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .58));
}

.error-hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 48px 0;
}

.error-hero__content .hero-title-script {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
}

.error-hero__content p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
}

.error-hero__content .submit-btn {
  width: auto;
  min-width: 180px;
  margin-top: 8px;
  padding: 16px 28px;
}
