/* ==========================================================================
   PURELQUESSA CUSTOM LEGAL, HEADER & LAYOUT SAFETY STYLES (HU)
   ========================================================================== */

/* Layout & Image Safety */
img {
  max-width: 100% !important;
  height: auto !important;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ==========================================================================
   MODERN LUXURY NAVIGATION HEADER (HUNGARIAN RETREAT)
   ========================================================================== */

.purelquessa-modern-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.5rem;
  z-index: 1200;
  background: rgba(22, 32, 28, 0.94) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 168, 107, 0.28);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.purelquessa-header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-sizing: border-box;
}

/* Brand Logo */
.purelquessa-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.purelquessa-header-brand:hover {
  opacity: 0.9;
}

.purelquessa-brand-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.purelquessa-brand-glyph {
  width: 100%;
  height: 100%;
  color: #fff8f2;
}

.purelquessa-brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  white-space: nowrap;
}

.purelquessa-brand-name {
  font-family: var(--font-family-heading, "Playfair Display", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff8f2;
  line-height: 1.1;
}

.purelquessa-brand-tagline {
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a86b;
}

/* Desktop Navigation (Direct Visible UX) */
.purelquessa-desktop-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.purelquessa-nav-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.purelquessa-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.purelquessa-nav-link {
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d1d8d3 !important;
  text-decoration: none !important;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.purelquessa-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #c9a86b;
  box-shadow: 0 0 8px rgba(201, 168, 107, 0.6);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.purelquessa-nav-link:hover {
  color: #fff8f2 !important;
}

.purelquessa-nav-link:hover::after {
  width: 100%;
}

.purelquessa-nav-link.purelquessa-nav-active {
  color: #ffffff !important;
  font-weight: 600;
}

.purelquessa-nav-link.purelquessa-nav-active::after {
  width: 100%;
}

/* Header Actions */
.purelquessa-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.purelquessa-weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 107, 0.25);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: #d1d8d3;
  letter-spacing: 0.03em;
  white-space: nowrap;
  user-select: none;
}

.purelquessa-weather-pill svg {
  color: #c9a86b;
  flex-shrink: 0;
}

.purelquessa-weather-city {
  font-weight: 600;
  color: #fff8f2;
}

.purelquessa-weather-temp {
  color: #c9a86b;
  font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.45rem;
}

.purelquessa-reserve-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, #c9a86b 0%, #a88448 100%);
  color: #16201c !important;
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 9999px;
  border: 1px solid rgba(255, 240, 215, 0.4);
  box-shadow: 0 2px 12px rgba(201, 168, 107, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.purelquessa-reserve-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 18px rgba(201, 168, 107, 0.5);
}

.purelquessa-reserve-btn svg {
  stroke: #16201c;
}

/* Mobile Hamburger Toggle Button */
.purelquessa-mobile-toggle {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 10px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(201, 168, 107, 0.35) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.purelquessa-mobile-toggle:hover,
.purelquessa-mobile-toggle:active {
  background: rgba(201, 168, 107, 0.18) !important;
  border-color: #c9a86b !important;
}

.purelquessa-hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff8f2;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

body.purelquessa-menu-open .purelquessa-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.purelquessa-menu-open .purelquessa-hamburger-bar:nth-child(2) {
  opacity: 0;
}
body.purelquessa-menu-open .purelquessa-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Checkbox Fallback */
.purelquessa-drawer-checkbox {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Mobile Drawer Modal (Sibling of Header, Viewport-level) */
.purelquessa-mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  background: rgba(22, 32, 28, 0.98) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-12px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s !important;
  box-sizing: border-box !important;
}

body.purelquessa-menu-open {
  overflow: hidden !important;
}

.purelquessa-mobile-drawer.is-open,
body.purelquessa-menu-open .purelquessa-mobile-drawer,
.purelquessa-drawer-checkbox:checked ~ .purelquessa-mobile-drawer {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.purelquessa-drawer-inner {
  max-width: 580px;
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.purelquessa-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 168, 107, 0.22);
  margin-bottom: 1.5rem;
}

.purelquessa-drawer-close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 168, 107, 0.35) !important;
  color: #fff8f2 !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.purelquessa-drawer-close:hover,
.purelquessa-drawer-close:active {
  background: rgba(201, 168, 107, 0.2) !important;
  color: #c9a86b !important;
}

.purelquessa-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.purelquessa-drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 8px;
  text-decoration: none !important;
  color: #fff8f2 !important;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.purelquessa-drawer-link:hover,
.purelquessa-drawer-link:active,
.purelquessa-drawer-link.purelquessa-drawer-active {
  background: rgba(201, 168, 107, 0.12) !important;
  border-color: rgba(201, 168, 107, 0.35) !important;
  color: #c9a86b !important;
}

.purelquessa-link-num {
  font-family: monospace;
  font-size: 0.75rem;
  color: #c9a86b;
  letter-spacing: 0.08em;
}

.purelquessa-link-title {
  font-family: var(--font-family-heading, "Playfair Display", serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.purelquessa-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 107, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.purelquessa-drawer-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  background: linear-gradient(135deg, #c9a86b 0%, #a88448 100%);
  color: #16201c !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 9999px;
  box-sizing: border-box;
}

.purelquessa-drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.8rem;
  color: #b3bdb5;
}

/* Header Breakpoints & Mobile UX */
@media (max-width: 1024px) {
  .purelquessa-desktop-nav {
    display: none !important;
  }
  /* Explicitly hide the contact/reserve button and weather pill on mobile to prevent crowding or hiding the burger menu button */
  .purelquessa-reserve-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .purelquessa-weather-pill {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .purelquessa-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  .purelquessa-mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    margin-left: auto !important;
  }
}

@media (max-width: 640px) {
  .purelquessa-header-inner {
    padding: 0 1rem !important;
    gap: 0.75rem !important;
  }
  .purelquessa-reserve-btn {
    display: none !important;
  }
  .purelquessa-weather-pill {
    display: none !important;
  }
  .purelquessa-brand-mark {
    width: 32px !important;
    height: 32px !important;
  }
  .purelquessa-brand-name {
    font-size: 1.05rem !important;
  }
  .purelquessa-brand-tagline {
    font-size: 0.6rem !important;
  }
  .purelquessa-mobile-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 9px !important;
  }
}

@media (max-width: 380px) {
  .purelquessa-brand-tagline {
    display: none !important;
  }
  .purelquessa-brand-name {
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   HUNGARIAN CORPORATE LEGAL FOOTER BLOCK (HU)
   ========================================================================== */

.purelquessa-footer-hu-block {
  width: 100%;
  margin: 2.5rem 0 1.5rem 0;
  padding: 1.75rem 2rem;
  background: rgba(22, 32, 28, 0.75);
  border: 1px solid rgba(201, 168, 107, 0.32);
  border-radius: 8px;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.purelquessa-footer-hu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 168, 107, 0.25);
}

.purelquessa-footer-hu-title {
  font-family: var(--font-family-heading, "Playfair Display", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #c9a86b;
  letter-spacing: 0.03em;
}

.purelquessa-footer-hu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  font-size: 0.75rem;
  color: #fff8f2;
  background: rgba(201, 168, 107, 0.18);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 107, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.purelquessa-footer-hu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.purelquessa-footer-hu-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.purelquessa-footer-hu-label {
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9eb0a2;
  font-weight: 600;
}

.purelquessa-footer-hu-value {
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  font-size: 0.875rem;
  color: #fff8f2;
  line-height: 1.55;
  word-break: break-word;
}

.purelquessa-footer-hu-value a {
  color: #fff8f2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.purelquessa-footer-hu-value a:hover {
  color: #c9a86b;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .purelquessa-footer-hu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .purelquessa-footer-hu-grid {
    grid-template-columns: 1fr;
  }
  .purelquessa-footer-hu-block {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   LEGAL PAGES STYLES (HIGH CONTRAST, WIDE LUXURY LAYOUT)
   ========================================================================== */

body.legal-page {
  background-color: #16201c !important;
  color: #fff8f2 !important;
  font-family: var(--font-family-body, "Source Sans 3", sans-serif);
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

.legal-main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem 1.5rem;
  box-sizing: border-box;
}

.legal-breadcrumbs {
  font-size: 0.85rem;
  color: #9eb0a2;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.legal-breadcrumbs a {
  color: #c9a86b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-breadcrumbs a:hover {
  text-decoration: underline;
}

.legal-hero-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201, 168, 107, 0.25);
}

.legal-hero-title {
  font-family: var(--font-family-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff8f2;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.legal-hero-meta {
  font-size: 0.9rem;
  color: #c9a86b;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section-heading {
  font-family: var(--font-family-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  color: #c9a86b;
  margin: 0 0 1rem 0;
}

.legal-p {
  font-size: 0.95rem;
  color: #e5ece6;
  margin: 0 0 1rem 0;
  line-height: 1.65;
}

.legal-list {
  font-size: 0.95rem;
  color: #e5ece6;
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
  line-height: 1.65;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-callout-box {
  background: rgba(201, 168, 107, 0.08);
  border-left: 3px solid #c9a86b;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.legal-callout-box p {
  margin: 0;
  color: #fff8f2;
  font-size: 0.925rem;
  line-height: 1.6;
}

.legal-callout-box a {
  color: #c9a86b;
  text-decoration: underline;
}
.pure-footer-nav-stack a, a:visited{
    text-decoration: none;
}