:root {
  --sapuri-cream: #fbf8f1;
  --sapuri-cream-soft: #f8f2e8;
  --sapuri-ivory: #fffdf8;
  --sapuri-blue: #123b5d;
  --sapuri-blue-deep: #102f49;
  --sapuri-blue-night: #0b2438;
  --sapuri-gold: #b88a42;
  --sapuri-gold-light: #d8ad69;
  --sapuri-brown: #3c2b22;
  --sapuri-text: #2c241d;
  --sapuri-muted: #7c6d5d;
  --sapuri-border: rgba(60, 43, 34, 0.10);
}

.site-header {
  width: 100%;
  padding: 28px 24px 14px;
  background: var(--sapuri-cream);
  border-bottom: none;
  position: relative;
  z-index: 10000;
  overflow: visible;
}

.nav-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 54px;
  position: relative;
  z-index: 10001;
  overflow: visible;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 10002;
}

.nav-side.left {
  justify-content: flex-end;
}

.nav-side.right {
  justify-content: flex-start;
}

.nav-link {
  position: relative;
  z-index: 10003;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.055em;
  color: var(--sapuri-brown);
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--sapuri-gold);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 28px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--sapuri-gold);
  opacity: 0.85;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  position: relative;
  z-index: 10003;
  pointer-events: auto;
  text-decoration: none;
}

.brand img {
  width: 225px;
  height: auto;
  display: block;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--sapuri-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--sapuri-blue);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 10004;
  pointer-events: auto;
}

.mobile-panel {
  display: none;
}

.site-footer {
  position: relative;
  z-index: 40;
  background:
    radial-gradient(circle at 20% 10%, rgba(216, 173, 105, 0.12), transparent 26%),
    linear-gradient(180deg, #0b2438 0%, #071a2a 100%);
  color: var(--sapuri-ivory);
  padding: 76px 24px 34px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 90px;
  background: linear-gradient(
    180deg,
    rgba(251, 248, 241, 0.88) 0%,
    rgba(251, 248, 241, 0.28) 42%,
    rgba(251, 248, 241, 0) 100%
  );
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(180px, 0.45fr) minmax(180px, 0.45fr);
  gap: 56px;
  align-items: start;
}

.footer-brand img {
  width: 168px;
  height: auto;
  margin-bottom: 28px;
  display: block;
}

.footer-title {
  margin-bottom: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 4.2vw, 74px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--sapuri-ivory);
}

.footer-text {
  width: min(480px, 100%);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 1.18;
  color: rgba(255, 250, 241, 0.72);
}

.footer-column h3 {
  margin-bottom: 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  color: var(--sapuri-gold-light);
}

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

.footer-links a {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 250, 241, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--sapuri-gold-light);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 58px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 250, 241, 0.52);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.footer-note {
  color: rgba(216, 173, 105, 0.72);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.055);
  color: rgba(255, 250, 241, 0.78);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-social-link:hover {
  color: var(--sapuri-gold-light);
  border-color: rgba(216, 173, 105, 0.42);
  background: rgba(216, 173, 105, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 24px 18px;
    overflow: visible;
    z-index: 100000;
  }

  .nav-wrap {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    overflow: visible;
    z-index: 100001;
  }

  .brand {
    min-width: auto;
    align-items: flex-start;
  }

  .brand img {
    width: 170px;
  }

  .nav-side {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel {
    position: fixed;
    top: 118px;
    left: 18px;
    right: 18px;
    z-index: 100002;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 22px;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid rgba(60, 43, 34, 0.10);
    box-shadow: 0 28px 80px rgba(60, 43, 34, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease;
  }

  .mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-panel a {
    display: block;
    width: 100%;
    padding: 13px 14px;
    background: rgba(18, 59, 93, 0.035);
    border: 1px solid rgba(60, 43, 34, 0.075);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.12;
    color: var(--sapuri-brown);
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
  }
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .footer-socials {
    margin-top: 26px;
  }

  .footer-social-link {
    width: 100%;
    justify-content: center;
  }
}

#sapuri-global-header,
#sapuri-header,
#sapuri-global-footer,
#sapuri-footer {
  opacity: 0;
}

#sapuri-global-header.sapuri-slot-loaded,
#sapuri-header.sapuri-slot-loaded,
#sapuri-global-footer.sapuri-slot-loaded,
#sapuri-footer.sapuri-slot-loaded {
  opacity: 1;
}

#sapuri-global-header .site-header,
#sapuri-header .site-header {
  opacity: 0;
  transition: opacity 0.32s ease;
}

#sapuri-global-header.sapuri-slot-loaded .site-header,
#sapuri-header.sapuri-slot-loaded .site-header {
  opacity: 1;
}

#sapuri-global-footer .site-footer,
#sapuri-footer .site-footer {
  opacity: 0;
  transition: opacity 0.32s ease;
}

#sapuri-global-footer.sapuri-slot-loaded .site-footer,
#sapuri-footer.sapuri-slot-loaded .site-footer {
  opacity: 1;
}

body {
  opacity: 0;
  transition: opacity 0.38s ease;
}

body.sapuri-layout-ready {
  opacity: 1;
}
/* Mobile-only menu stacking fix - desktop untouched */
@media (max-width: 900px) {
  #sapuri-global-header,
  #sapuri-header {
    overflow: visible;
  }

  #sapuri-global-header .site-header,
  #sapuri-header .site-header,
  #sapuri-global-header .nav-wrap,
  #sapuri-header .nav-wrap {
    overflow: visible;
  }

  #sapuri-global-header:has(.mobile-panel.is-open),
  #sapuri-header:has(.mobile-panel.is-open) {
    position: relative;
    z-index: 999999;
    isolation: isolate;
  }

  #sapuri-global-header:has(.mobile-panel.is-open) .site-header,
  #sapuri-header:has(.mobile-panel.is-open) .site-header {
    position: relative;
    z-index: 999999;
  }

  #sapuri-global-header:has(.mobile-panel.is-open) .nav-wrap,
  #sapuri-header:has(.mobile-panel.is-open) .nav-wrap {
    position: relative;
    z-index: 1000000;
  }

  #sapuri-global-header .mobile-menu-button,
  #sapuri-header .mobile-menu-button {
    position: relative;
    z-index: 1000002;
  }

  #sapuri-global-header .mobile-panel,
  #sapuri-header .mobile-panel {
    position: fixed;
    top: 118px;
    left: 18px;
    right: 18px;
    z-index: 1000001;
  }
}
/* Sapuri footer responsive structure - cleaned footer.html classes */
.footer-columns-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 52px;
  align-items: start;
  margin-left: auto;
  min-width: 0;
}

.footer-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  min-width: 0;
}

.footer-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.footer-action-booking {
  background: rgba(216, 173, 105, 0.92);
  color: #123b5d;
}

.footer-action-reserved {
  border: 1px solid rgba(255, 250, 241, 0.20);
  background: rgba(255, 250, 241, 0.04);
  color: rgba(255, 250, 241, 0.72);
}

.footer-newsletter-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 8px;
  min-width: 0;
}

.footer-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 173, 105, 0.34);
  background: rgba(216, 173, 105, 0.08);
  color: rgba(255, 250, 241, 0.82);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-powered {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 250, 241, 0.48);
}

.footer-powered a {
  color: #d8ad69;
  text-decoration: none;
  font-weight: 600;
}

.footer-social-link svg {
  display: block;
  flex: 0 0 18px;
}

@media (max-width: 980px) {
  .footer-columns-wrap {
    width: 100%;
    margin-left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
    overflow: hidden;
  }

  .footer-inner {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 38px;
    overflow: hidden;
  }

  .footer-brand,
  .footer-columns-wrap,
  .footer-column,
  .footer-actions,
  .footer-bottom {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-title,
  .footer-text {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .footer-columns-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 32px 26px;
    margin-left: 0;
  }

  .footer-column:nth-child(3) {
    grid-column: 1 / -1;
  }

  .footer-links,
  .footer-links li,
  .footer-links a {
    max-width: 100%;
  }

  .footer-links a {
    overflow-wrap: anywhere;
  }

  .footer-actions {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 10px;
  }

  .footer-action-button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .footer-newsletter-button {
    width: min(100%, 360px);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 10px 18px;
  }

  .footer-bottom {
    margin-top: 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .footer-columns-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  .footer-column h3 {
    font-size: 24px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-action-button {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-newsletter-wrap {
    justify-content: flex-start;
  }

  .footer-newsletter-button {
    width: 100%;
  }
}