/* Final overrides for the August 2026 customer-requested fixes. */

.support-start .support-phone-field {
  display: block;
}

.support-start .support-phone-field .PhoneInput {
  position: relative;
  display: block;
  min-height: 44px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.support-start .support-phone-field .PhoneInput:focus-within {
  border-color: #a98a00;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, .22);
}

.support-start .support-phone-field .booking-detected-country {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex !important;
  width: 28px;
  align-items: center !important;
  justify-content: center;
  margin: 0 !important;
  pointer-events: none;
}

.support-start .support-phone-field .booking-country-name {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.support-start .support-phone-field .PhoneInputInput {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px 10px 52px;
  background: transparent;
  color: #111;
  outline: 0;
  font: 14px/1.3 "HelveticaNeueCyr", Arial, sans-serif;
}

@media (min-width: 901px) {
  .top-nav {
    left: 278px !important;
    width: 1172px !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }

  .booking-modal {
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
  }

  .booking-dialog {
    top: auto !important;
    width: min(1100px, calc(100vw - 96px)) !important;
    height: auto !important;
    max-height: min(760px, calc(100dvh - 96px)) !important;
    padding: 32px 38px 30px !important;
    border-radius: 32px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .booking-dialog h2 {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 24px !important;
    padding: 0 54px !important;
    font-size: 34px !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  .booking-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start;
    gap: 44px !important;
  }

  .booking-calendar,
  .booking-details {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .booking-calendar > p {
    margin: 0 0 14px !important;
    font-size: 16px !important;
  }

  .calendar-days {
    min-height: 228px !important;
  }

  .time-picker {
    margin-top: 14px !important;
  }

  .time-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .booking-details {
    display: flex !important;
    flex-direction: column !important;
  }

  .booking-details > label,
  .booking-details > label:not(.booking-file) {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
  }

  .booking-details label > input:not([type="file"]),
  .booking-details label > textarea,
  .booking-details label > select {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 46px !important;
    padding: 12px 0 0 !important;
  }

  .booking-details > .booking-consumables,
  .booking-details > .booking-policy {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: 34px !important;
  }

  .booking-details > .booking-consumables input,
  .booking-details > .booking-policy input {
    position: static !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    padding: 0 !important;
  }

  .booking-details .booking-file {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 132px !important;
    margin-top: 10px !important;
  }

  .booking-details .submit-booking {
    width: 100% !important;
    height: 58px !important;
    margin: 18px 0 0 !important;
  }

  .booking-details #bookingMessage {
    position: static !important;
    width: auto !important;
    min-height: 20px !important;
    margin-top: 8px !important;
  }

  .booking-drag-handle {
    display: none !important;
  }

  .modal-close {
    right: 18px !important;
    top: 16px !important;
  }

  .contacts-page .contacts-block {
    position: absolute !important;
    left: 144px !important;
    top: 664px !important;
    z-index: 3 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 790px) minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 112px !important;
    width: 1440px !important;
    height: 402px !important;
    padding: 0 !important;
  }

  .contacts-page .contacts-block h1 {
    position: static !important;
    grid-column: 1 / -1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 42px !important;
    font-size: 50px !important;
  }

  .contacts-page .contact-details {
    min-width: 0;
  }

  .contacts-page .contacts-block dl {
    position: static !important;
    display: grid !important;
    grid-template-columns: 185px minmax(0, 1fr) !important;
    gap: 19px 24px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .contacts-page .contacts-block dt,
  .contacts-page .contacts-block dd,
  .contacts-page .contacts-block dt:nth-of-type(n),
  .contacts-page .contacts-block dd:nth-of-type(n) {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  .contacts-page .contacts-block dt {
    color: #777 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  .contacts-page .contacts-block dd {
    min-width: 0;
    font-size: 22px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }

  .contacts-page .contact-channels {
    align-self: start;
    padding: 4px 0 0;
  }

  .contacts-page .contact-channels h2 {
    margin: 0 0 10px;
    font-size: 26px;
  }

  .contacts-page .contact-channels p {
    max-width: 410px;
    margin: 0 0 24px;
    color: #777;
    font-size: 16px;
    line-height: 1.35;
  }

  .contacts-page .contact-socials {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 0 28px !important;
  }

  .contacts-page .contact-socials a,
  .contacts-page .contact-socials a:nth-child(n) {
    width: 58px !important;
    height: 58px !important;
  }

  .contacts-page .contact-socials img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .contacts-page .contact-booking-button {
    width: 100%;
    max-width: 410px;
    height: 58px;
    border: 0;
    border-radius: 14px;
    background: var(--accent);
    color: #080808;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .contacts-page .contacts-map {
    position: absolute !important;
    left: 144px !important;
    top: 1115px !important;
    z-index: 4 !important;
    width: 1440px !important;
    height: 417px !important;
    padding: 0 !important;
  }

  .contacts-page .contacts-map .real-map {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
  }

  .contacts-page .contacts-footer {
    top: 1608px !important;
  }
}

.knowledge-page {
  min-height: 100vh;
  background: #f5f5f1;
}

.knowledge-page .hero {
  position: relative;
  width: 100%;
  height: 598px;
}

.knowledge-page .knowledge-hero-title {
  position: absolute;
  left: max(48px, calc((100% - 1440px) / 2));
  top: 390px;
  z-index: 3;
  display: grid;
  gap: 8px;
}

.knowledge-page .knowledge-hero-title span {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.knowledge-page .knowledge-hero-title strong {
  font-family: "HelveticaNeueCyrCondensed", "HelveticaNeueCyr", Arial, sans-serif;
  font-size: 58px;
  line-height: .92;
  text-transform: uppercase;
}

.knowledge-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.knowledge-heading {
  max-width: 1040px;
  margin-bottom: 38px;
}

.knowledge-heading > p {
  margin: 0 0 10px;
  color: #8b7100;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.knowledge-heading h1 {
  margin: 0;
  font-family: "HelveticaNeueCyrCondensed", "HelveticaNeueCyr", Arial, sans-serif;
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: .93;
  text-transform: uppercase;
}

.knowledge-heading > span {
  display: block;
  max-width: 850px;
  margin-top: 18px;
  color: #5d5d59;
  font-size: 19px;
  line-height: 1.4;
}

.knowledge-search {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid #dddcd5;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .06);
}

.knowledge-search label {
  grid-column: span 3;
  display: grid;
  gap: 8px;
  color: #6e6e69;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.knowledge-search .knowledge-query {
  grid-column: 1 / -1;
}

.knowledge-search input[type="search"],
.knowledge-search select {
  width: 100%;
  height: 52px;
  border: 1px solid #d9d9d2;
  border-radius: 13px;
  padding: 0 14px;
  background: #fafaf7;
  color: #111;
  outline: none;
  font-size: 15px;
  text-transform: none;
}

.knowledge-search input:focus,
.knowledge-search select:focus {
  border-color: #b79200;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, .22);
}

.knowledge-search .knowledge-photo-filter {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  margin-top: 20px;
  padding: 0 15px;
  border: 1px solid #d9d9d2;
  border-radius: 13px;
  background: #fafaf7;
  color: #222;
  font-size: 14px;
  text-transform: none;
}

.knowledge-photo-filter input {
  width: 18px;
  height: 18px;
  accent-color: #111;
}

.knowledge-reset {
  grid-column: span 3;
  height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 13px;
  background: #111;
  color: #fff;
  font-weight: 700;
}

.knowledge-reset:disabled {
  cursor: default;
  opacity: .35;
}

.knowledge-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 32px 0 20px;
}

.knowledge-summary strong {
  font-size: 28px;
}

.knowledge-summary span {
  color: #74746f;
  font-size: 14px;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.knowledge-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfded7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .055);
  transition: transform .25s ease, box-shadow .25s ease;
}

.knowledge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .1);
}

.knowledge-card-media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #111;
}

.knowledge-card-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.knowledge-card:hover .knowledge-card-media > img {
  transform: scale(1.025);
}

.knowledge-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #080808 0 58%, #2b2400 100%);
}

.knowledge-card-placeholder span {
  color: var(--accent);
  font-size: 38px;
  font-weight: 700;
  line-height: .8;
}

.knowledge-category,
.knowledge-card-media > b {
  position: absolute;
  top: 18px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.knowledge-category {
  left: 18px;
  max-width: calc(100% - 110px);
  overflow: hidden;
  background: var(--accent);
  color: #111;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-card-media > b {
  right: 18px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
}

.knowledge-card-copy {
  padding: 24px;
}

.knowledge-card-copy > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #777;
  font-size: 13px;
}

.knowledge-card-copy > div span {
  color: #111;
  font-weight: 700;
}

.knowledge-card-copy h2 {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.05;
}

.knowledge-card-copy > p {
  display: -webkit-box;
  min-height: 66px;
  margin: 0;
  overflow: hidden;
  color: #5f5f5a;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.knowledge-card-copy footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #ecece7;
}

.knowledge-card-copy code {
  min-width: 0;
  overflow: hidden;
  color: #777;
  font-family: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-card-copy footer a {
  flex: 0 0 auto;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.knowledge-empty {
  padding: 64px 24px;
  border: 1px dashed #bbb9ad;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.knowledge-empty b {
  font-size: 28px;
}

.knowledge-empty p {
  margin: 10px auto 22px;
  max-width: 620px;
  color: #6c6c67;
  line-height: 1.45;
}

.knowledge-empty button {
  min-width: 220px;
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: var(--accent);
  font-weight: 700;
}

.knowledge-page .knowledge-footer {
  position: relative;
  left: auto;
  top: auto;
  display: grid;
  grid-template-columns: 300px 520px 1fr;
  width: min(1440px, calc(100% - 48px));
  height: auto;
  margin: 0 auto;
  padding: 34px 0 54px;
}

@media (min-width: 901px) {
  .knowledge-page .top-nav {
    left: 50% !important;
    width: min(1172px, calc(100% - 64px)) !important;
    transform: translateX(-50%);
  }

  .knowledge-page .brand-lockup {
    left: max(48px, calc((100% - 1440px) / 2));
  }

  .knowledge-page .hero-actions {
    left: auto;
    right: max(48px, calc((100% - 1440px) / 2));
  }

  .knowledge-page .down-dot {
    left: calc(50% - 29px);
    top: 540px;
  }
}

@media (max-width: 900px) {
  .contact-channels {
    margin-top: 34px;
  }

  .contact-channels h2 {
    margin: 0 0 8px;
    font-size: 25px;
  }

  .contact-channels p {
    margin: 0 0 22px;
    color: #777;
    font-size: 15px;
    line-height: 1.4;
  }

  .contacts-page .contact-socials {
    margin-top: 0 !important;
  }

  .contact-booking-button {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 13px;
    background: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
  }

  .knowledge-page .hero {
    position: relative !important;
    width: 100% !important;
  }

  .knowledge-page .knowledge-hero-title {
    left: 18px;
    right: 18px;
    top: 182px;
  }

  .knowledge-page .knowledge-hero-title strong {
    font-size: clamp(42px, 12vw, 64px);
  }

  .knowledge-content {
    width: min(100% - 28px, 720px);
    padding: 52px 0 70px;
  }

  .knowledge-heading h1 {
    font-size: clamp(40px, 11vw, 62px);
  }

  .knowledge-heading > span {
    font-size: 16px;
  }

  .knowledge-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .knowledge-search label,
  .knowledge-search .knowledge-photo-filter,
  .knowledge-reset {
    grid-column: span 1;
  }

  .knowledge-search .knowledge-query {
    grid-column: 1 / -1;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-page .knowledge-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    width: min(100% - 36px, 720px);
    padding: 30px 0 46px;
  }
}

@media (max-width: 560px) {
  .knowledge-search {
    grid-template-columns: 1fr;
  }

  .knowledge-search label,
  .knowledge-search .knowledge-query,
  .knowledge-search .knowledge-photo-filter,
  .knowledge-reset {
    grid-column: 1;
  }

  .knowledge-search .knowledge-photo-filter,
  .knowledge-reset {
    margin-top: 0;
  }

  .knowledge-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .knowledge-card-media {
    height: 230px;
  }

  .knowledge-card-copy > div,
  .knowledge-card-copy footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .knowledge-card,
  .knowledge-card-media > img {
    transition: none;
  }
}

/* Keep the shared 1728px hero geometry on the fluid knowledge page. */
@media (min-width: 901px) {
  .knowledge-page .knowledge-hero-shell {
    position: relative;
    width: 100%;
    height: calc(598px * var(--page-scale));
  }

  .knowledge-page .knowledge-hero-canvas {
    position: relative;
    width: 1728px;
    height: 598px;
    transform: scale(var(--page-scale));
    transform-origin: left top;
  }

  .knowledge-page .knowledge-hero-canvas .hero {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1728px !important;
    height: 598px !important;
  }

  .knowledge-page .top-nav {
    left: 278px !important;
    width: 1172px !important;
    transform: none !important;
  }

  .knowledge-page .brand-lockup { left: 144px !important; }
  .knowledge-page .hero-actions { left: 1229px !important; right: auto !important; }
  .knowledge-page .knowledge-hero-title { left: 144px !important; top: 390px !important; }
  .knowledge-page .down-dot { left: 834px !important; top: 540px !important; }
}

@media (max-width: 900px) {
  .knowledge-page .knowledge-hero-shell,
  .knowledge-page .knowledge-hero-canvas {
    position: relative;
    width: 100%;
    height: 690px;
  }

  .knowledge-page .knowledge-hero-canvas { transform: none; }
}