/*
Theme Name: do.me.hair
Description: Motyw sklepu do.me.hair (przedpremiera). Źródło: LUCY/PROJEKTY-WEB/domehair.pl/theme/
Version: 1.5.0
Requires PHP: 8.1
Text Domain: domehair
*/

:root {
  --bg: #f6f6f4;
  --card: #ecebe8;
  --card-2: #e1e0dc;
  --ink: #1b1b1a;
  --muted: #84837e;
  --accent: #5f7684;
  --line: rgba(27, 27, 26, .1);
  --white: #ffffff;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 3vw, 32px);
  --glass-bg: rgba(255, 255, 255, .2);
  --glass-line: rgba(255, 255, 255, .45);
  --glass-blur: blur(20px) saturate(170%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* Nagłówki bezszeryfowe (jak „the act”): cienkie z pogrubionym dopowiedzeniem. Bodoni tylko w logotypie do.me.hair. */
h1, h2, h3 { font-family: var(--sans); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -.04em; }
h1 em, h2 em { font-style: normal; font-weight: 600; }
/* Bodoni Moda przy dużym opsz ma niemal niewidoczne włoskowe kreski. Blokujemy optykę na średniej wartości. */
.wordmark-text, .footer-word, .brand-word { font-optical-sizing: none; font-variation-settings: "opsz" 28; }
.icon { width: 24px; height: 24px; flex: none; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Szkło: półprzezroczyste karty na zdjęciach */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 50px -28px rgba(20, 20, 20, .3);
}
.glass--dark {
  background: rgba(22, 22, 22, .16);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 50px -24px rgba(0, 0, 0, .5);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(250, 250, 248, .9); }
  .glass--dark { background: rgba(22, 22, 22, .8); }
}

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--glass {
  background: rgba(255, 255, 255, .22); color: var(--ink); border-color: rgba(255, 255, 255, .6);
  backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%);
}
.btn--glass:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.arrow-dot {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); color: var(--ink); flex: none; transition: transform .2s;
}
a:hover > .arrow-dot, a:hover .arrow-dot { transform: rotate(-45deg); }

/* Nagłówek */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 246, 244, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-word { font: 400 30px/1 var(--serif); letter-spacing: -.03em; }
.brand-word i { font-style: italic; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; background: rgba(255, 255, 255, .35); border: 1px solid rgba(27, 27, 26, .06); border-radius: 999px; }
.nav ul a { display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.nav ul a:hover { background: var(--white); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.nav-toggle, .nav-cta { display: none; }
.nav-toggle { place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(27, 27, 26, .06); background: rgba(255, 255, 255, .35); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.is-menu .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.is-menu .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Przełącznik języka */
.lang-switch { display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .35); border: 1px solid rgba(27, 27, 26, .06); }
.lang-switch a { display: block; min-width: 40px; padding: 9px 12px; border-radius: 999px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--muted); transition: background .2s, color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--ink); color: var(--white); }

/* Zasłona przy zmianie języka: wjeżdża od dołu na cały ekran, na nowej stronie zjeżdża do góry */
.lang-veil { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink); color: var(--white);
  transform: translateY(100%); transition: transform .85s cubic-bezier(.77, 0, .18, 1); pointer-events: none; }
.lang-veil-in { text-align: center; opacity: 0; transform: translateY(24px); transition: opacity .5s ease .3s, transform .7s cubic-bezier(.2, .7, .2, 1) .3s; }
.lang-veil-word { font: 400 clamp(56px, 9vw, 120px)/1 var(--serif); letter-spacing: -.04em; font-optical-sizing: none; font-variation-settings: "opsz" 28; }
.lang-veil-word i { font-style: italic; }
.lang-veil-sub { margin-top: 18px; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
html[data-veil="en"] .lang-veil-sub::before { content: "English"; }
html[data-veil="pl"] .lang-veil-sub::before { content: "Polski"; }
.lang-veil.is-in { transform: none; pointer-events: auto; }
.lang-veil.is-in .lang-veil-in { opacity: 1; transform: none; }
html.veil-arrive .lang-veil { transform: none; transition: none; }
html.veil-arrive .lang-veil .lang-veil-in { opacity: 1; transform: none; transition: none; }
/* Wyjście bez ruchu góra-dół (Bartosz 28.10): zasłona tylko gaśnie, strona wyłania się spod niej */
html.veil-arrive .lang-veil.is-out { opacity: 0; transition: opacity .7s ease .1s; }
html.veil-arrive .lang-veil.is-out .lang-veil-in { opacity: 0; transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) { .lang-veil { display: none; } }

/* Hero: na komputerze tekst po lewej, pionowe zdjęcie w prawej połowie karty; na telefonie zdjęcie na całą kartę */
.hero { padding: 8px 0 0; }
.hero-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; max-height: calc(100vh - 100px); min-height: 560px; width: 100%;
  display: grid; grid-template-columns: 46% 1fr; grid-template-rows: 1fr auto;
  gap: 16px; padding: 20px; background: var(--card);
}
.hero-bg { position: absolute; top: 0; right: 0; width: 54%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.hero-copy, .hero-note { z-index: 2; }
.hero-copy { position: relative; grid-column: 1; grid-row: 1; align-self: start; padding: clamp(16px, 3vw, 44px); }
.hero h1 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 3vw, 40px); }
.hero-note { position: relative; grid-column: 1; grid-row: 2; justify-self: start; display: flex; align-items: center; gap: 14px; max-width: 380px; padding: 10px 18px 10px 10px; border-radius: var(--r-md); font-size: 14px; line-height: 1.4; }
.hero-note img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.hero-note b { display: block; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pills li {
  padding: 8px 13px; border-radius: 999px; font-size: 12px; line-height: 1; color: var(--ink);
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%);
}

.product-chip { display: block; width: 270px; border-radius: var(--r-lg); padding: 10px; text-decoration: none; }
.product-chip-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 6px 12px 8px; }
.product-chip h3 { font-weight: 600; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
.product-chip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.product-chip .arrow-dot { background: var(--ink); color: var(--white); width: 32px; height: 32px; }

/* Sekcje */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.intro { max-width: 1040px; text-align: center; }
.intro p { font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -.035em; }
.intro p .muted { color: var(--muted); }

.statement { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.statement-copy { background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.statement-list { list-style: none; margin: 0; padding: 0; }
.statement-list li { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); padding: clamp(14px, 1.8vw, 24px) 0; border-bottom: 1px solid var(--line); font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -.045em; }
.statement-list li:first-child { padding-top: 0; }
.statement-list .icon { width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); color: var(--accent); }
.statement-copy p { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -.03em; }
.statement-copy p b { font-weight: 600; }
.statement-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; position: relative; }
.statement-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { background: var(--card); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 14px; font-size: 14px; }
.card-head .icon { width: 22px; height: 22px; color: var(--accent); }
.card-media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--card-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 20px 12px 12px; }
.card-body h3 { font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 16px; }

.steps-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.steps-head h2 { font-size: clamp(38px, 4.6vw, 66px); }
.steps-head p { max-width: 38ch; color: var(--muted); }
.steps-note { max-width: 46ch; margin: 36px auto 0; text-align: center; font-size: 18px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--r-lg); padding: 28px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.steps li::before { content: "0" counter(step); font: 300 56px/1 var(--sans); letter-spacing: -.05em; color: var(--accent); }
.steps h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Wielki napis z produktem */
.wordmark { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.wordmark-link { display: block; position: relative; text-decoration: none; color: inherit; }
.wordmark-link:hover .wordmark-photo img { transform: scale(1.03); }
.wordmark-link:hover .arrow-dot { transform: rotate(-45deg); }
.wordmark-text { font: 400 clamp(64px, 17vw, 280px)/.9 var(--serif); text-align: center; letter-spacing: -.045em; white-space: nowrap; user-select: none; }
.wordmark-text i { font-style: italic; }
.wordmark .product-chip-top { padding-bottom: 6px; }
.wordmark-photo {
  position: relative; width: min(380px, 60vw); margin: clamp(-150px, -9vw, -50px) auto 0; z-index: 2;
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 40px 70px -34px rgba(20, 20, 20, .45);
}
.wordmark-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.wordmark .product-chip { position: absolute; z-index: 3; left: calc(50% - 330px); bottom: clamp(30px, 5vw, 60px); width: 240px; }

/* Maryla */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.founder-photo { border-radius: var(--r-xl); overflow: hidden; min-height: 560px; position: relative; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-caption { position: absolute; left: 16px; bottom: 16px; padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; font-size: 15px; line-height: 1.3; }
.photo-caption span { display: block; font-weight: 400; font-size: 13px; color: #3d3d3a; }
.founder-copy { background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.founder-copy h2 { font-size: clamp(40px, 4.4vw, 66px); margin: 0 0 26px; }
.founder-copy p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.founder-copy p + p { margin-top: 16px; }
.signature { display: flex; align-items: center; gap: 14px; }
.signature strong { display: block; font: 600 20px/1.2 var(--sans); letter-spacing: -.02em; margin-bottom: 4px; }
.signature span { color: var(--muted); font-size: 14px; }

/* Zapisy: zdjęcie w tle, formularz na ciemnym szkle */
.signup { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 88px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; isolation: isolate; }
.signup-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.signup::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18, 18, 17, .88) 0%, rgba(18, 18, 17, .66) 50%, rgba(18, 18, 17, .3) 100%); }
.signup h2 { font-size: clamp(44px, 5.4vw, 84px); margin: 0 0 20px; }
.signup h2 em { color: #d7e1e6; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.perks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c9d6dd; flex: none; transform: translateY(-2px); }
.signup > * { min-width: 0; }
.signup-panel { border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 30px); }

/* Formularz */
.dmh-form { display: grid; gap: 12px; }
.dmh-field { min-width: 0; display: flex; gap: 6px; padding: 6px; background: var(--white); border-radius: 999px; border: 1px solid var(--line); }
.dmh-field input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; height: 50px; outline: none; color: var(--ink); font-size: 16px; }
.dmh-field input::placeholder { color: #9b9a95; }
/* Bez niebieskiego tła autouzupełniania Chrome/Safari i bez podświetlenia dotyku na telefonie */
.dmh-field input { -webkit-appearance: none; appearance: none; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.dmh-field input:-webkit-autofill,
.dmh-field input:-webkit-autofill:hover,
.dmh-field input:-webkit-autofill:focus,
.dmh-field input:autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset; box-shadow: 0 0 0 1000px var(--white) inset;
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink); transition: background-color 9999s ease-out 0s;
}
.dmh-form button, .dmh-consent, .dmh-consent input { -webkit-tap-highlight-color: transparent; }
.dmh-field .btn { height: 50px; flex: none; }
.dmh-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: inherit; opacity: .78; cursor: pointer; }
.dmh-consent input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.dmh-consent a { text-decoration: underline; text-underline-offset: 2px; }
.dmh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dmh-msg { font-size: 15px; min-height: 1.4em; }
.dmh-msg:empty { display: none; }
.dmh-msg.is-error { color: #e0866a; }
.dmh-form.is-done .dmh-field, .dmh-form.is-done .dmh-consent { display: none; }
.dmh-success { display: none; padding: 22px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); }
.dmh-success strong { display: block; font: 600 24px/1.2 var(--sans); letter-spacing: -.02em; margin-bottom: 6px; }
.dmh-form.is-done .dmh-success { display: block; }
.dmh-form.is-done .dmh-msg { display: none; }
.signup .dmh-field { border-color: transparent; }
.signup .dmh-consent { color: var(--white); }
.surface-light .dmh-success { background: var(--card); }

/* Stopka */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-word { font: 400 clamp(52px, 9vw, 140px)/.9 var(--serif); letter-spacing: -.04em; }
.footer-links { display: grid; gap: 8px; text-align: right; font-size: 15px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }

/* Popup */
.dmh-pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20, 20, 20, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.dmh-pop.is-open { opacity: 1; visibility: visible; }
.dmh-pop-box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: .9fr 1.1fr; background: rgba(250, 250, 248, .58); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45); border-radius: var(--r-xl); transform: translateY(16px); transition: transform .35s; }
.dmh-pop.is-open .dmh-pop-box { transform: none; }
.dmh-pop-media { position: relative; min-height: 440px; }
.dmh-pop-media img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; border-radius: var(--r-lg); }
.dmh-pop-copy { padding: 44px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.dmh-pop-copy h2 { font-size: clamp(36px, 4.2vw, 52px); margin: 0 0 12px; }
.dmh-pop-copy h2 em { color: var(--accent); }
.dmh-pop-copy > p { color: var(--muted); margin-bottom: 24px; }
.dmh-pop-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; }
.dmh-pop-close:hover { background: var(--card); }
.dmh-pop .dmh-field .btn { padding: 0 20px; }

/* Karta produktu */
.pdp--top { padding-top: 8px; }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--card); aspect-ratio: 3 / 4; }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 4.2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: none; }
.pdp-info { position: sticky; top: 92px; background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 48px); }
.pdp-info h1 { font-size: clamp(38px, 3.8vw, 58px); margin: 0 0 12px; }
.pdp-sub { font-size: 19px; color: var(--muted); }
.pdp-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price strong { font: 500 20px/1.3 var(--sans); letter-spacing: -.02em; }
.pdp-lead { font-size: 17px; margin-top: 14px; }
.pdp-form-label { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.pdp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.pdp-features div { background: var(--white); border-radius: var(--r-md); padding: 16px 14px; font-size: 14px; line-height: 1.3; }
.pdp-features .icon { display: block; width: 26px; height: 26px; margin-bottom: 14px; color: var(--accent); }
.pdp-features b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }

/* Opis produktu w kafelkach */
.pdp-desc { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: 40px; }
.pdp-desc h2 { font-size: clamp(38px, 4.6vw, 66px); max-width: 14ch; }
.pdp-desc p { max-width: 34ch; font-size: 19px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: var(--white); border-radius: var(--r-lg); padding: 28px; }
.tile .icon { width: 30px; height: 30px; color: var(--accent); }
.tile h3 { font-weight: 600; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; margin: 64px 0 10px; }
.tile p { color: var(--muted); font-size: 16px; }
/* Hasło z równym odstępem nad i pod (sekcje wokół bez własnego paddingu w tym miejscu) */
.pdp-desc-section { padding-bottom: 0; }
.pdp-steps { padding-top: 0; }
.pdp-claim { text-align: center; margin: clamp(120px, 14vw, 200px) 0; padding: 0 var(--gut); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.pdp-claim b { font-weight: 600; }
.faq { max-width: 880px; margin: 0 auto; }
.faq h2 { font-size: clamp(38px, 4.4vw, 62px); text-align: center; margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 4px; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--sans); transition: transform .35s ease; }
.faq details.is-open summary::after { transform: rotate(45deg); }
.faq-a { overflow: hidden; transition: height .4s cubic-bezier(.4, 0, .2, 1); }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }

/* Zdjęcie z etykietami (karta produktu) */
.spotlight { padding: 0 0 clamp(48px, 6vw, 80px); }
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spot-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.spot-photo img { width: 100%; height: 100%; object-fit: cover; }
.spot-label {
  position: absolute; left: var(--x); top: var(--y); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap;
  background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%);
}
.spot-copy { background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 28px; }
.spot-copy h2 { font-size: clamp(34px, 3.8vw, 56px); }
.spot-form { width: 100%; max-width: 520px; text-align: left; }

/* Przed i po (karta produktu) */
.before-after { padding-bottom: clamp(120px, 14vw, 200px); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ba-grid figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.ba-grid img { width: 100%; height: 100%; object-fit: cover; }
.ba-grid figure::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(18, 18, 17, 0), rgba(18, 18, 17, .55)); pointer-events: none; }
.ba-grid figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: var(--white); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.ba-grid figcaption span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 400; letter-spacing: .08em; opacity: .75; }
@media (max-width: 1000px) { .spot { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .spot-label { font-size: 12px; padding: 8px 12px; } .ba-grid { grid-template-columns: 1fr; } }

/* Treść zwykłych stron */
.page-content { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 100px) 0; }
.page-content h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 32px; }
.page-content h2 { font-size: 34px; margin: 40px 0 14px; }
.page-content p, .page-content li { font-size: 17px; }
.page-content p + p { margin-top: 14px; }

/* Wejścia */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dmh-pop, .dmh-pop-box { transition: none; }
}

/* Responsywność */
@media (max-width: 1000px) {
  .nav ul { display: none; position: absolute; top: 100%; left: 16px; right: 16px; flex-direction: column; gap: 2px; padding: 8px; background: var(--white); border-radius: var(--r-lg); box-shadow: 0 24px 50px -24px rgba(20, 20, 20, .35); }
  .site-header.is-menu .nav ul { display: flex; }
  .nav ul a { padding: 15px 16px; font-size: 17px; border-radius: var(--r-md); }
  .nav ul a:hover { background: var(--card); }
  .nav-toggle { display: grid; }
  .hero-card { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: auto; max-height: none; min-height: min(92svh, 860px); padding: 12px; }
  .hero-bg { width: 100%; object-position: 50% 0; }
  .hero-note { display: none; }
  .wordmark-photo { margin-top: -6vw; }
  .wordmark .product-chip { position: relative; left: auto; bottom: auto; width: min(260px, 70vw); margin: -34px auto 0; }
  .hero-copy { align-self: stretch; }
  .pdp-desc { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: 1fr 1fr; }
  /* Jasne tło pod tekstem kończy się tuż nad nagłówkiem, reszta zdjęcia bez bieli */
  .hero-copy::before { content: ""; position: absolute; z-index: -1; left: -12px; right: -12px; bottom: -12px; top: -64px; pointer-events: none; background: linear-gradient(0deg, rgba(246, 246, 244, .8) 0%, rgba(246, 246, 244, .62) calc(100% - 64px), rgba(246, 246, 244, 0) 100%); }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .steps-head { flex-direction: column; align-items: flex-start; }
  .founder, .signup, .pdp, .statement { grid-template-columns: 1fr; }
  .statement-photo { min-height: 0; aspect-ratio: 4 / 5; }
  .signup::after { background: linear-gradient(180deg, rgba(18, 18, 17, .86), rgba(18, 18, 17, .6)); }
  .founder-photo { min-height: 120vw; }
  .pdp-info { position: static; }
  .gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-lg); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure, .gallery figure:first-child { flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .gallery-thumbs { display: flex; gap: 8px; margin: 8px 0 4px; overflow-x: auto; scrollbar-width: none; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--card); opacity: .45; cursor: pointer; transition: opacity .2s; -webkit-tap-highlight-color: transparent; }
  .gallery-thumbs button.is-active { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
  .gallery-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .dmh-pop-box { grid-template-columns: 1fr; }
  .dmh-pop-media { min-height: 220px; }
  .dmh-pop-copy { padding: 26px 22px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand-word { font-size: 25px; }
  .nav-btn { display: none; }
  .nav-cta { display: block; margin-top: 6px; }
  .nav ul .nav-cta .btn { display: flex; padding: 0 20px; width: 100%; height: 50px; justify-content: center; font-size: 15px; border-radius: 999px; background: var(--ink); color: var(--white); }
  .nav-toggle { width: 40px; height: 40px; }
  .lang-switch a { min-width: 34px; padding: 8px 9px; font-size: 12px; }
  .nav { gap: 6px; }
  .hero-note { display: none; }
  .hero-actions .btn { width: 100%; padding: 0 14px; font-size: 14px; text-align: center; }
  .hero-copy { padding: 22px 20px; }
  .dmh-field { flex-direction: column; border-radius: var(--r-lg); }
  /* flex: none, bo w kolumnie flex: 1 ściska pole do wysokości tekstu */
  .dmh-field input[type=email] { flex: none; width: 100%; height: 52px; padding: 0 20px; }
  .dmh-field .btn { height: 52px; }
  .dmh-field .btn { width: 100%; }
  .footer-links { text-align: left; }
  .pdp-features div { padding: 14px 12px; }
  .pdp-features b { font-size: 15px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile h3 { margin-top: 28px; }
  .dmh-pop-media { display: none; }
}
