/* ===== FONTY ===== */
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyRegular.woff2') format('woff2'),
       url('fonts/VisbyRegular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyMedium.woff2') format('woff2'),
       url('fonts/VisbyMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Visby';
  src: url('fonts/VisbyBold.woff2') format('woff2'),
       url('fonts/VisbyBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== ZMIENNE ===== */
:root {
  --vh: 100vh;

  --logo-h: 132px;

  --icon-size: 96px;
  --icon-gap: 32px;

  --logo-h: 132px;

  --bg-black: #000000;
  --text-main: rgba(255,255,255,0.92);
  --text-soft: rgba(255,255,255,0.86);

  --purple: #9b4de3;

  --lux-light: rgba(255,255,255,0.10);
  --shadow-deep: rgba(0,0,0,0.45);
}

/* ===============================
   BASE / DAY FLOW
================================ */

body {
  font-family: 'Visby', system-ui, sans-serif;
  background: var(--bg-black);
  color: var(--text-main);
  overflow-x: hidden;
  letter-spacing: 0.015em;
  text-rendering: optimizeLegibility;
}

p {
  letter-spacing: 0.018em;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== LOGO ===== */
.logo-fixed {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 1000;
}

.logo-fixed img {
  height: 132px;
}

/* ===== HERO ===== */
.hero {
  min-height: var(--vh);
  padding: 140px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* ===== VIDEO HERO ===== */
.video-hero {
  position: relative;
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero1-text {
  max-width: 1100px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ===== GLASS ===== */
.glass {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(28px);
  padding: 78px;
  border-radius: 24px;
  max-width: 920px;
  text-align: center;

  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.1s cubic-bezier(.22,1,.36,1),
    transform 1.1s cubic-bezier(.22,1,.36,1),
    backdrop-filter 1.1s ease,
    box-shadow 1.1s ease;
}

.glass.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== WEJŚCIE TEKSTU ===== */
.glass h1,
.glass h2,
.glass h3,
.glass h7,
.glass p {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .8s cubic-bezier(.22,1,.36,1),
    transform .8s cubic-bezier(.22,1,.36,1);
}

.glass.visible h1,
.glass.visible h2,
.glass.visible h3,
.glass.visible h7 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}

.glass.visible p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}

/* ===== TYPOGRAFIA – DESKTOP ===== */
h1, h2, h3, h7 {
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-shadow:
    0 0 1px var(--lux-light),
    0 4px 18px var(--shadow-deep);
  display: block;
}

p {
  color: var(--text-soft);
  font-size: 1.34rem;
  line-height: 2.15;
  max-width: 780px;
  margin: 0 auto;
}

/* ===== H1 ===== */
h1 {
  font-size: 3.2rem;
  margin-bottom: 44px;
}

h1 .lead {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  margin-bottom: 28px;
  opacity: 0.82;
}

h1 .upper {
  display: block;
  font-size: 2.9rem;
  letter-spacing: 0.14em;
}

/* ===== H2 / H3 / H7 ===== */
h2, h3, h7 {
  font-size: 2.4rem;
  margin-bottom: 34px;
  letter-spacing: 0.1em;
}

/* ===== TELEFON ===== */
.phone {
  font-size: 1.47rem;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

.phone::first-letter {
  color: var(--purple);
}

/* ===== KONTAKT ===== */
.contact-icons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icons-row {
  display: flex;
  gap: var(--icon-gap);
  margin-top: 40px;
}

.contact-icons-row img,
.contact-shop img {
  width: var(--icon-size);
}

.contact-shop {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-caption {
  margin-top: 18px;
  font-size: 1.34rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

/* ===============================
   HERO SCROLL – PREMIUM (TEXT ONLY)
   (bez dodatkowego tła i bez ramki zdjęcia)
================================ */

.hero-scroll{
  position: relative;
  min-height: 220vh;
  padding: 0;
  display: block;
}

.hero-scroll-sticky{
  position: sticky;
  top: 0;
  height: var(--vh);
  display: flex;
  /* Centrujemy komplet (glass + tekst) w pionie i poziomie */
  align-items: center;
  justify-content: center;
  /* Bez górnego paddingu – pozycję w czasie scrolla kontroluje JS */
  padding: 0 60px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-scroll-text{
  width: min(920px, 88vw);
  opacity: var(--hs-text-opacity, 0);
  transform: translateY(var(--hs-text-y, 0px));
  will-change: transform, opacity;
  position: relative;
  z-index: 2;
}

/* W hero-scroll sterujemy tylko całym blokiem – bez animacji dzieci */
.hero-scroll .glass{
  opacity: 1;
  transform: none;
  transition: none;
  /* Podkład pod tekst: JS steruje --hs-glass (0..1), tu skalujemy do czytelnej czerni */
  background: rgba(0,0,0, calc(0.68 * var(--hs-glass, 0)));
}

/* ===== MICRO-POLISH A: premium readability for glass (H2–H7) ===== */
.hero-scroll .glass{
  box-shadow: 0 18px 60px rgba(0,0,0, calc(0.35 * var(--hs-glass, 0)));
}

.hero-scroll .glass h1,
.hero-scroll .glass h2,
.hero-scroll .glass h3,
.hero-scroll .glass h7,
.hero-scroll .glass p{
  opacity: 1;
  transform: none;
  transition: none;
}
/* ===============================
   CAROUSEL – SEPARATE PREMIUM CARD
================================ */

.hero-carousel{
  position: relative;
  width: 100vw;
  height: var(--vh);
  overflow: hidden;
}

.carousel-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-bg-img{
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  transform: scale(1.18);
  filter: blur(20px);
  opacity: 0.90;
}

.carousel-bg-glass{
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.06);
}

.carousel-card{
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: min(1240px, calc(100vw - 80px));
  aspect-ratio: 16 / 9;
  z-index: 1;
}

@media (max-width: 720px){
  .carousel-card{
    width: calc(100vw - 32px);
    aspect-ratio: 4 / 5;
    top: 50%;
  }
}

.carousel-card-media{
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--cr-radius, 14px);
  transform: translateZ(0);
}

.carousel-card-border{
  position: absolute;
  inset: 0;
  border-radius: var(--cr-radius, 14px);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 14px 50px rgba(0,0,0,0.25);
  pointer-events: none;
}

.carousel-edge-fog{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--cr-fog, 0);
  transition: opacity 140ms linear;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.10) 8%,
      rgba(255,255,255,0.00) 18%,
      rgba(255,255,255,0.00) 82%,
      rgba(255,255,255,0.10) 92%,
      rgba(255,255,255,0.22) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-track{
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 1.4s ease-in-out;
  will-change: transform;
}

.carousel-slide{
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===============================
   NIGHT RITUAL
================================ */
@media (prefers-color-scheme: dark) {

  body {
    background-color: #050506;
  }

  p {
    letter-spacing: 0.024em;
    line-height: 2.25;
  }

  .upper {
    color: #8f6fb3;
  }
}

/* ===============================
   MOBILE – KOREKTOR TYPOGRAFII
================================ */
.text-mobile { display: none; }

@media (max-width: 768px) {

  :root{ --logo-h: 99px; }

  .logo-fixed img { height: 99px; }

  h1 {
    font-size: 2.35rem;
  }

  h1 .upper {
    font-size: 2.15rem;
  }

  /* 🔧 KLUCZ: MOBILE TITLE UNIFICATION */
  h2,
  h3,
  h7 {
    font-size: 1.95rem;
    letter-spacing: 0.14em;
    margin-bottom: 26px;
    font-weight: 500;
  }

  p,
  .phone,
  .shop-caption {
    font-size: 1.18rem;
  }

  .text-desktop { display: none; }
  .text-mobile { display: block; }

  /* HERO 2–H7: tekst startuje ~10% od góry również na mobile */
  .hero-scroll-sticky{
    padding: 10vh 26px 0;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

/* ===== CLS FIX ===== */

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== SIGNATURE ===== */


/* ===== ALIGN: glass sizing for HERO 5 + HERO 7 (match HERO 3) ===== */

/* ===== HERO 5 + HERO 7: glass height = HERO 3 glass height =====
   JS ustawia --glass-h3 (px). Dla dłuższych treści włączamy przewijanie wewnątrz karty. */
:root{ --glass-h3: auto; }

#hero5 .glass,
#hero7 .glass{
  height: var(--glass-h3);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
#hero5 .glass::-webkit-scrollbar,
#hero7 .glass::-webkit-scrollbar{ width: 0; height: 0; }

#hero5 .hero-scroll-text,
#hero7 .hero-scroll-text{
  width: min(920px, 88vw);
}
#hero5 .glass,
#hero7 .glass{
  width: 100%;
  max-width: 920px;
  padding: 78px;
  box-sizing: border-box;
}
@media (max-width: 768px){
  #hero5 .glass,
  #hero7 .glass{
    padding: 60px 34px;
  }
}

/* ===============================
   SVG SIGNATURE – FINAL FIX
================================ */

.signature {
  margin: 1.4rem auto 0;
  max-width: 541px;
  overflow: visible;
}

.signature svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ===== SIGNATURE: 30% bigger (without changing stroke visibility) ===== */
.signature svg{
  transform: scale(1.04);
  transform-origin: 50% 50%;
}


/* Wymuś "stroke-only" i biel – nawet jeśli SVG ma inline fill/stroke z exportu */
.signature svg *{
  fill: none !important;
  stroke: #ffffff !important;
}

.signature path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.signature circle{
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.signature circle{
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

/* IMIĘ (JS ustawia dasharray/dashoffset) */
.signature.is-ready path:nth-of-type(1){
  animation: podpis 8.8s linear forwards;
}
/* NAZWISKO (JS ustawia dasharray/dashoffset) */
.signature.is-ready path:nth-of-type(2){
  animation: podpis 8.8s linear forwards;
}

@keyframes podpis {
  to {
    stroke-dashoffset: 0;
  }
}

/* 🔧 FIX: podpis wychodzi poza box glass */
.signature {
  display: block;
  padding-top: 2.8rem;   /* ← TO JEST KLUCZ */
}


/* ===== SIGNATURE: second word slightly thinner (−10%) ===== */



/* ===== SIGNATURE: swapped hierarchy ===== */
/* Pierwszy rysowany (wizualnie drugi wyraz) – normalna grubość */
.signature svg path:nth-of-type(2){
  stroke-width: 2.2;
}

/* Drugi rysowany (wizualnie pierwszy wyraz) – cieńszy o 20% */
.signature svg path:nth-of-type(1){
  stroke-width: 1.76;
}





/* ===== PHONE ICON: fully red (fill + contour) ===== */
.phone::first-letter{
  color: #d40000;
  font-weight: 700;
  text-shadow:
    1px 0 #d40000,
    -1px 0 #d40000,
    0 1px #d40000,
    0 -1px #d40000;
}


/* ===== MICRO‑POLISH: unified vertical center for H2–H7 ===== */
.hero-scroll-sticky{
  align-items: center;
  justify-content: center;
}


/* ===== MICRO-POLISH B: typography rhythm (H2–H7) ===== */
.hero-scroll .glass h2,
.hero-scroll .glass h3,
.hero-scroll .glass h7{
  margin-bottom: 38px; /* calmer rhythm */
}

.hero-scroll .glass p{
  line-height: 2.24;
  letter-spacing: 0.020em;
}

/* Mobile fine-tune */
@media (max-width: 768px){
  .hero-scroll .glass h2,
  .hero-scroll .glass h3,
  .hero-scroll .glass h7{
    margin-bottom: 30px;
  }
  .hero-scroll .glass p{
    line-height: 2.06;
    letter-spacing: 0.018em;
  }
}


/* ===== MICRO-POLISH C: mobile-only comfort ===== */
@media (max-width: 768px){
  .hero-scroll{
    min-height: 190vh; /* slightly less fatigue */
  }

  .hero-scroll-sticky{
    padding: 0 18px;
  }

  .hero-scroll .glass{
    padding: 56px 30px;
  }

  .hero-scroll .glass p{
    line-height: 2.02;
  }
}

/* ===== READABILITY POLISH: DESKTOP ===== */
@media (min-width: 1024px){
  .hero-scroll .glass h2,
  .hero-scroll .glass h7{
    font-size: 2.6rem;
  }
  .hero-scroll .glass p{
    font-size: 1.42rem;
    line-height: 2.3;
    max-width: 760px;
  }
}

/* ===== READABILITY POLISH: MOBILE ===== */
@media (max-width: 768px){
  .hero-scroll .glass h2,
  .hero-scroll .glass h7{
    font-size: 1.95rem;
    line-height: 1.35;
  }
  .hero-scroll .glass p{
    font-size: 1.12rem;
    line-height: 1.95;
    text-align: left;
  }
}


/* ===== HERO1 TITLE: readable + droplet sequence ===== */
.video-hero .hero1-text{
  position: relative;
  z-index: 2;
  width: min(980px, 88vw);
  margin: 0 auto;
  text-align: center;
}
.video-hero .hero1-title{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}
.video-hero .drop-line{
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1;              /* text is visible during video */
  transform: translateY(0);
  filter: brightness(1.0);
  will-change: transform, filter;
}
.video-hero .drop-line .count{
  display: inline-block;
  width: 1.8em;
  text-align: right;
  opacity: 0.85;
  letter-spacing: 0.08em;
}
.video-hero .drop-line.is-dropping{
  animation: heroDrop 1.45s cubic-bezier(.28,1,.32,1) forwards;
}
@keyframes heroDrop{
  0%   { transform: translateY(-6px);  filter: brightness(1.00); opacity: 0.98; }
  75%  { filter: brightness(1.05); opacity: 1; }
  100% { transform: translateY(0px);  filter: brightness(1.02); opacity: 1; }
}
  70%  { filter: brightness(1.10); opacity: 1; }
  100% { transform: translateY(0px);  filter: brightness(1.04); opacity: 1; }
}
  60%  { filter: brightness(1.18); opacity: 1; }
  100% { transform: translateY(0px);  filter: brightness(1.06); opacity: 1; }
}
  55%  { filter: brightness(1.28); }
  100% { transform: translateY(0px);  filter: brightness(1.06); }
}
@media (max-width: 768px){
  .video-hero .drop-line{ font-size: 1.55rem; letter-spacing: 0.10em; }
}
@media (min-width: 1024px){
  .video-hero .drop-line{ font-size: 2.25rem; }
}


/* ===== FIX: HERO5 align text vertically inside glass ===== */
#hero5 .glass{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== FIX: HERO7 fit + center glass and text ===== */
#hero7 .glass{
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#hero7 .hero-scroll-text{
  display: flex;
  justify-content: center;
}

/* ===== HERO1: first line slightly smaller (as earlier) ===== */
.video-hero .drop-line[data-step="1"]{
  font-size: 0.78em;
  letter-spacing: 0.18em;
  opacity: 0.92;
}
@media (max-width: 768px){
  .video-hero .drop-line[data-step="1"]{
    font-size: 0.86em;
  }
}


/* ===== HERO1: desktop +30% size and wider spacing ===== */
@media (min-width: 1024px){
  .video-hero .hero1-title{ gap: 20px; }
  .video-hero .drop-line{ font-size: 2.93rem; } /* 2.25 * 1.30 */
}


/* ===== HERO1: mobile width-fit ===== */
@media (max-width: 768px){
  .video-hero .hero1-title{ gap: 14px; padding: 0 10px; }
  .video-hero .drop-line{
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    letter-spacing: 0.09em;
  }
  .video-hero .drop-line .t{
    max-width: 92vw;
    display: inline-block;
  }
}


/* ===== HERO1: line 1 = 80% of line 2 ===== */
.video-hero .drop-line[data-step="2"],
.video-hero .drop-line[data-step="3"]{
  font-size: 1em;
}
.video-hero .drop-line[data-step="1"]{
  font-size: 0.80em;
}


/* ===== CONTACT: proportional breathing + centered ===== */
.contact-icons-wrapper{
  align-items: center;
  text-align: center;
}

.contact-icons-row{
  margin-top: 48px; /* more breathing */
}

.contact-shop{
  margin-top: 40px; /* proportional to row gap */
}

/* keep cart centered and proportional spacing for caption */
.contact-shop img{
  margin-left: auto;
  margin-right: auto;
}

.shop-caption{
  margin-top: 20px;
}

/* signature spacing aligned */
.signature{
  margin-top: 26px;
}

/* mobile: slightly tighter but proportional */
@media (max-width: 768px){
  .contact-icons-row{ margin-top: 40px; }
  .contact-shop{ margin-top: 34px; }
  .shop-caption{ margin-top: 18px; }
  .signature{ margin-top: 22px; }
}


/* ===== HERO1 FIX: line1 = 80% of line2 (explicit, no inversion) ===== */
:root{
  --hero1-line2-desktop: 2.93rem; /* line2/3 size */
  --hero1-line2-mobile: clamp(1.35rem, 5.2vw, 1.85rem);
}
@media (min-width: 1024px){
  .video-hero .drop-line[data-step="2"],
  .video-hero .drop-line[data-step="3"]{
    font-size: var(--hero1-line2-desktop) !important;
  }
  .video-hero .drop-line[data-step="1"]{
    font-size: calc(var(--hero1-line2-desktop) * 0.72) !important;
  }
  .video-hero .hero1-title{ gap: 20px; }
}
@media (max-width: 768px){
  .video-hero .drop-line[data-step="2"],
  .video-hero .drop-line[data-step="3"]{
    font-size: var(--hero1-line2-mobile) !important;
  }
  .video-hero .drop-line[data-step="1"]{
    font-size: calc(var(--hero1-line2-mobile) * 0.72) !important;
  }
  .video-hero .hero1-title{ gap: 14px; padding: 0 10px; }
}


/* ===== CONTACT FIX: breathing gaps + centered layout (icons 3-in-row, cart centered) ===== */
:root{ --contact-gap: 34px; }

.contact-glass{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-glass .phone{
  margin-top: 18px;
}

.contact-glass .contact-icons-wrapper{
  margin-top: var(--contact-gap);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-glass .contact-icons-row{
  gap: 26px;
  justify-content: center;
}

.contact-glass .contact-shop{
  margin-top: var(--contact-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-glass .shop-caption{
  margin-top: 18px;
}

.contact-glass .signature{
  margin-top: var(--contact-gap);
  display: block;
}

@media (max-width: 768px){
  :root{ --contact-gap: 28px; }
  .contact-glass .contact-icons-row{ gap: 22px; }
}


/* ===== CONTACT PATCH: visibly more breathing (enforced) ===== */
:root{ --contact-gap: 46px; }

.contact-glass{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.contact-glass .phone{ margin-top: 22px !important; }

.contact-glass .contact-icons-wrapper{
  margin-top: var(--contact-gap) !important;
}

.contact-glass .contact-icons-row{
  gap: 30px !important;
  justify-content: center !important;
}

.contact-glass .contact-shop{
  margin-top: var(--contact-gap) !important;
  align-items: center !important;
}

.contact-glass .signature{
  margin-top: var(--contact-gap) !important;
}

@media (max-width: 768px){
  :root{ --contact-gap: 32px; }
  .contact-glass .contact-icons-row{ gap: 22px !important; }
}

/* ===== LEGAL MINI (contact footer) ===== */
.legal-mini{
  margin-top: 22px;
  font-size: 0.85rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  opacity: 0.78;
  text-align: center;
  max-width: min(920px, 92vw);
}
@media (max-width: 768px){
  .legal-mini{
    font-size: 0.78rem;
    opacity: 0.80;
    margin-top: 18px;
  }
}



/* ===== CONTACT PREMIUM: clean rhythm + centered layout ===== */
:root{
  --contact-pad-y: 78px;
  --contact-gap-lg: 42px;
  --contact-gap-md: 28px;
}

.contact-glass{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--contact-pad-y);
  padding-bottom: calc(var(--contact-pad-y) - 10px);
}

.contact-glass .phone{
  margin-top: 18px;
}

.contact-glass .contact-icons-wrapper{
  margin-top: calc(var(--contact-gap-lg) * 0.5);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-glass .contact-icons-row{
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.contact-glass .contact-shop{
  margin-top: calc(var(--contact-gap-lg) * 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-glass .shop-caption{
  margin-top: 18px;
}

.contact-glass .signature{
  margin-top: calc(var(--contact-gap-lg) * 0.5);
}

.legal-mini{
  margin-top: 10px;
  display: grid;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  opacity: 0.78;
  max-width: min(920px, 92vw);
}
.legal-mini span{ display:block; }

@media (max-width: 768px){
  :root{
    --contact-pad-y: 64px;
    --contact-gap-lg: 34px;
    --contact-gap-md: 22px;
  }
  .contact-glass .contact-icons-row{ gap: 22px; }
  .legal-mini{
    font-size: 0.76rem;
    opacity: 0.82;
  }
}



/* ===== HERO1 teaser positioning ===== */
.video-hero .hero1-title{
  margin-top: -60px;
}
@media (max-width:768px){
  .video-hero .hero1-title{
    margin-top: -36px;
  }
}

/* ===== CONTACT: phone emphasis ===== */
.contact-glass .phone{
  font-size: 1.2em;
}

/* ===== CONTACT: shop caption spacing ===== */
.contact-glass .shop-caption{
  margin-top: 28px;
}

/* ===== PHONE ICON EMOJI ===== */
.contact-glass .phone .phone-icon{
  font-size: 1.4em; /* matches icon size */
  line-height: 1;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
}

/* ===== PHONE ICON: force ☎️ and match icon rhythm ===== */
.contact-glass .phone{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-glass .phone .phone-icon{
  font-size: 1.35em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ===== CONTACT AUDIT FIX: phone size +20% (enforced) ===== */
.contact-glass .phone{
  font-size: 1.2em !important;
}


/* ===== CONTACT AUDIT FIX: signature gaps -50% ===== */
.contact-glass .signature{
  margin-top: calc(var(--contact-gap-lg) * 0.5) !important;
}
.contact-glass .legal-mini{
  margin-top: calc(var(--contact-gap-md) * 0.5) !important;
}


/* ===== CONTACT AUDIT FIX: glass fits content + centered (scoped) ===== */
.contact-glass{
  height: auto !important;
  max-height: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ===== CONTACT FIX: phone +100% and icon match ===== */
.contact-glass .phone{
  font-size: 2em !important; /* +100% */
}
.contact-glass .phone .phone-icon{
  font-size: 1em !important; /* same as number line */
}


/* ===== CONTACT FIX: move shop caption down by ~1 line ===== */
.contact-glass .shop-caption{
  margin-top: calc(1em + 10px) !important;
}


/* ===== CONTACT FIX: signature gaps -50% (enforced) ===== */
.contact-glass .signature{
  margin-top: calc(var(--contact-gap-lg) * 0.5) !important;
}
.contact-glass .legal-mini{
  margin-top: calc(var(--contact-gap-md) * 0.5) !important;
}



/* ===== CONTACT PHOTO: circular with soft edge + fade-in ===== */
.contact-photo{
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: calc(var(--contact-gap-lg) * 0.35);
  margin-bottom: calc(var(--contact-gap-lg) * 0.25);
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 900ms ease, transform 900ms ease;
}
.contact-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transform: scale(1.02);
}
.contact-photo::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  box-shadow: 0 0 0 14px rgba(255,255,255,0.10) inset, 0 0 36px rgba(0,0,0,0.18);
  pointer-events:none;
}
.contact-photo.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px){
  .contact-photo{
    width: 190px;
    height: 190px;
  }
}

/* ===== CONTACT LAYOUT V2: ordered stack with controlled gaps ===== */
.contact-stack{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-gap-sm{ height: 18px; }
.contact-gap-2{ height: 36px; }

@media (max-width: 768px){
  .contact-gap-sm{ height: 14px; }
  .contact-gap-2{ height: 28px; }
}

.contact-icons-row{ justify-content: center; }

.contact-shop{
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* ===== CONTACT STABILITY: centered stack inside glass ===== */
.contact-glass{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.contact-stack{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-gap-sm{ height: 18px; }
.contact-gap-2{ height: 36px; }

@media (max-width: 768px){
  .contact-gap-sm{ height: 14px; }
  .contact-gap-2{ height: 28px; }
}

/* keep icons row centered */
.contact-icons-row{ justify-content: center; }

/* cart centered */
.contact-shop{ display:flex; justify-content:center; width:100%; }

/* caption centered */
.shop-caption{ text-align:center; }

/* photo always visible when JS fails */
.contact-photo{ opacity: 0; }
.contact-photo.is-visible{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  .contact-photo{ opacity: 1 !important; transform:none !important; transition:none !important; }
}





}





/* ===== KONTAKT: icon sizing from base (stable) ===== */
.contact-icons-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.contact-icons-row{
  display:flex;
  gap: var(--icon-gap);
  margin-top: 40px;
  justify-content:center;
}

.contact-icons-row img,
.contact-shop img{
  width: var(--icon-size);
  height: var(--icon-size);
  object-fit: contain;
  display:block;
}

/* keep cart centered under icons */
.contact-shop{
  margin-top: 32px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

@media (max-width: 768px){
  .contact-icons-row{
    margin-top: 26px;
  }
}

/* ===== ICON CLICK FEEDBACK ===== */
.icon-link{
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}
.icon-link:hover{
  opacity: 0.92;
  transform: translateY(-1px);
}
.icon-link:active{
  opacity: 0.78;
  transform: translateY(0) scale(0.94);
}
.icon-link:focus-visible{
  outline: 2px solid rgba(255,255,255,0.55);
  outline-offset: 6px;
}
/* prevent image capturing clicks separately */
.icon-link img{
  pointer-events: none;
}


/* ===== ADVOCATE LOGO (matches .logo-fixed behavior) ===== */
.advocate-fixed{
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 1000;
  pointer-events: none;
}
.advocate-fixed img{
  height: 92px;
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.22));
  will-change: transform, filter;
}


/* ===== HERO8 (massage) ===== */
#hero8{ position: relative; overflow: hidden; }
#hero8 .hero-scroll-text, #hero8 .glass{ display:none !important; } /* ensure no black text panel */
#hero8 .hero8-voucher{
  position: absolute;
  left: 4vw;
  bottom: 4vh;
  height: 40vh;          /* +20% vs 33vh */
  width: auto;
  max-height: 46vh;
  z-index: 3;
  pointer-events: none;
  background: transparent !important;
  box-shadow: none !important;
  will-change: transform;
  transform-origin: 15% 85%;
}


/* ===== SYNC BREATH: advocate logo + HERO8 voucher ===== */
@keyframes breatheSync{
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(0,-2px,0) scale(1.035); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
.advocate-fixed img{
  animation: breatheSync 7.5s ease-in-out infinite;
}
#hero8.is-visible .hero8-voucher{
  animation: breatheSync 7.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .advocate-fixed img,
  #hero8.is-visible .hero8-voucher{ animation:none !important; }
}


/* === SUPER-BASE LOCK: contact photo ↔ signature ↔ legal (DO NOT CHANGE) === */
.contact-glass .signature{
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  /* requested: signature -10% (keep SUPER-BASE vertical alignment) */
  transform: translateY(-18px) scale(0.9) !important;
}
.contact-glass .legal-mini{
  margin-top: 0 !important;
  transform: translateY(-8px) !important;
}

/* === FIX: Advocate logo size down === */
.advocate-logo{
  height: 36px !important; /* was ~48px */
}

/* === FIX: Voucher strictly inside H8, no black panel === */
#hero8{
  position: relative;
  overflow: hidden;
}
#hero8::before,
#hero8::after{
  display: none !important;
}

#hero8 .hero8-voucher{
  position: absolute;
  left: 4vw;
  bottom: 4vh;
  background: transparent !important;
  box-shadow: none !important;
}

/* === FIX: Voucher +20% size === */
#hero8 .hero8-voucher{
  height: 48vh !important;  /* +20% from ~40vh */
  max-height: 54vh !important;
}


/* === FIX: HERO8 must keep .hero-scroll-text for JS, but without any overlay === */
#hero8 .hero8-empty{
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Ensure voucher is visually on top of H8 background */
#hero8{ position: relative; overflow: hidden; }
#hero8 .hero8-voucher{
  z-index: 5 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* === FIX: Advocate logo size (match logo-fixed scale) + subtle breath + shadow === */
.advocate-fixed{
  position: fixed;
  top: 2.5vh;
  left: 2.5vw;
  z-index: 999;
  pointer-events: none;
}
.advocate-fixed img{
  height: 34px !important;
  width: auto !important;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
  animation: breatheSync 7.5s ease-in-out infinite;
  transform-origin: 15% 50%;
}
@media (prefers-reduced-motion: reduce){
  .advocate-fixed img{ animation: none !important; }
}


/* === FIX3: HERO8 voucher must live inside sticky background (avoid black scroll area) === */
#hero8 .hero8-sticky{
  position: sticky; /* keep existing behavior */
  top: 0;
  height: var(--vh);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* sticky becomes positioning context */
#hero8 .hero8-sticky{
  position: sticky;
}
#hero8 .hero8-sticky{
  /* create containing block for absolute voucher */
  position: sticky;
}
#hero8 .hero8-sticky{
  /* ensure positioning context */
  position: sticky;
}
#hero8 .hero8-sticky{
  /* force relative for abs children while remaining sticky */
  position: sticky;
}
#hero8 .hero8-sticky{
  /* sticky + relative */
  position: sticky;
}
#hero8 .hero8-sticky{
  /* sticky positioning already, add relative */
  position: sticky;
}
/* Some browsers allow sticky + relative implicitly; enforce with a wrapper rule */
#hero8 .hero8-sticky{ 
  position: sticky;
}
#hero8 .hero8-sticky{ 
  /* make it a containing block */
  position: sticky;
}
#hero8 .hero8-sticky{
  /* final: containing block */
  position: sticky;
  /* relative containing block */
}
#hero8 .hero8-sticky{
  /* ensure absolute positioning works */
  position: sticky;
}
/* Use the standard trick: set sticky element as relative */
#hero8 .hero8-sticky{ position: sticky; }
#hero8 .hero8-sticky{ position: sticky; }

/* Actually set relative: */
#hero8 .hero8-sticky{ 
  position: sticky;
}
#hero8 .hero8-sticky{ 
  /* add relative context */
  position: sticky;
}

/* Clean override: sticky can also be relative */
#hero8 .hero8-sticky{ position: sticky; top:0; height: var(--vh); }
#hero8 .hero8-sticky{ position: sticky; }
#hero8 .hero8-sticky{ position: sticky; }
#hero8 .hero8-sticky{ position: sticky; }
#hero8 .hero8-sticky{ position: sticky; }
#hero8 .hero8-sticky{ position: sticky; }

#hero8 .hero8-voucher{
  position: absolute !important;
  left: 4vw !important;
  bottom: 4vh !important;
  height: 48vh !important; /* keep +20% */
  width: auto !important;
  max-height: 54vh !important;
  z-index: 5 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* === FIX3: advocate logo slightly bigger === */
.advocate-fixed img{
  height: 42px !important;
}


/* === FIX: remove black scroll-area after HERO8 by giving the whole section the same background === */
#hero8{
  background-image: url('img/massage.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

/* === FIX: advocate logo match right logo (size + position system) === */
.advocate-fixed{
  top: 40px !important;
  left: 40px !important;
  z-index: 1000 !important;
}
.advocate-fixed img{
  height: 132px !important; /* match .logo-fixed img */
  width: auto !important;
}


/* === FIX5: HERO8 as static full-screen section (prevents background repeating beyond section) === */
#hero8.hero8{
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background-image: url('img/massage.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#hero8 .hero8-inner{
  position: absolute;
  inset: 0;
}

/* Voucher stays inside HERO8 */
#hero8 .hero8-voucher{
  position: absolute;
  left: 4vw;
  bottom: 4vh;
  height: 48vh; /* keep +20% */
  width: auto;
  max-height: 54vh;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  transform-origin: 15% 85%;
  background: transparent !important;
  box-shadow: none !important;
}

/* Motion: only when HERO8 is in view (class added by JS observer already targets #hero8) */
#hero8.is-visible .hero8-voucher{
  animation: breatheSync 7.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  #hero8.is-visible .hero8-voucher{ animation: none !important; }
}

/* === FIX5: Advocate logo match right logo size + offsets === */
.advocate-fixed{ 
  top: 40px !important;
  left: 40px !important;
}
.advocate-fixed img{
  height: 132px !important;
  width: auto !important;
}



/* =========================================================
   FINAL LOCKS (2026-01-21)
   - DO NOT REMOVE
   - Stabilize left logo size, voucher hover +50%, myadvocate placement,
     privacy link + footer SEO
   ========================================================= */

/* Left advocate logo: keep -60% (optical) and NEVER grow */
.advocate-fixed{
  top: 40px !important;
  left: 40px !important;
  z-index: 1000 !important;
  pointer-events: none !important;
}
.advocate-fixed img{
  height: 53px !important; /* 132px * 40% ≈ 53px */
  width: auto !important;
  transform-origin: 15% 50% !important;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18)) !important;
  animation: breatheSync 7.5s ease-in-out infinite !important;
}
@media (prefers-reduced-motion: reduce){
  .advocate-fixed img{ animation: none !important; }
}

/* HERO8 voucher: breathe on wrapper + hover +50% on image (no transform conflict) */
#hero8 .hero8-voucher-wrap{
  position: absolute !important;
  left: 4vw !important;
  bottom: 4vh !important;
  z-index: 6 !important;
  pointer-events: auto !important;
  will-change: transform !important;
}
#hero8 .hero8-voucher-img{
  height: 48vh !important;
  max-height: 54vh !important;
  width: auto !important;
  display: block !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transform-origin: 0% 100% !important; /* left-bottom anchor */
  will-change: transform !important;
  transition: transform 580ms cubic-bezier(.19,1,.22,1) !important;
}
#hero8.is-visible .hero8-voucher-wrap{
  animation: breatheSync 7.5s ease-in-out infinite !important;
}
#hero8 .hero8-voucher-wrap:hover .hero8-voucher-img{
  transform: scale(1.5) !important; /* +50% */
}
@media (prefers-reduced-motion: reduce){
  #hero8.is-visible .hero8-voucher-wrap{ animation:none !important; }
  #hero8 .hero8-voucher-img{ transition:none !important; }
}

/* MyAdvocate badge under signature (closer to signature, not footer) */
.myadvocate-badge{
  display: flex;
  justify-content: center;
  align-items: center;
  /* requested: small gap between signature and MyAdvocate */
  margin-top: 6px !important;
  margin-bottom: 14px !important;
  transform: translateY(0) !important;
}
.myadvocate-badge img{
  width: min(340px, 78vw) !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.12)) !important;
  border-radius: 12px !important;
}

/* Footer SEO + privacy link under legal mini (premium + readable on mobile) */
.footer-seo{
  margin-top: 10px !important;
  text-align: center !important;
  padding: 0 12px 6px !important;
}
.footer-seo p{
  margin: 0 auto 10px !important;
  max-width: 920px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,0.78) !important;
}
.footer-seo .privacy-link{
  display: inline-block !important;
  font-size: 13px !important;
  letter-spacing: .2px !important;
  text-decoration: none !important;
  color: rgba(255,255,255,0.72) !important;
  border-bottom: 1px solid rgba(255,255,255,0.28) !important;
  padding-bottom: 2px !important;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease !important;
}
.footer-seo .privacy-link:hover{
  opacity: 1 !important;
  border-color: rgba(255,255,255,0.55) !important;
  transform: translateY(-1px) !important;
}
.footer-seo .privacy-link:focus-visible{
  outline: 2px solid rgba(255,255,255,0.55) !important;
  outline-offset: 6px !important;
}




/* ===============================
   MOBILE – FINAL CENTER + HERO5 AROMATOUCH (DESKTOP TEXT)
   - fix broken mobile rendering
   - keep desktop untouched
================================ */
@media (max-width: 768px){
  /* HERO5: użyj wersji desktop (glass) i usuń skrót mobile */
  #hero5 .text-mobile{ display: none !important; }

  /* HERO5: na mobile ma być zawsze widoczny (bez scroll-fade) */
  #hero5{
    --hs-text-opacity: 1 !important;
    --hs-text-y: 0px !important;
    --hs-glass: 1 !important;
  }
  #hero5 .hero-scroll-text{
    opacity: 1 !important;
    transform: none !important;
  }

  /* Globalnie: centrowanie tekstu w mobile (H2–H7) */
  .hero-scroll .glass,
  .hero-scroll .glass h1,
  .hero-scroll .glass h2,
  .hero-scroll .glass h3,
  .hero-scroll .glass p{
    text-align: center !important;
  }
}

/* ===============================
   ADVOCATE LOGO – SIZE LOCK (FINAL)
   Desktop stays as base, Mobile reduced and locked
================================= */
.advocate-fixed img{
  height: 53px !important;
  width: auto !important;
}

@media (max-width: 768px){
  .advocate-fixed img{
    height: 43px !important; /* locked for mobile */
  }
}


/* ===============================
   POLICY PAGE – MOBILE TYPO (FINAL)
   Desktop untouched
================================= */
@media (max-width: 768px){
  body.policy-page section.hero{
    padding: 24px 14px !important;
  }
  body.policy-page .contact-glass{
    padding: 18px 16px !important;
    opacity: 1 !important;
    transform: none !important;
  }
  body.policy-page .contact-glass h2{
    font-size: 20px !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }
  body.policy-page .contact-glass p{
    font-size: 14px !important;
    line-height: 1.65 !important;
    letter-spacing: 0.1px !important;
  }
}

/* ✅ FINAL LOCK: unify mobile paragraph size across hero sections (no desktop impact) */
@media (max-width: 768px){
  .hero-scroll .glass p{
    font-size: 1.18rem !important;
    line-height: 1.65 !important;
  }
}

/* ✅ MOBILE BREATHING: subtle extra air without breaking custom line breaks */
@media (max-width: 768px){
  .hero-scroll .glass{
    padding: 22px 18px !important;
  }
  .hero-scroll .glass p{
    max-width: 36ch !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ===== MOBILE TAP FEELING (icons & links) ===== */
@media (max-width: 768px){
  /* smoother tap, no ugly highlight */
  a, button {
    -webkit-tap-highlight-color: transparent;
  }

  /* bigger hit area for social/shop icons without changing visual size */
  .icon-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 52px;
    padding: 6px;
    border-radius: 16px;
    transition: transform 140ms ease, filter 140ms ease;
    user-select: none;
    -webkit-user-select: none;
  }

  .icon-link:active{
    transform: scale(0.96);
    filter: brightness(1.04);
  }

  .icon-link:focus-visible{
    outline: 2px solid rgba(255,255,255,0.55);
    outline-offset: 4px;
  }

  .contact-icon-img{
    pointer-events: none;
  }
}


/* ===== MYADVOCATE BADGE (NO CROP / NO ZOOM) =====
   Prevent any accidental aspect-ratio/object-fit rules from cropping the image.
================================= */
.myadvocate-badge{
  overflow: visible !important;
}
.myadvocate-badge img{
  width: min(340px, 78vw) !important;
  max-width: min(340px, 78vw) !important;
  height: auto !important;
  object-fit: contain !important;
}



/* ===== UX polish: calmer ending for SEO + privacy (safe, CSS-only) ===== */
.legal-mini .footer-seo{
  margin-top: 18px !important;
  padding-top: 14px !important;
  opacity: 0.72 !important;
}
.legal-mini .footer-seo::before{
  content: "" !important;
  display: block !important;
  width: min(520px, 72%) !important;
  height: 1px !important;
  margin: 0 auto 14px !important;
  background: rgba(255,255,255,0.18) !important;
}
.legal-mini .footer-seo p{
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  color: rgba(255,255,255,0.70) !important;
}
.legal-mini .footer-seo .privacy-link{
  font-size: 12.5px !important;
  color: rgba(255,255,255,0.68) !important;
  border-bottom-color: rgba(255,255,255,0.22) !important;
}

@media (max-width: 768px){
  .legal-mini .footer-seo{
    margin-top: 16px !important;
    padding-top: 12px !important;
  }
  .legal-mini .footer-seo::before{
    width: min(420px, 78%) !important;
    margin-bottom: 12px !important;
  }
  .legal-mini .footer-seo p,
  .legal-mini .footer-seo .privacy-link{
    font-size: 12px !important;
  }
}
