.atlas-contact-page {
  color: var(--white);
  background: var(--ink);
}

.atlas-contact-main {
  min-height: 100svh;
  padding: calc(var(--header-height) + 90px) var(--gutter) 110px calc(var(--gutter) + 52px);
  background: radial-gradient(circle at 78% 22%, rgba(221, 177, 81, 0.08), transparent 27%), var(--ink);
}

.atlas-contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.42fr);
  gap: 8vw;
  align-items: end;
  padding-bottom: 68px;
  border-bottom: 1px solid var(--line-light);
}

.atlas-contact-heading h1 {
  max-width: 950px;
  margin: 12px 0 0;
  font-family: "RV Serif", Georgia, serif;
  font-size: clamp(50px, 6.3vw, 94px);
  font-weight: 400;
  line-height: 0.95;
}

.atlas-contact-heading h1 em {
  color: var(--brass);
  font-weight: 400;
}

.atlas-contact-heading > p {
  max-width: 480px;
  margin: 0 0 5px;
  color: rgba(251, 250, 246, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.atlas-contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(500px, 0.86fr);
  gap: 9vw;
  padding-top: 76px;
}

.atlas-contact-aside h2 {
  margin: 0 0 26px;
  font-family: "RV Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.atlas-contact-aside p {
  margin: 0 0 22px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.atlas-contact-aside dl {
  margin: 44px 0 0;
}

.atlas-contact-aside dl > div {
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}

.atlas-contact-aside dt {
  margin-bottom: 8px;
  color: var(--brass);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-contact-aside dd {
  margin: 0;
  font-family: "RV Serif", Georgia, serif;
  font-size: 19px;
}

.atlas-booking-card {
  display: grid;
  gap: 10px;
  margin: 38px 0 8px;
  padding: 24px;
  border: 1px solid rgba(221, 177, 81, 0.42);
  background: rgba(255, 255, 255, 0.035);
}

.atlas-booking-card > span {
  color: var(--brass);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-booking-card strong {
  font-family: "RV Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.atlas-booking-card p {
  margin: 0;
}

.atlas-booking-card button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid rgba(251, 250, 246, 0.34);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.atlas-lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 22px;
}

.atlas-lead-form label {
  display: grid;
  gap: 10px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.atlas-lead-form .atlas-field-wide,
.atlas-lead-form .atlas-privacy,
.atlas-lead-form button,
.atlas-lead-form .atlas-form-message {
  grid-column: 1 / -1;
}

.atlas-lead-form input,
.atlas-lead-form select,
.atlas-lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(251, 250, 246, 0.28);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font: 16px/1.4 "RV Sans", Arial, sans-serif;
}

.atlas-lead-form select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 54px;
  padding: 13px 42px 13px 14px;
  border: 1px solid rgba(251, 250, 246, 0.3);
  background: rgba(255, 255, 255, 0.055);
  color-scheme: dark;
  cursor: pointer;
}

.atlas-lead-form .atlas-select-field {
  position: relative;
}

.atlas-lead-form .atlas-select-field::after {
  position: absolute;
  right: 17px;
  bottom: 22px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
  transform-origin: center;
}

.atlas-lead-form select option {
  color: var(--ink);
  background: var(--paper);
}

.atlas-lead-form textarea { min-height: 110px; resize: vertical; }
.atlas-lead-form input:focus,
.atlas-lead-form select:focus,
.atlas-lead-form textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(221, 177, 81, 0.14);
  outline: 0;
}

.atlas-lead-form .atlas-privacy {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(251, 250, 246, 0.18);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.atlas-lead-form .atlas-privacy input {
  width: 16px;
  min-height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: var(--brass);
}

.atlas-privacy a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

.atlas-lead-form button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid var(--brass);
  color: var(--ink);
  background: var(--brass);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-form-message {
  min-height: 22px;
  margin: 0;
  color: rgba(251, 250, 246, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.atlas-form-message.is-success { color: var(--brass); }
.atlas-form-message.is-error { color: #f2a8a8; }

.atlas-booking-modal[hidden] { display: none; }

.atlas-booking-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
}

.atlas-booking-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(3, 7, 20, 0.78);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.atlas-booking-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100dvh - 56px);
  overflow: auto;
  border: 1px solid rgba(221, 177, 81, 0.5);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.atlas-booking-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(6, 13, 36, 0.16);
}

.atlas-booking-dialog > header span {
  color: var(--brass-deep, #a77d28);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.atlas-booking-dialog h2 {
  margin: 6px 0 3px;
  font: 400 30px/1.08 "RV Serif", Georgia, serif;
}

.atlas-booking-dialog header p,
.atlas-booking-fallback {
  margin: 0;
  color: rgba(6, 13, 36, 0.65);
  font-size: 12px;
}

.atlas-booking-dialog header button {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(6, 13, 36, 0.24);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: 300 28px/1 Arial, sans-serif;
}

.atlas-booking-calendar {
  position: relative;
  min-height: 540px;
}

.atlas-booking-calendar iframe {
  display: block;
  width: 100%;
  min-height: 540px;
  border: 0;
}

.atlas-booking-calendar > p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: rgba(6, 13, 36, 0.6);
  font-size: 12px;
}

.atlas-booking-fallback {
  padding: 14px 28px 18px;
  border-top: 1px solid rgba(6, 13, 36, 0.12);
}

.atlas-booking-fallback a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.atlas-booking-open { overflow: hidden; }

@media (max-width: 900px) {
  .atlas-contact-heading,
  .atlas-contact-layout { grid-template-columns: 1fr; }
  .atlas-contact-heading { gap: 34px; }
}

@media (max-width: 620px) {
  .atlas-contact-main { padding: 138px var(--gutter) 78px; }
  .atlas-contact-heading { padding-bottom: 50px; }
  .atlas-contact-heading h1 { font-size: clamp(40px, 11vw, 48px); line-height: 1; }
  .atlas-contact-layout { gap: 60px; padding-top: 54px; }
  .atlas-lead-form { grid-template-columns: 1fr; }
  .atlas-lead-form label,
  .atlas-lead-form .atlas-privacy,
  .atlas-lead-form button,
  .atlas-lead-form .atlas-form-message { grid-column: 1; }
  .atlas-booking-card { margin-top: 30px; padding: 20px; }
  .atlas-booking-modal { align-items: end; padding: 0; }
  .atlas-booking-dialog { width: 100%; max-height: 91dvh; }
  .atlas-booking-dialog > header { padding: 20px; }
  .atlas-booking-dialog h2 { font-size: 26px; }
  .atlas-booking-calendar,
  .atlas-booking-calendar iframe { min-height: 530px; }
  .atlas-booking-fallback { padding: 12px 20px 18px; }
}
