:root {
  --groom-ink: #242424;
  --groom-copy: #595956;
  --groom-paper: #F2ECE7;
  --groom-blue: #3265B4;
  --groom-orange: #E3601C;
  --groom-orange-dark: #C64F13;
  --groom-field: #E2D8D0;
  --section-inset: 52px;
}

html {
  background-color: var(--groom-paper);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--groom-ink);
  background-color: var(--groom-paper);
  font-family: var(--bs-body-font-family);
}

.site-header {
  --site-header-top: 12px;
  position: fixed;
  z-index: 20;
  inset: var(--site-header-top) 0 auto;
  display: flex;
  justify-content: center;
  padding-inline: 12px;
}

.site-nav-width {
  --site-nav-height: 64px;
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--site-nav-height);
  max-width: 1440px;
}

.site-nav-surface {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
}

.site-nav-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: 100%;
  padding: 8px 8px 8px 14px;
}

.site-brand {
  position: relative;
  display: block;
  width: 136px;
  /* Reserve only the letters' height; the SVG tail extends below this box. */
  aspect-ratio: 5000 / 1232;
  justify-self: start;
  line-height: 0;
  transform: translateY(4px);
}

.site-brand img {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: auto;
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
}

.site-nav-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding-inline: 14px;
  color: var(--groom-copy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav-link[aria-disabled="true"],
.site-menu-link[aria-disabled="true"] {
  opacity: 0.52;
  cursor: default;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  grid-column: 3;
  justify-self: end;
  gap: 8px;
}

.site-booking {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  border: 0;
  background: var(--groom-orange);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.site-menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--groom-paper);
  color: var(--groom-ink);
  cursor: pointer;
}

.site-menu-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.site-menu-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: rgb(36 36 36 / 32%);
  touch-action: none;
}

.site-menu-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + 12px);
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--site-header-top) - var(--site-nav-height) - 24px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 24px max(24px, env(safe-area-inset-bottom));
  background: #fff;
}

.site-menu-content {
  display: grid;
  flex: none;
  gap: 28px;
  margin-top: auto;
}

.site-menu-content nav {
  display: grid;
  gap: 12px;
}

.site-menu-link {
  display: flex;
  min-height: 0;
  align-items: center;
  padding-block: 5px;
  color: var(--groom-ink);
  font-family: var(--groom-heading-font-family);
  font-size: 78px;
  line-height: 1.04;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-menu-contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  color: var(--groom-copy);
  font-size: 14px;
  font-style: normal;
  line-height: 1.3;
}

.site-menu-contact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.site-menu-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--groom-orange);
}

.hero {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 560px;
  padding: 0 12px 12px;
}

.hero-shell {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-top: 88px;
}

.hero-services-scene {
  position: relative;
}

.hero-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #332e2c;
  color: #fff;
  isolation: isolate;
}

.hero-panel-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-panel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  opacity: 0;
  transition: opacity 320ms ease;
}

.hero-panel-poster {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-panel-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-panel-video.is-playing {
  opacity: 1;
}

.hero-panel-scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(25 27 29 / 8%) 20%,
    rgb(25 27 29 / 18%) 52%,
    rgb(25 27 29 / 72%) 100%
  );
}

.hero-content {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: var(--section-inset);
}

.services {
  position: relative;
  z-index: 1;
  margin-top: -28px;
  padding: 0 12px 12px;
}

.services-shell {
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(48px, 5vw, 72px) var(--section-inset);
  background: var(--groom-orange);
}

.services h2 {
  margin: 0 0 64px;
  color: #fff;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.04;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  color: var(--groom-ink);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.15;
  white-space: nowrap;
}

.service-card-image {
  min-width: 0;
  min-height: 0;
}

.service-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.service-prices {
  min-width: 0;
  margin: 0;
}

.service-prices div {
  min-width: 0;
}

.service-prices dt {
  color: var(--groom-copy);
  font-size: 11px;
  line-height: 1.3;
}

.service-prices dd {
  margin: 0;
  color: var(--groom-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.service-card {
  grid-template-columns: minmax(0, 1fr) minmax(60px, 42%);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 24px 8px;
  padding: 24px;
}

.service-card-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-width: 0;
}

.service-card-image {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 200px;
}

.service-card h3 {
  min-width: 0;
}

.service-card .service-card-title--wrap {
  white-space: normal;
  text-wrap: balance;
}

.service-card-description {
  margin: 12px 0 0;
  color: var(--groom-copy);
  font-size: 14px;
  line-height: 1.45;
}

.service-prices {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-prices dd {
  margin-top: 6px;
}

.service-additional {
  width: min(100%, 840px);
  margin: 64px auto 0;
  color: #fff;
}

.service-additional h3 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.15;
}

.service-additional ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 840px;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-additional li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.35;
}

.service-additional li + li {
  border-top: 1px solid rgb(255 255 255 / 38%);
}

.service-additional li strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.portfolio-section {
  position: relative;
  height: calc(100svh + var(--portfolio-scroll-distance, 0px));
  padding: 0;
}

.portfolio-sticky {
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  height: 100svh;
  align-items: center;
  overflow: hidden;
}

.portfolio-shell {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.portfolio-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-inline: var(--section-inset);
}

.portfolio-eyebrow {
  margin: 0 0 14px;
  color: var(--groom-copy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.portfolio-header h2 {
  margin: 0;
  color: var(--groom-ink);
  font-size: clamp(46px, 6vw, 88px);
  line-height: .96;
}

.portfolio-hint {
  max-width: 260px;
  margin: 0 0 4px;
  color: var(--groom-copy);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.portfolio-track-viewport {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  width: max-content;
  gap: 16px;
  margin: 0;
  padding: 0 var(--section-inset);
  list-style: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.portfolio-track li {
  flex: 0 0 clamp(240px, 26vw, 360px);
  min-width: 0;
}

.portfolio-photo {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #fff;
}

.portfolio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.important-section {
  padding: 12px;
  background: var(--groom-paper);
}

.important-shell {
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(52px, 7vw, 96px) var(--section-inset) clamp(24px, 4vw, 48px);
  background: #fff;
  color: var(--groom-ink);
  overflow: hidden;
}

.important-header {
  max-width: 840px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.important-header h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 84px);
  line-height: .98;
}

.important-faq {
  max-width: 980px;
  margin-inline: auto;
}

.important-item {
  border-top: 1px solid rgb(36 36 36 / 18%);
}

.important-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  color: var(--groom-ink);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  cursor: pointer;
  list-style: none;
}

.important-item summary::-webkit-details-marker {
  display: none;
}

.important-item summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgb(36 36 36 / 28%);
  border-radius: 50%;
  content: "+";
  font-family: var(--bs-body-font-family);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.important-item[open] summary::after {
  content: "−";
}

.important-item summary:focus-visible {
  outline: 2px solid var(--groom-blue);
  outline-offset: 4px;
}

.important-item p {
  max-width: 720px;
  margin: -4px 56px 24px 0;
  color: var(--groom-copy);
  font-size: 16px;
  line-height: 1.5;
}

.directions-section {
  padding: 0 12px 12px;
  background: var(--groom-paper);
}

.directions-shell {
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(56px, 8vw, 112px) var(--section-inset);
}

.directions-content {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(32px, 7vw, 112px);
}

.directions-copy {
  min-width: 0;
}

.directions-eyebrow {
  margin: 0 0 14px;
  color: var(--groom-copy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.directions-copy h2 {
  max-width: 540px;
  margin: 0;
  color: var(--groom-ink);
  font-size: clamp(44px, 6vw, 84px);
  line-height: .96;
}

.directions-address {
  display: grid;
  gap: 4px;
  margin: 32px 0 0;
  color: var(--groom-copy);
  font-size: 16px;
  font-style: normal;
  line-height: 1.35;
}

.directions-address strong {
  color: var(--groom-ink);
  font-size: 20px;
  font-weight: 600;
}

.directions-contacts {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.directions-contacts a {
  display: grid;
  gap: 3px;
  color: var(--groom-ink);
  text-decoration: none;
}

.directions-contacts a span {
  color: var(--groom-copy);
  font-size: 12px;
  line-height: 1.3;
}

.directions-contacts a strong {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.directions-contacts a:hover strong {
  color: var(--groom-orange-dark);
}

.directions-note {
  max-width: 34ch;
  margin: 32px 0 0;
  color: var(--groom-copy);
  font-size: 12px;
  line-height: 1.45;
}

.directions-map-shell {
  min-width: 0;
  overflow: hidden;
  background: #e9e4dd;
}

.directions-map-frame {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #e9e4dd;
}

.directions-map,
#groom-map .directions-map.maplibregl-map {
  position: absolute;
  inset: 0;
}

.directions-map-attribution {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgb(255 255 255 / 90%);
  color: #596056;
  font-size: 10px;
  line-height: 1.3;
}

.directions-map-attribution a {
  color: inherit;
  text-decoration: none;
}

.directions-map-attribution a:hover {
  text-decoration: underline;
}

.directions-map-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #e9e4dd;
  color: var(--groom-copy);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.directions-map-marker {
  width: 28px;
  height: 28px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--marker-color);
  box-shadow: 0 5px 16px rgb(36 36 36 / 26%);
  transform: rotate(-45deg);
}

.directions-map-marker::after {
  display: block;
  width: 7px;
  height: 7px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.site-footer {
  position: relative;
  display: flow-root;
  padding: 0;
  background: var(--groom-paper);
}

.site-footer-cap {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 88px;
  background: #242424;
}

.site-footer-body {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 40px 0 0;
  padding: 32px max(var(--section-inset), calc((100% - 1440px) / 2 + var(--section-inset))) 24px;
  background: #242424;
  color: #fff;
}

.site-footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr) minmax(220px, .8fr);
  gap: 48px;
}

.site-footer-brand img {
  display: block;
  width: min(170px, 100%);
  filter: brightness(0) invert(1);
}

.site-footer-brand p {
  margin: 20px 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: 14px;
  line-height: 1.4;
}

.site-footer-nav,
.site-footer-contacts {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer-nav a,
.site-footer-contacts a {
  color: rgb(255 255 255 / 82%);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}

.site-footer-nav a:hover,
.site-footer-contacts a:hover {
  color: #fff;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  color: rgb(255 255 255 / 48%);
  font-size: 12px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 860px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 78px;
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-booking-form {
  display: grid;
  width: 100%;
  max-width: 360px;
  justify-self: end;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 12px 32px rgb(18 23 26 / 12%);
}

.hero-booking-form input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: var(--groom-field);
  color: var(--groom-ink);
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.hero-booking-form input::placeholder {
  color: var(--groom-copy);
}

.hero-booking-form input:focus {
  box-shadow: inset 0 0 0 2px var(--groom-blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-form-submit {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  background: var(--groom-orange);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.hero-form-submit:hover {
  background: var(--groom-orange-dark);
}

.site-brand:focus-visible,
.site-nav-link:focus-visible,
.site-menu-link:focus-visible,
.site-booking:focus-visible,
.site-menu-toggle:focus-visible,
.hero-form-submit:focus-visible {
  outline: 2px solid var(--groom-blue);
  outline-offset: 4px;
}

[data-squircle]:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--groom-blue);
}

@media (hover: hover) {
  .site-nav-link:not([aria-disabled="true"]):hover {
    color: var(--groom-blue);
  }

  .site-booking:hover {
    background: var(--groom-orange-dark);
  }

  .site-menu-link:not([aria-disabled="true"]):hover {
    color: var(--groom-blue);
  }

}

.booking-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--groom-ink);
}

.booking-dialog[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.booking-dialog::backdrop {
  background: rgb(24 23 22 / 50%);
}

.booking-sheet {
  display: flex;
  width: min(720px, calc(100% - 24px));
  height: calc(min(760px, 78dvh) + 32px);
  max-height: calc(100dvh + 20px);
  flex-direction: column;
  margin-bottom: -32px;
  padding-bottom: 32px;
  overflow: hidden;
  background: #fff;
}

.booking-sheet-grab {
  display: grid;
  width: 100%;
  height: 28px;
  flex: none;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.booking-sheet-grab:active {
  cursor: grabbing;
}

.booking-sheet-grab span {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #c8bfb8;
}

.booking-sheet-grab:focus-visible {
  outline: 2px solid var(--groom-blue);
  outline-offset: -4px;
}

.booking-sheet-header {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 8px 32px 24px;
}

.booking-sheet-header h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.1;
}

.booking-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 0;
  background: var(--groom-paper);
  color: var(--groom-ink);
  cursor: pointer;
}

.booking-close svg {
  width: 22px;
  height: 22px;
}

.booking-full-form {
  display: grid;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 4px 32px max(32px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.booking-group {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-group legend {
  margin-bottom: 16px;
  padding: 0;
  font-size: 16px;
  font-weight: 650;
}

.booking-fields {
  display: grid;
  gap: 16px;
}

.booking-fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-field {
  display: grid;
  min-width: 0;
  gap: 8px;
  color: var(--groom-ink);
  font-size: 14px;
  font-weight: 500;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: var(--groom-paper);
  color: var(--groom-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.booking-field input,
.booking-field select {
  height: 52px;
  min-height: 52px;
}

.booking-field select {
  appearance: none;
  padding-right: 44px;
}

.booking-field textarea {
  min-height: 94px;
  padding-block: 14px;
  resize: vertical;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: var(--groom-copy);
  opacity: 1;
}

.booking-select-wrap,
.booking-date {
  position: relative;
  display: block;
  min-width: 0;
}

.booking-date {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.booking-date input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.booking-date input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}

.booking-select-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.booking-date[data-empty="true"]:not(:focus-within)::after {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--groom-copy);
  content: "Желаемая дата";
  font-size: 16px;
  font-weight: 400;
  pointer-events: none;
  transform: translateY(-50%);
}

.booking-date[data-empty="true"]:not(:focus-within) input {
  color: transparent;
}

.booking-services {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-services legend {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}

.booking-service-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-service-option {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  background: var(--groom-paper);
  color: var(--groom-ink);
  font-size: 14px;
  cursor: pointer;
}

.booking-service-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.booking-service-option:has(input:checked) {
  background: var(--groom-ink);
  color: #fff;
}

.booking-service-option:has(input:focus-visible) {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--groom-blue);
}

.booking-field input:focus-visible,
.booking-field select:focus-visible,
.booking-field textarea:focus-visible,
.booking-close:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--groom-blue);
}

.booking-submit-area {
  display: grid;
  gap: 12px;
}

.booking-submit {
  min-height: 52px;
  border: 0;
  background: var(--groom-orange);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.booking-submit:hover {
  background: var(--groom-orange-dark);
}

.booking-submit:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--groom-blue);
}

.booking-submit-area p {
  margin: 0;
  color: var(--groom-copy);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.booking-submit-area p:empty {
  display: none;
}

@media (max-width: 640px) {
  .booking-sheet {
    width: 100%;
    height: calc(min(720px, 78dvh) + 32px);
  }

  .booking-sheet-header {
    padding: 4px 24px 20px;
  }

  .booking-full-form {
    gap: 24px;
    padding: 4px 24px max(28px, env(safe-area-inset-bottom));
  }

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

@media (prefers-reduced-motion: no-preference) {
  @keyframes booking-sheet-enter {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .booking-dialog[open] .booking-sheet {
    animation: booking-sheet-enter 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

.site-booking:active,
.hero-form-submit:active,
.site-menu-toggle:active {
  transform: translateY(1px);
}

@media (max-width: 1100px) {
  .site-nav-links {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  :root { --section-inset: 40px; }

  .site-menu-link {
    font-size: 60px;
  }

  .hero-booking-form input {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: var(--section-inset);
  }

  .hero-booking-form {
    justify-self: start;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  :root { --section-inset: 24px; }

  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    --site-header-top: 10px;
    padding-inline: 12px;
  }

  .site-menu-link {
    font-size: 42px;
    line-height: 1;
  }

  .site-nav-width {
    --site-nav-height: 56px;
  }

  .site-nav-content {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 6px;
  }

  .site-nav-actions {
    grid-column: 2;
    gap: 6px;
  }

  .site-brand {
    width: 112px;
    margin-inline-start: 6px;
  }

  .site-booking {
    min-height: 42px;
    padding-inline: 17px;
    font-size: 13px;
  }

  .site-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    height: 100svh;
    min-height: 540px;
    padding-inline: 12px;
    padding-bottom: 12px;
  }

  .hero-shell {
    padding-top: 78px;
  }

  .hero-content {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    padding: var(--section-inset);
    padding-bottom: calc(var(--section-inset) + 10px);
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-booking-form {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-booking-form input,
  .hero-form-submit {
    width: 100%;
  }

  .hero-form-submit {
    grid-column: auto;
  }

  .services-shell {
    padding: 40px var(--section-inset);
  }

  .services h2 {
    margin-bottom: 36px;
  }

  .service-additional {
    margin-top: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card h3 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .portfolio-header {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .portfolio-header h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .portfolio-hint {
    margin: 0;
    text-align: left;
  }

  .portfolio-track {
    gap: 10px;
  }

  .portfolio-track li {
    flex-basis: 74vw;
  }

  .important-header h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .important-item summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 16px;
    padding: 20px 0;
    font-size: 22px;
  }

  .important-item summary::after {
    width: 28px;
    height: 28px;
    font-size: 19px;
  }

  .important-item p {
    margin-right: 44px;
    font-size: 15px;
  }

  .directions-section {
    padding-bottom: 12px;
  }

  .directions-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .directions-copy h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .directions-address {
    margin-top: 26px;
  }

  .directions-contacts {
    margin-top: 28px;
  }

  .directions-map-frame {
    min-height: 360px;
  }

  .directions-map-attribution {
    right: 6px;
    bottom: 6px;
    font-size: 9px;
  }

  .site-footer-cap {
    right: 0;
    left: 0;
    height: 72px;
  }

  .site-footer-body {
    margin-top: 32px;
    padding-top: 24px;
  }

  .site-footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-bottom {
    align-items: start;
    flex-direction: column;
    margin-top: 32px;
  }

}

@media (max-width: 360px) {
  :root { --section-inset: 20px; }

  .site-brand {
    width: 104px;
  }

  .site-menu-link {
    font-size: 38px;
  }

  .site-booking {
    padding-inline: 13px;
  }

  .hero-content {
    padding: var(--section-inset);
    padding-bottom: calc(var(--section-inset) + 10px);
  }

  .hero h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes nav-enter {
    from {
      opacity: 0;
      transform: translateY(-18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes hero-image-enter {
    from {
      opacity: 0.65;
      transform: scale(1.04);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes hero-copy-enter {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .site-nav-width {
    animation: nav-enter 650ms cubic-bezier(0.2, 0.8, 0.2, 1) 100ms both;
  }

  .hero-panel-poster,
  .hero-panel-video {
    animation: hero-image-enter 1400ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .hero-copy,
  .hero-booking-form {
    animation: hero-copy-enter 650ms cubic-bezier(0.2, 0.8, 0.2, 1) 220ms both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    position: relative;
  }

  html {
    scroll-behavior: auto;
  }

  .site-nav-link,
  .site-booking,
  .site-menu-link,
  .site-menu-toggle,
  .hero-form-submit {
    transition: none;
  }
}


.booking-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--groom-copy); font-size: 13px; line-height: 1.45; }
.booking-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--groom-orange-dark); }
.booking-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal-page { max-width: 820px; margin: 0 auto; padding: 64px var(--section-inset) 96px; color: #242424; line-height: 1.6; }
.legal-page h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.1; }
.legal-page h2 { margin-top: 36px; font-size: 22px; }
.legal-page a { color: inherit; }

.booking-privacy { margin: 0; color: var(--groom-copy); font-size: 13px; line-height: 1.45; }
.booking-privacy a { color: inherit; text-underline-offset: 2px; }

.site-footer-bottom span:last-child { max-width: 530px; }

.directions-socials { display: grid; gap: 3px; }
.directions-socials > span { color: var(--groom-copy); font-size: 12px; line-height: 1.3; }
.directions-socials > div { display: flex; flex-wrap: wrap; gap: 8px 20px; }
