:root {
  --salon-black: #14100d;
  --salon-ink: #221914;
  --salon-gold: #b88938;
  --salon-gold-strong: #9d6f24;
  --salon-gold-light: #f3d99a;
  --salon-champagne: #fff7e8;
  --salon-blush: #f8e8dc;
  --salon-muted: #7b6b5d;
  --salon-card: rgba(255, 252, 245, 0.88);
  --salon-page-width: min(1120px, calc(100% - 32px));
  --salon-radius-lg: 34px;
  --salon-radius-md: 28px;
  --salon-ease: cubic-bezier(.22, 1, .36, 1);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

#app,
.q-layout,
.q-page-container,
.q-page,
.nicegui-content {
  width: 100% !important;
  max-width: 100% !important;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  background: var(--salon-champagne);
}

body {
  min-width: 320px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: common-ligatures;
}

.salon-body {
  background:
    radial-gradient(circle at top left, rgba(243, 217, 154, 0.34), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(248, 232, 220, 0.7), transparent 28rem),
    linear-gradient(145deg, #fffaf0 0%, #f9efe0 50%, #fff8ec 100%);
  color: var(--salon-ink);
  min-height: 100vh;
}

/* Quasar/NiceGUI pokazuje przy nawigacji cienki pasek ładowania w kolorze primary.
   W tej PWA wyłączamy go, bo wizualnie wyglądał jak niebieska linia przechodząca przez ekran. */
.q-loading-bar,
.q-loading-bar__bar {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.salon-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  background: rgba(20, 16, 13, 0.92) !important;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid rgba(243, 217, 154, 0.28);
  min-height: 76px;
  contain: layout paint style;
}

.salon-nav {
  align-items: center;
  justify-content: space-between;
  width: var(--salon-page-width);
  margin: 0 auto;
  min-height: 76px;
  gap: 18px;
  flex-wrap: nowrap;
}

.brand-wrap {
  align-items: center;
  gap: 12px;
  min-height: 54px;
  cursor: pointer;
  text-decoration: none !important;
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.brand-text {
  gap: 0;
  min-width: 0;
}

.brand-title {
  color: var(--salon-gold-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  color: rgba(255, 247, 232, .7);
  font-size: .72rem;
  letter-spacing: .05em;
  line-height: 1.2;
}

.nav-links {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 44px;
  flex: 0 1 auto;
  flex-wrap: nowrap;
}

.nav-link {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 247, 232, .76) !important;
  text-decoration: none !important;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transform: translateZ(0);
  transition:
    color 150ms var(--salon-ease),
    background 150ms var(--salon-ease),
    border-color 150ms var(--salon-ease),
    box-shadow 150ms var(--salon-ease),
    transform 150ms var(--salon-ease);
  -webkit-tap-highlight-color: transparent;
}

.nav-link-active,
.nav-link:hover {
  color: #14100d !important;
  border-color: rgba(246, 223, 170, .55);
  background: linear-gradient(135deg, #f6dfaa, #b88938);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.nav-link:active {
  transform: translateY(1px);
}

.nav-link:focus-visible,
.brand-wrap:focus-visible,
.cta-button:focus-visible,
.gold-link:focus-visible {
  outline: 2px solid rgba(243, 217, 154, .9);
  outline-offset: 3px;
}

.spa-container {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.spa-sub-pages {
  width: 100%;
  max-width: 100%;
  display: block;
}

.spa-sub-pages > *,
.spa-sub-pages .q-page,
.spa-sub-pages .nicegui-content {
  width: 100% !important;
  max-width: 100% !important;
}

.page-shell {
  width: var(--salon-page-width);
  max-width: var(--salon-page-width);
  margin: 24px auto 40px;
  padding: 0;
  gap: 22px;
  opacity: 1;
  transform: translateY(0);
  align-self: center !important;
  align-items: stretch !important;
  overflow-x: visible;
}

.page-shell > * {
  width: 100%;
  max-width: 100%;
}

.page-shell.salon-enter-active {
  animation: salon-spa-enter 180ms var(--salon-ease) both;
}

.hero-card {
  width: 100%;
  max-width: 100%;
  border-radius: var(--salon-radius-lg) !important;
  border: 1px solid rgba(184, 137, 56, .25);
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,247,232,.74)),
    url('/static/graphics/noise.svg');
  box-shadow: 0 28px 80px rgba(71, 44, 21, .16);
  overflow: hidden;
}

.hero-grid {
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(20px, 4vw, 44px);
}

.hero-copy {
  flex: 1 1 440px;
  gap: 14px;
}

.eyebrow {
  color: var(--salon-gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  font-size: .78rem;
}

.hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: .96;
  color: var(--salon-black);
  letter-spacing: -.04em;
}

.hero-subtitle {
  max-width: 610px;
  color: var(--salon-muted);
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  line-height: 1.65;
}

.hero-art-wrap {
  flex: 0 1 380px;
  align-items: center;
}

.hero-art {
  width: min(360px, 76vw);
  filter: drop-shadow(0 26px 38px rgba(106, 74, 25, .18));
}

.sparkle-line {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 6px;
}

.sparkle-line span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b88938, #f6dfaa);
}

.sparkle-line span:nth-child(1) { width: 52px; }
.sparkle-line span:nth-child(2) { width: 18px; opacity: .75; }
.sparkle-line span:nth-child(3) { width: 8px; opacity: .55; }

.cta-row {
  gap: 12px;
  flex-wrap: wrap;
}

.link-button-wrap {
  display: inline-flex;
}

.cta-button,
.promo-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(184,137,56,.24);
  background: rgba(255, 255, 255, .72);
  color: var(--salon-black) !important;
  box-shadow: 0 12px 30px rgba(92, 62, 25, .10);
  font-weight: 850;
  letter-spacing: .01em;
  text-decoration: none !important;
  transition:
    transform 150ms var(--salon-ease),
    box-shadow 150ms var(--salon-ease),
    background 150ms var(--salon-ease);
  -webkit-tap-highlight-color: transparent;
}

.cta-button .material-icons,
.promo-button .material-icons,
.cta-button-icon {
  font-size: 1.16rem !important;
  line-height: 1;
}

.cta-button-label {
  line-height: 1;
}

.cta-button:hover,
.promo-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(92, 62, 25, .15);
}

.cta-button:active,
.promo-button:active {
  transform: translateY(0);
}

.cta-button-primary {
  background: linear-gradient(135deg, #14100d, #4b3627);
  color: var(--salon-gold-light) !important;
}

.section-title {
  margin-top: 8px;
  gap: 6px;
}

.section-heading {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--salon-black);
}

.section-subtitle {
  color: var(--salon-muted);
  max-width: 760px;
  line-height: 1.55;
}

.feature-grid,
.promo-grid {
  width: 100%;
  gap: 16px;
}

.glam-card,
.promo-card,
.note-card,
.contact-card,
.map-card,
.video-card {
  border-radius: var(--salon-radius-md) !important;
  background: var(--salon-card) !important;
  border: 1px solid rgba(184, 137, 56, .18);
  box-shadow: 0 18px 50px rgba(87, 57, 20, .10);
}

.glam-card {
  min-height: 215px;
  padding: 22px !important;
}

.glam-icon,
.note-icon,
.contact-icon {
  color: var(--salon-gold);
  font-size: 2.1rem !important;
}

.glam-card-title,
.promo-title,
.note-title,
.contact-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  color: var(--salon-black);
  margin-top: 8px;
}

.glam-card-text,
.promo-text,
.note-text,
.contact-text,
.map-note {
  color: var(--salon-muted);
  line-height: 1.58;
}

.promo-card {
  padding: 24px !important;
  min-height: 245px;
}

.promo-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--salon-black);
  background: linear-gradient(135deg, #f6dfaa, #c89a43);
  font-weight: 800;
  font-size: .78rem;
}

.promo-button {
  margin-top: auto;
  min-height: 42px;
  padding-inline: 14px;
}

.note-card {
  width: 100%;
  max-width: 100%;
  padding: 24px !important;
}

.contact-grid {
  width: 100%;
  gap: 16px;
  align-items: stretch;
}

.contact-card {
  flex: 1 1 330px;
  padding: 24px !important;
}

.gold-link {
  color: var(--salon-gold-strong) !important;
  font-weight: 850;
  text-decoration: none !important;
}

.gold-link:hover {
  color: var(--salon-black) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.map-card {
  width: 100%;
  max-width: 100%;
  padding: 18px !important;
  align-items: center;
  overflow: hidden;
}

.map-art {
  width: min(640px, 88vw);
  border-radius: 22px;
}

.map-cta {
  margin-top: 8px;
}

.video-section {
  width: 100%;
  max-width: 100%;
  gap: 16px;
  align-items: stretch;
}

.video-card {
  width: 100%;
  max-width: 100%;
  padding: clamp(16px, 3vw, 26px) !important;
  overflow: hidden;
}

.video-grid {
  width: 100%;
  max-width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}

.video-copy {
  min-width: 0;
  gap: 10px;
}

.video-badge {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--salon-black);
  background: linear-gradient(135deg, #f6dfaa, #c89a43);
  font-weight: 850;
  font-size: .78rem;
}

.video-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 3.8vw, 2.05rem);
  color: var(--salon-black);
  line-height: 1.1;
}

.video-text {
  color: var(--salon-muted);
  line-height: 1.62;
  max-width: 650px;
}

.video-frame {
  min-width: 0;
  border-radius: 24px;
  padding: 10px;
  background:
    radial-gradient(circle at 28% 12%, rgba(246, 223, 170, .32), transparent 38%),
    linear-gradient(135deg, rgba(20, 16, 13, .96), rgba(68, 44, 26, .94));
  box-shadow: 0 20px 54px rgba(45, 28, 12, .18);
  border: 1px solid rgba(246, 223, 170, .20);
}

.product-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  background: #14100d;
  outline: none;
}

.product-video::-webkit-media-controls-panel {
  background-image: linear-gradient(transparent, rgba(20, 16, 13, .78));
}

.salon-footer {
  background: transparent !important;
  color: var(--salon-muted) !important;
  padding: 24px 16px 34px;
}

.footer-inner {
  align-items: center;
  width: var(--salon-page-width);
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--salon-black);
  font-weight: 700;
}

.footer-text {
  font-size: .9rem;
}

@keyframes salon-spa-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.996);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


@media (max-width: 860px) {
  .salon-header {
    min-height: 112px;
  }

  .salon-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    min-height: 112px;
    padding: 12px 0;
  }

  .brand-wrap {
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 0 0 2px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding-inline: 12px;
    flex: 0 0 auto;
  }

  .hero-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art-wrap {
    width: 100%;
  }

  .feature-grid,
  .promo-grid {
    grid-template-columns: 1fr !important;
  }

  .video-grid {
    grid-template-columns: 1fr !important;
  }

  .video-frame {
    padding: 8px;
    border-radius: 20px;
  }

  .product-video {
    border-radius: 15px;
  }

  .cta-row,
  .link-button-wrap,
  .cta-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

}
