/* ==========================================================================
   Embryolisse — Landing B2B / Oficjalny Dystrybutor w Polsce
   Design system odwzorowany z embryolisse.pl
   Display: Libre Baskerville (400) uppercase · Body: Oxygen (300/400)
   ========================================================================== */

:root {
  /* Kolory z embryolisse.pl */
  --navy: #061f6c;
  --navy-2: #163672;
  --navy-deep: #041549;
  --cream: #fff0de;
  --cream-hero: #f7eede; /* próbka tła zdjęcia hero — bezszwowe łączenie */
  --ink: #000;
  --ink-soft: #212121;
  --ink-mid: #4a4a4a;
  --ink-light: #7a7a7a;
  --line: #e5e5e5;
  --line-soft: #efefef;
  --bg: #fff;
  --bg-alt: #faf8f5;
  --accent: #8a0505;

  --f-display: "Libre Baskerville", "Times New Roman", serif;
  --f-body: "Oxygen", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --gut: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.wrap--narrow { max-width: 900px; }

.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--cream); }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.24;
  margin: 0;
  letter-spacing: 0.005em;
  /* Długie polskie wyrazy nie mogą rozpychać layoutu na wąskich ekranach */
  overflow-wrap: break-word;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 18px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(23px, 3.4vw, 34px);
}
.section-head .lede {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--ink-mid);
  font-size: 15.5px;
}

.rule {
  width: 44px; height: 1px; background: var(--navy);
  margin: 22px auto 0; border: 0;
}
.rule--left { margin-left: 0; margin-right: 0; }

/* ---------- Przyciski (1:1 z embryolisse.pl) ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 14px 42px;
  border-radius: 2px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn--lg { padding: 17px 56px; font-size: 13px; }
.btn--block { display: block; width: 100%; }

.link-under {
  font-family: var(--f-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: opacity 0.25s var(--ease);
}
.link-under:hover { opacity: 0.6; }

/* ==========================================================================
   Pasek informacyjny + Header
   ========================================================================== */
.announce {
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 7px var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
}
.announce__mid { text-align: center; flex: 1; }
.announce a { border-bottom: 1px solid rgba(0, 0, 0, 0.28); }
.announce a:hover { border-color: transparent; }
.announce__side { white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06); }

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
}
.header__logo { justify-self: center; grid-column: 2; }
.header__logo img {
  width: 190px;
  transition: width 0.3s var(--ease);
}
.site-header.is-stuck .header__logo img { width: 158px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  grid-column: 1;
}
.nav a {
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--navy);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header__cta { justify-self: end; grid-column: 3; display: flex; align-items: center; gap: 14px; }
.header__cta .btn { padding: 11px 26px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px var(--gut) 22px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mobile-nav .btn { margin-top: 18px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--cream-hero);
  overflow: hidden;
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  display: block;
}
.hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2; /* nad zdjęciem — .hero__media jest position:relative i leży dalej w DOM */
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero__inner a { pointer-events: auto; }
.hero__copy {
  /* Szerokość na tyle duża, by „KULTOWE DERMOKOSMETYKI" zmieściło się w jednej
     linii, ale ograniczona przez vw, żeby tekst nie wchodził na modelkę. */
  max-width: min(790px, 56vw);
  padding: 0 var(--gut);
  margin: 0 auto 0 max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut)));
}
.hero h1 {
  /* Rozmiar dobrany tak, aby „DERMOKOSMETYKI" nigdy nie dzieliło się na dwie linie */
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.hero__sub {
  margin: 20px 0 0;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  color: var(--ink-soft);
  max-width: 430px;
  line-height: 1.7;
}
.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__note {
  margin: 26px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ==========================================================================
   Pasek zaufania (navy)
   ========================================================================== */
.trust {
  background: var(--navy);
  color: #fff;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.trust__item {
  background: var(--navy);
  padding: 30px 26px;
  text-align: center;
}
.trust__item strong {
  display: block;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}
.trust__item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

/* ==========================================================================
   Historia marki
   ========================================================================== */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.story__media { position: relative; }
.story__media img { width: 100%; }
.story__media img.story__badge {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 240px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}
.story h2 { font-size: clamp(24px, 3vw, 34px); }
.story p { color: var(--ink-mid); margin: 18px 0 0; }
.story p em { font-style: italic; color: var(--ink-soft); }
.story__quote {
  margin: 26px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--navy);
  font-family: var(--f-display);
  font-size: 15px;
  font-style: italic;
  text-transform: none;
  line-height: 1.7;
  color: var(--ink-soft);
}
.story__actions { margin-top: 30px; }

/* ---------- Odznaki / badge strip ---------- */
.badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
  justify-items: center;
}
.badges img {
  width: 100%;
  max-width: 132px;
  transition: transform 0.4s var(--ease);
}
.badges a:hover img, .badges div:hover img { transform: translateY(-4px); }

/* ==========================================================================
   Produkty
   ========================================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 32px) clamp(14px, 1.8vw, 26px);
}
.card { display: flex; flex-direction: column; }
.card__media {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform 0.55s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}
.card__body { padding: 16px 4px 0; }
.card__cat {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin: 0 0 7px;
}
.card__name {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.45;
  margin: 0;
  min-height: 40px;
}
.card__price {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.products-note {
  margin: 34px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-light);
}
.products-cta { margin-top: 34px; text-align: center; }

/* ==========================================================================
   Split banner
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.split__cell {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #ddd;
}
.split__cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Bannery mają motyw po prawej stronie — kadrujemy do prawej,
     dzięki czemu tekst na dole po lewej leży na czystym tle. */
  object-position: right center;
  transition: transform 1s var(--ease);
}
.split__cell:hover img { transform: scale(1.045); }
.split__body {
  position: relative;
  z-index: 2;
  padding: 34px;
  color: #fff;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.16) 55%, transparent);
}
.split__body h3 {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 15em;
  color: #fff;
}
.split__body p {
  margin: 10px 0 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 30em;
}

/* ==========================================================================
   B2B — kluczowa sekcja
   ========================================================================== */
.b2b { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.b2b::before {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255, 240, 222, 0.09), transparent 70%);
  pointer-events: none;
}
.b2b h2, .b2b h3 { color: #fff; }
.b2b .section-head .lede { color: rgba(255, 255, 255, 0.78); }
.b2b .rule { background: rgba(255, 255, 255, 0.5); }

.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aud {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  padding: 26px 22px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.aud:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 240, 222, 0.4);
  transform: translateY(-3px);
}
.aud__ico {
  width: 34px; height: 34px;
  margin-bottom: 16px;
  color: var(--cream);
}
.aud__ico svg { width: 100%; height: 100%; display: block; }
.aud h3 {
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: uppercase;
}
.aud p {
  margin: 9px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.b2b-perks {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.perk__n {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 240, 222, 0.65);
  display: block;
  margin-bottom: 12px;
}
.perk h3 { font-size: 15px; margin-bottom: 9px; }
.perk p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }

.b2b__actions { margin-top: 52px; text-align: center; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.contact__aside h2 { font-size: clamp(23px, 2.8vw, 34px); }
.contact__aside p { color: var(--ink-mid); margin: 18px 0 0; }
.contact__list { margin: 30px 0 0; padding: 0; list-style: none; }
.contact__list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list .lbl {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  min-width: 78px;
  flex-shrink: 0;
}
.contact__list a { border-bottom: 1px solid var(--line); }
.contact__list a:hover { border-color: var(--navy); }

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(28px, 3.6vw, 46px);
  text-align: center;
}
.contact-card__label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin: 0 0 10px;
}
.contact-card__mail {
  font-family: var(--f-display);
  font-size: clamp(16px, 1.9vw, 22px);
  text-transform: none;
  margin: 0 0 24px;
  word-break: break-word;
}
.contact-card__mail a { border-bottom: 1px solid var(--line); transition: border-color 0.25s var(--ease); }
.contact-card__mail a:hover { border-color: var(--navy); }
.contact-card__note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ==========================================================================
   Finalne CTA → sklep
   ========================================================================== */
.final {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  text-align: center;
  padding: clamp(64px, 8vw, 104px) 0;
}
.final::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -320px;
  transform: translateX(-50%);
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 31, 108, 0.055), transparent 68%);
  pointer-events: none;
}
.final__inner { position: relative; z-index: 2; }
.final img.final__logo { width: 210px; margin: 0 auto 30px; }
.final h2 { font-size: clamp(25px, 3.6vw, 40px); }
.final p {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--ink-mid);
  font-size: 15.5px;
}
.final__actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.final__url {
  margin-top: 24px;
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ==========================================================================
   Stopka
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding: 54px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.footer p { margin: 0 0 12px; line-height: 1.7; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { border-bottom: 1px solid transparent; transition: border-color 0.25s var(--ease), color 0.25s; }
.footer a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.footer__logo { width: 176px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Animacje wejścia
   ========================================================================== */
/* Treść jest widoczna domyślnie. Ukrywamy ją wyłącznie gdy JS działa
   (klasa .js dodawana inline w <head>) — bez JS nic nie znika. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: 0.09s; }
.js .reveal[data-d="2"] { transition-delay: 0.18s; }
.js .reveal[data-d="3"] { transition-delay: 0.27s; }
.js .reveal[data-d="4"] { transition-delay: 0.36s; }
.js .reveal[data-d="5"] { transition-delay: 0.45s; }
.js .reveal[data-d="6"] { transition-delay: 0.54s; }
.js .reveal[data-d="7"] { transition-delay: 0.63s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 11.5px; letter-spacing: 0.1em; }
  .header__cta .btn { padding: 10px 20px; font-size: 11px; }
}

@media (max-width: 980px) {
  .section { padding: 60px 0; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .b2b-perks { grid-template-columns: 1fr; gap: 26px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Tablet / mobile: header + hero ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }

  .nav { display: none; }
  .header__inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 12px var(--gut);
  }
  .burger { display: block; grid-column: 1; justify-self: start; }
  .header__cta { grid-column: 3; }
  .header__cta .btn { display: none; }
  .header__cta .header__mailto { display: inline-block; }
  .header__logo img { width: 152px; }
  .site-header.is-stuck .header__logo img { width: 136px; }

  .announce__mid { display: none; }
  .announce__inner { justify-content: center; gap: 10px; }
  .announce__side { font-size: 11.5px; }
  .announce__side--right { display: none; }

  /* Hero: kolumnowo — panel tekstu zlewa się ze zdjęciem */
  .hero__inner { position: static; display: block; }
  .hero__copy {
    max-width: none;
    margin: 0;
    padding: 44px var(--gut) 30px;
    text-align: center;
    background: var(--cream-hero);
  }
  .hero__sub { margin-left: auto; margin-right: auto; max-width: 42em; }
  .hero__actions { justify-content: center; }
  .hero__media { margin-top: -1px; }
  /* Kadr mobilny ma dużo pustego tła u dołu — przycinamy do góry,
     żeby pod tekstem nie powstawała martwa przestrzeń. */
  .hero__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center top;
  }

  .story__grid { grid-template-columns: 1fr; gap: 34px; }
  .story__media { order: -1; }
  .story__media img.story__badge { width: 168px; right: 10px; bottom: -18px; padding: 14px 16px; }

  .split { grid-template-columns: 1fr; }
  .split__cell { min-height: 340px; }
}

@media (max-width: 700px) {
  :root { --gut: 18px; }

  .section { padding: 48px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 32px; text-align: left; }
  .section-head .lede { margin-left: 0; }
  .rule { margin-left: 0; }

  .products { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .card__name { font-size: 13px; min-height: 0; }
  .card__cat { font-size: 9.5px; }
  .card__price { font-size: 13px; }

  .audience { grid-template-columns: 1fr; gap: 12px; }
  .aud { padding: 22px 20px; display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
  .aud__ico { margin-bottom: 0; }

  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { padding: 22px 20px; text-align: left; }

  .badges { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  /* Większe obszary dotyku na mobile */
  .footer li { margin-bottom: 2px; }
  .footer li a { display: inline-block; padding: 9px 0; }
  .contact__list li { padding: 18px 0; }
  .contact__list a { display: inline-block; padding: 4px 0; }

  .btn { padding: 14px 30px; }
  .btn--lg { padding: 16px 34px; font-size: 12px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .final__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  /* Płynny rozmiar — „DERMOKOSMETYKI" mieści się w linii nawet przy 320 px */
  .hero h1 { font-size: clamp(22px, 7.4vw, 28px); }
  .products { gap: 22px 12px; }
  .badges { gap: 16px; }
}

/* Print */
@media print {
  .site-header, .announce, .burger, .mobile-nav { display: none; }
  body { font-size: 11pt; }
}
