/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTM CHROME: Unique Spa-Mover Layout
   Trust Rail / Nav / Footer - NOT Syracuse trust-hdr / fat-footer clones
   Per LAYOUT-PLAN-HOTUB.md §4, §12
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SITE CHROME WRAPPER - sticky container for trust rail + nav (mobile fix)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
}

/* When wrapped, remove sticky from trust rail */
.site-chrome .htm-trust-rail {
  position: static;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTM TRUST RAIL - spa trust (NOT Syracuse seal-dense trust-hdr)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.htm-trust-rail {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(26, 166, 184, 0.15);
  box-shadow: 0 2px 12px rgba(11, 30, 45, 0.06);
}

.htm-trust-rail__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

/* Logo */
.htm-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.htm-logo img {
  height: 54px;
  width: auto;
}

/* Trust chips (text only, NO seal SVG) */
.htm-trust-chips {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
}

.htm-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  background: rgba(26, 166, 184, 0.08);
  border: 1px solid var(--htm-pool);
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htm-pool-deep);
  white-space: nowrap;
}

/* Phone button - copper accent */
.htm-phone-button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--htm-dusk) 0%, var(--htm-dusk-rich) 100%);
  border: 1px solid var(--htm-copper);
  border-radius: 0.75rem;
  color: var(--bg-white);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: auto;
}

.htm-phone-button svg {
  width: 18px;
  height: 18px;
  color: var(--htm-pool);
  flex-shrink: 0;
}

.htm-phone-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 30, 45, 0.2);
  border-color: var(--htm-copper-hot);
}

@media (max-width: 768px) {
  .htm-trust-rail__inner {
    gap: 1.25rem;
  }

  .htm-logo img {
    height: 46px;
  }

  .htm-trust-chips {
    order: 3;
    width: 100%;
    gap: 0.875rem;
  }

  .htm-chip {
    font-size: 0.8125rem;
    padding: 0.4375rem 0.75rem;
  }

  .htm-phone-button {
    margin-left: 0;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
  }

  .htm-phone-button svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .htm-trust-chips {
    flex-wrap: wrap;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTM NAV - spa dusk bar (NOT Syracuse main-nav twin)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.htm-nav {
  background: linear-gradient(135deg, var(--htm-dusk) 0%, var(--htm-dusk-rich) 100%);
  border-bottom: 1px solid rgba(212, 137, 58, 0.2);
}

.htm-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 58px;
}

.htm-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.htm-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--bg-white);
}

.htm-nav a[aria-current="page"] {
  background: rgba(26, 166, 184, 0.2);
  color: var(--htm-pool-bright);
}

.nav-spacer {
  flex: 1;
  min-width: 1rem;
}

/* Copper book CTA */
.htm-nav-book {
  background: var(--htm-copper) !important;
  color: #fff !important;
  border: 2px solid var(--htm-copper-deep) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
}

.htm-nav-book:hover {
  background: var(--htm-copper-hot) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 137, 58, 0.4);
}

/* Hamburger */
.htm-nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--bg-white);
  cursor: pointer;
  margin-left: auto;
  border-radius: 0.625rem;
  transition: background 0.2s ease;
}

.htm-nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .htm-nav__inner > a:not(.htm-nav-hamburger) {
    display: none;
  }

  .htm-nav-hamburger {
    display: flex;
  }

  .nav-spacer {
    display: none;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTM DRAWER - mobile menu (spa pool accents)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.htm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg-white);
  box-shadow: -6px 0 32px rgba(11, 30, 45, 0.25);
  z-index: 200;
  padding: 1.75rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.htm-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.htm-drawer-close {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: var(--htm-sand);
  border: 1px solid var(--border-light);
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  margin-bottom: 1.75rem;
  transition: all 0.2s ease;
}

.htm-drawer-close:hover {
  background: var(--htm-pool);
  color: var(--bg-white);
  border-color: var(--htm-pool);
}

.htm-drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.htm-drawer-nav a {
  display: block;
  padding: 1rem 1.125rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
}

.htm-drawer-nav a:hover {
  background: var(--htm-sand);
  color: var(--htm-pool-deep);
}

.htm-drawer-ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

/* Drawer overlay */
.htm-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 45, 0.65);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.htm-drawer-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTM FOOTER - spa compact (NOT Syracuse fat-footer)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.htm-footer {
  background: linear-gradient(135deg, var(--htm-dusk) 0%, var(--htm-dusk-rich) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.75rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

/* Copper hairline accent */
.htm-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--htm-pool) 20%,
    var(--htm-copper) 50%,
    var(--htm-pool) 80%,
    transparent 100%
  );
  opacity: 0.4;
}

.htm-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.htm-footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 0.875rem;
}

.htm-footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.htm-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.htm-footer__col h4 {
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.htm-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.htm-footer__col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.htm-footer__col a:hover {
  color: var(--htm-pool-bright);
}

.htm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 968px) {
  .htm-footer__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .htm-footer {
    padding: 3rem 0 1.5rem;
  }

  .htm-footer__cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTM CALLBAR - sticky mobile call/quote
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.htm-callbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 -4px 16px rgba(11, 30, 45, 0.25);
}

.htm-callbar__call {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--htm-pool);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  border-top: 2px solid var(--htm-pool-deep);
  transition: background 0.2s ease;
}

.htm-callbar__call:hover,
.htm-callbar__call:active {
  background: var(--htm-pool-deep);
}

.htm-callbar__quote {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--htm-copper);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  border-top: 2px solid var(--htm-copper-deep);
  transition: background 0.2s ease;
}

.htm-callbar__quote:hover,
.htm-callbar__quote:active {
  background: var(--htm-copper-hot);
}

@media (max-width: 768px) {
  .htm-callbar {
    display: grid;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITY COMPONENTS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Pill badges */
.htm-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(26, 166, 184, 0.1);
  border: 1px solid var(--htm-pool);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--htm-pool-deep);
  margin-bottom: 1rem;
}

.section__head .htm-pill {
  margin-bottom: 1.25rem;
}

/* Copper button variant */
.btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--htm-copper);
  color: #fff;
  border: 2px solid var(--htm-copper-deep);
  border-radius: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  white-space: nowrap;
}

.btn-copper:hover {
  background: var(--htm-copper-hot);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 137, 58, 0.35);
}

/* Ghost copper variant */
.btn-ghost-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  white-space: nowrap;
}

.btn-ghost-copper:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bg-white);
  color: var(--bg-white);
}
