:root {
  --cream: #FFFDF9;
  --white: #FFFFFF;
  --gold: #C5A059;
  --gold-hover: #D4AF37;
  --text: #4A4238;
  --text-soft: #8E8478;
  --line: rgba(197, 160, 89, 0.24);
  --shadow: 0 20px 60px rgba(197, 160, 89, 0.08);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(197, 160, 89, 0.08), transparent 28%),
    var(--cream);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.has-map-sheet,
body.has-date-picker-open,
body.has-viewing-modal {
  overflow: hidden;
}

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

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 42px;
}

main.page-shell {
  position: relative;
  z-index: 20;
}

.contact-brand {
  display: grid;
  justify-items: center;
  margin-bottom: 20px;
  animation: fadeUp 0.5s ease both;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.24s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-back-hint {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 4px;
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(138, 109, 59, 0.08);
  transition: transform 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.logo-back-arrow {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gold);
  transform: translateX(-1px);
}

.logo-link-back:hover .logo-back-hint,
.logo-link-back:focus-visible .logo-back-hint {
  transform: translateX(-2px);
  color: var(--text);
  border-color: rgba(197, 160, 89, 0.38);
}

.brand-logo {
  order: 1;
  width: min(100%, 180px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(197, 160, 89, 0.08));
}

.hero-split {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin-bottom: 0;
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: visible;
  isolation: isolate;
  animation: fadeUp 0.6s ease both;
}

.hero-split::after {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(197, 160, 89, 0.45), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-panel {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.hero-panel-form {
  order: 2;
  position: relative;
  z-index: 4;
}

.hero-panel-about {
  order: 1;
  background: transparent;
}

.panel-inner {
  width: 100%;
  min-height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.panel-inner-form {
  justify-content: flex-start;
  max-width: none;
  margin: 0;
  padding: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 6;
}

.panel-inner-about {
  position: relative;
  justify-content: center;
}

.quality-seal {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 92px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
}

.hero-panel-form h2,
.hero-panel-about h1,
.form-block h3 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.15;
}

.hero-panel-form h2 {
  color: var(--gold);
  font-size: 1.4rem;
}

.hero-panel-about h1 {
  max-width: 700px;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.form-intro {
  max-width: 520px;
  margin: 18px 0 28px;
  color: var(--text-soft);
}

.form-block {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(197, 160, 89, 0.16);
}

.form-block h3 {
  color: var(--gold);
  font-size: 1.4rem;
}

.viewing-open-btn {
  width: 100%;
  margin-top: 8px;
}

.viewing-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.viewing-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.viewing-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background-color: rgba(253, 249, 243, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.viewing-modal-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: 30px 28px 24px;
  border: 1px solid var(--gold);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 24px 60px rgba(74, 66, 56, 0.16);
  z-index: 10001;
}

.viewing-modal-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}

.viewing-modal-panel h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.viewing-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 50%;
  background: rgba(253, 249, 243, 0.92);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.viewing-modal-close:hover {
  transform: rotate(90deg);
  border-color: rgba(197, 160, 89, 0.52);
  box-shadow: 0 10px 22px rgba(197, 160, 89, 0.12);
}

.viewing-modal-close span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.viewing-modal-close span:first-child {
  transform: rotate(45deg);
}

.viewing-modal-close span:last-child {
  transform: rotate(-45deg);
}

.viewing-form-modal {
  gap: 18px;
}

.viewing-modal .field input,
.viewing-modal .date-picker-input,
.viewing-modal .custom-select-input {
  padding: 18px 16px 12px;
  border: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.62);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, rgba(253, 249, 243, 0.94), rgba(255, 255, 255, 0.98));
}

.viewing-modal .field input:focus,
.viewing-modal .date-picker-input:focus,
.viewing-modal .custom-select-input:focus {
  border-bottom-color: var(--gold-hover);
  box-shadow: inset 0 -1px 0 rgba(212, 175, 55, 0.4);
}

.terms-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.terms-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.terms-check span {
  line-height: 1.5;
}

.submit-btn-modal {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.viewing-form {
  display: grid;
  gap: 22px;
}

.field {
  position: relative;
  overflow: visible;
}

.field input,
.field select {
  width: 100%;
  padding: 18px 0 12px;
  border: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.55);
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
  appearance: none;
}

.field select {
  cursor: pointer;
}

.field label {
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--text-soft);
  font-size: 0.92rem;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s ease, color 0.2s ease, top 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-bottom-color: var(--gold-hover);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  top: -2px;
  transform: scale(0.84);
  color: var(--gold);
}

.field-select::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 20px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}

.field-date {
  z-index: 2;
}

.field-type {
  z-index: 2;
}

.field-date.is-open {
  z-index: 10000;
}

.field-type.is-open {
  z-index: 10000;
}

.date-picker-input {
  padding-right: 44px !important;
  cursor: pointer;
  caret-color: transparent;
}

.date-picker-input::placeholder {
  color: transparent;
}

.date-picker-toggle {
  position: absolute;
  right: -2px;
  bottom: 7px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.date-picker-toggle:hover {
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.date-picker-toggle:focus-visible {
  outline: none;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.14);
}

.date-picker-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
}

.date-picker-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(360px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 249, 0.98));
  box-shadow: 0 10px 40px rgba(197, 160, 89, 0.12);
  display: grid;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(197, 160, 89, 0.12);
}

.field-date.is-open .date-picker-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.date-picker-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.16);
}

.date-picker-nav {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.date-picker-nav:hover {
  color: var(--gold-hover);
  background: rgba(197, 160, 89, 0.08);
  transform: scale(1.04);
}

.date-picker-nav:focus-visible,
.date-picker-day:focus-visible,
.date-picker-clear:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.14);
}

.date-picker-current {
  color: var(--text);
  font-family: "Playfair Display", "Cinzel", serif;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: capitalize;
}

.date-picker-weekdays,
.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-weekdays {
  gap: 8px;
}

.date-picker-weekday {
  display: grid;
  place-items: center;
  min-height: 22px;
  color: #A99984;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.date-picker-grid {
  gap: 8px;
}

.date-picker-day {
  width: 100%;
  aspect-ratio: 1;
  min-height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  display: inline-grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.date-picker-day.is-weekend {
  background: rgba(253, 249, 243, 0.95);
}

.date-picker-day.is-outside {
  color: rgba(74, 66, 56, 0.3);
}

.date-picker-day:hover:not(.is-selected) {
  background: var(--cream);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--gold);
  transform: translateY(-1px);
}

.date-picker-day.is-today:not(.is-selected) {
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.46);
}

.date-picker-day.is-selected {
  background: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(197, 160, 89, 0.18);
}

.date-picker-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(197, 160, 89, 0.16);
}

.date-picker-selection {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.date-picker-selection-label {
  color: var(--text-soft);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.date-picker-selection-value {
  color: var(--text);
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-picker-clear {
  border: none;
  background: transparent;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.date-picker-clear:hover {
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.custom-select-input {
  padding-right: 44px !important;
  cursor: pointer;
  caret-color: transparent;
}

.custom-select-input::placeholder {
  color: transparent;
}

.custom-select-toggle {
  position: absolute;
  right: -2px;
  bottom: 7px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gold);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.custom-select-toggle:hover {
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.custom-select-toggle:focus-visible,
.custom-select-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.14);
  border-radius: 16px;
}

.custom-select-toggle-line {
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.field-type.is-open .custom-select-toggle-line:first-child {
  transform: translateY(2px) rotate(45deg);
}

.field-type.is-open .custom-select-toggle-line:last-child {
  transform: translateY(-2px) rotate(-45deg);
}

.custom-select-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(320px, calc(100vw - 48px));
  padding: 10px;
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 249, 0.98));
  box-shadow: 0 10px 40px rgba(197, 160, 89, 0.12);
  display: grid;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(197, 160, 89, 0.12);
}

.field-type.is-open .custom-select-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select-option {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-option:hover {
  border-color: rgba(197, 160, 89, 0.3);
  background: rgba(253, 249, 243, 0.96);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(197, 160, 89, 0.08);
}

.custom-select-option.is-selected {
  border-color: rgba(197, 160, 89, 0.28);
  background: rgba(250, 247, 240, 0.96);
  color: var(--gold);
}

.custom-select-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
}

.custom-select-clear {
  border: none;
  background: transparent;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.custom-select-clear:hover {
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.submit-btn {
  margin-top: 8px;
  min-height: 56px;
  border: 1px solid rgba(197, 160, 89, 0.56);
  border-radius: 6px;
  background: linear-gradient(135deg, #e0bc55, #d4af37 58%, #c59b36);
  color: #1A1A1A;
  box-shadow: 0 10px 24px rgba(197, 160, 89, 0.2);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(197, 160, 89, 0.22);
  filter: saturate(1.05);
}

.contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.meta-item {
  display: grid;
  gap: 3px;
}

.meta-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.meta-item a:hover {
  color: var(--gold);
}

.about-copy {
  color: var(--text-soft);
  font-weight: 300;
  text-align: justify;
}

.about-copy h2 {
  margin: 26px 0 10px;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
}

.about-copy p {
  margin: 0;
}

.map-panorama {
  position: relative;
  z-index: 1;
  padding: 0 0 10px;
}

.map-panorama-frame {
  position: relative;
  width: 100%;
  min-height: 620px;
  margin-top: -1px;
  border-top: 1px solid rgba(197, 160, 89, 0.12);
  border-bottom: 1px solid rgba(197, 160, 89, 0.16);
  border-left: 1px solid rgba(197, 160, 89, 0.12);
  border-right: 1px solid rgba(197, 160, 89, 0.12);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}

.map-panorama-trigger {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.map-panorama-trigger-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(74, 66, 56, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.map-panorama-trigger:hover .map-panorama-trigger-badge {
  transform: translateY(-1px);
  border-color: rgba(197, 160, 89, 0.7);
  box-shadow: 0 14px 26px rgba(74, 66, 56, 0.14);
}

.map-panorama-trigger:focus-visible {
  outline: none;
}

.map-panorama-trigger:focus-visible .map-panorama-trigger-badge {
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15), 0 10px 22px rgba(74, 66, 56, 0.12);
}

.map-panorama-trigger-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.map-panorama-trigger-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.map-panorama-trigger-text {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.map-panorama-frame iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  filter: saturate(0.7) contrast(1.1);
}

.map-nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.map-nav-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.map-nav-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(41, 31, 24, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.map-nav-sheet-panel {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 18px 18px 24px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 249, 0.98));
  box-shadow: 0 -18px 36px rgba(74, 66, 56, 0.16);
  transform: translateY(22px);
  transition: transform 0.24s ease;
}

.map-nav-sheet.is-open .map-nav-sheet-panel {
  transform: translateY(0);
}

.map-nav-sheet-handle {
  width: 64px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.34);
}

.map-nav-sheet-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.map-nav-sheet-panel h2 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.map-nav-sheet-copy {
  margin: 10px auto 18px;
  max-width: 320px;
  color: var(--text-soft);
  font-size: 0.94rem;
  text-align: center;
}

.map-nav-actions {
  display: grid;
  gap: 12px;
}

.map-nav-option {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(197, 160, 89, 0.24);
  border-radius: 20px;
  background: #FFFEFB;
  box-shadow: 0 14px 28px rgba(197, 160, 89, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.map-nav-option:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 160, 89, 0.42);
  box-shadow: 0 18px 32px rgba(197, 160, 89, 0.12);
}

.map-nav-option-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.map-nav-option-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.map-nav-option-icon-waze {
  background: rgba(51, 202, 255, 0.14);
  color: #33CAFF;
}

.map-nav-option-icon-google {
  background: rgba(234, 67, 53, 0.08);
}

.map-nav-option-text {
  display: grid;
  gap: 3px;
}

.map-nav-option-text strong {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-nav-option-text span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.map-nav-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-footer {
  padding: 24px 16px 36px;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .page-shell {
    width: min(100% - 24px, 100%);
    padding: 22px 0 34px;
  }

  .hero-split {
    min-height: 0;
    flex-direction: column;
    margin-bottom: 0;
  }

  .hero-split::after {
    top: 50%;
    bottom: auto;
    left: 30px;
    right: 30px;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.45), transparent);
  }

  .hero-panel-about {
    order: 1;
  }

  .hero-panel-form {
    order: 2;
  }

  .panel-inner {
    padding: 36px 24px;
  }

  .panel-inner-form {
    padding: 36px 24px;
  }

  .panel-inner-about {
    justify-content: flex-start;
  }

  .viewing-modal-panel {
    width: min(100vw - 32px, 620px);
    padding: 28px 24px 22px;
  }

  .quality-seal {
    width: 76px;
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 640px) {
  .logo-back-hint {
    width: 32px;
    height: 32px;
    margin-top: 3px;
  }

  .brand-logo {
    width: min(100%, 150px);
  }

  .contact-brand {
    margin-bottom: 14px;
  }

  .hero-split {
    margin-bottom: 0;
  }

  .panel-inner {
    padding: 28px 18px;
  }

  .panel-inner-form {
    padding: 28px 18px;
  }

  .viewing-modal-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .viewing-modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 10px 20px rgba(74, 66, 56, 0.12);
  }

  .viewing-modal-panel h2 {
    padding-right: 24px;
    font-size: 1.46rem;
  }

  .viewing-open-btn,
  .submit-btn-modal {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .date-picker-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
    max-height: min(72vh, 540px);
    overflow-y: auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius: 24px;
    transform: translateY(8px);
    z-index: 9999;
  }

  .custom-select-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
    max-height: min(62vh, 420px);
    overflow-y: auto;
    padding: 10px;
    border-radius: 24px;
    transform: translateY(8px);
    z-index: 9999;
  }

  .field-date.is-open .date-picker-panel,
  .field-type.is-open .custom-select-panel {
    transform: translateY(0);
  }

  .date-picker-day {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .submit-btn {
    letter-spacing: 1.4px;
    font-size: 0.76rem;
  }

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

  .map-panorama-trigger {
    right: 10px;
    top: 10px;
    left: auto;
    width: auto;
    height: auto;
  }

  .map-panorama-trigger-badge {
    position: static;
    min-height: 40px;
    padding: 9px 12px;
    gap: 7px;
  }

  .map-panorama-trigger-icon,
  .map-panorama-trigger-icon svg {
    width: 16px;
    height: 16px;
  }

  .map-panorama-trigger-text {
    font-size: 10px;
  }

  .map-nav-sheet-panel {
    width: 100%;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .contact-footer {
    padding: 20px 16px 28px;
    letter-spacing: 1px;
  }
}
