:root {
  --blue: #075b92;
  --blue-dark: #063c67;
  --orange: #f2a20b;
  --paper: #ffffff;
  --soft: #f8f4f3;
  --text: #243343;
  --muted: #607080;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--blue);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.page-content,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  margin-top: 18px;
  overflow: hidden;
  background: var(--paper);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 14px 40px rgb(0 31 57 / 18%);
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 14px 24px;
  background: var(--soft);
}

.logo-link {
  display: block;
  width: min(100%, 336px);
  margin-inline: auto;
}

.site-logo {
  display: block;
  width: 100%;
  height: auto;
}

.main-navigation {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: flex;
  justify-content: center;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 58px;
  margin-inline: auto;
  background: var(--blue-dark);
  box-shadow: 0 8px 18px rgb(0 31 57 / 20%);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 34px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.menu-link:hover,
.menu-link:focus-visible,
.menu-link.is-active {
  background: var(--orange);
  color: #172839;
}

.menu-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -5px;
}

.page-content {
  min-height: 440px;
  padding: 14px clamp(12px, 2.5vw, 28px) 28px;
  scroll-margin-top: 68px;
  background: var(--paper);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.booking-area {
  width: 100%;
}

#xtibe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: #ffffff;
}

.site-footer {
  background: var(--blue-dark);
  color: rgb(255 255 255 / 78%);
  border-radius: 0 0 14px 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(190px, 1fr));
  gap: clamp(28px, 5vw, 72px);
  padding: 42px clamp(24px, 5vw, 68px) 36px;
}

.footer-brand {
  max-width: 390px;
}

.footer-brand p,
.footer-heading,
.footer-bottom p {
  margin: 0;
}

.footer-title {
  margin-bottom: 8px !important;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.footer-heading {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(24px, 5vw, 68px);
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.8rem;
}

.simple-footer .footer-bottom {
  border-top: 0;
}

.legal-page {
  min-height: 420px;
}

.legal-content {
  max-width: 760px;
  padding: 32px 0 64px;
}

.legal-content h1 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
}

.legal-content p {
  color: var(--muted);
}

.blacklist-page {
  padding-bottom: 28px;
}

.external-frame-section {
  overflow: hidden;
  border: 1px solid #d8e1e8;
  border-radius: 10px;
  background: #ffffff;
}

.external-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid #d8e1e8;
  background: #f6f9fb;
}

.external-frame-kicker {
  margin: 0 0 2px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.external-frame-header h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.2;
}

.external-frame-link {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.external-frame-link:hover,
.external-frame-link:focus-visible {
  background: var(--blue);
  color: #ffffff;
}

.external-frame-status {
  margin: 0;
  padding: 10px 22px;
  border-bottom: 1px solid #d8e1e8;
  background: #fff8e7;
  color: #5f512c;
  font-size: 0.8rem;
}

.external-page-frame {
  display: block;
  width: 100%;
  height: max(760px, calc(100vh - 110px));
  border: 0;
  background: #ffffff;
}

@media (max-width: 640px) {
  .site-header,
  .main-navigation,
  .page-content,
  .site-footer {
    width: 100%;
  }

  .site-header {
    margin-top: 0;
    border-radius: 0;
  }

  .logo-area {
    min-height: 142px;
    padding: 12px 20px;
  }

  .menu-link {
    width: 100%;
  }

  .page-content {
    min-height: 380px;
    padding-inline: 8px;
  }

  .site-footer {
    border-radius: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 34px 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .external-frame-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
