/*
Theme Name: Emilia Kecko Beauty Studio
Theme URI: https://www.emiliakeckobeautystudio.pl
Description: Motyw potomny dla Emilia Kecko Beauty Studio. Kierunek Sand & Quiet: piaskowe neutralne, serif Cormorant w naglowkach, Manrope w tresci, zloto wylacznie jako wloskowaty akcent.
Author: Emilia Kecko Beauty Studio
Template: hostinger-ai-theme
Version: 1.0.0
Text Domain: emilia-kecko
*/

/* ============================================================
   1. TOKENY
   ============================================================ */
:root {
  --ek-bg:      #F7F3EC;
  --ek-surface: #E4D9C9;
  --ek-ink:     #2B2724;
  --ek-muted:   #7A6E63;
  --ek-accent:  #A98B62;
  --ek-line:    #D8CCBC;
  --ek-on-dark: #FBF8F3;

  --ek-serif: Cormorant, "Cormorant Garamond", Georgia, serif;
  --ek-sans:  Manrope, "Helvetica Neue", Arial, sans-serif;

  --ek-xs: 8px;
  --ek-sm: 16px;
  --ek-md: 32px;
  --ek-lg: 72px;
  --ek-xl: 140px;

  --ek-wide:   1240px;
  --ek-narrow: 680px;
  --ek-gutter: 24px;

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

@media (max-width: 900px) {
  :root { --ek-xl: 88px; --ek-lg: 56px; --ek-gutter: 20px; }
}

/* ============================================================
   2. BAZA
   ============================================================ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.ek {
  background: var(--ek-bg);
  color: var(--ek-ink);
  font-family: var(--ek-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 900px) { body.ek { font-size: 17px; } }

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

.ek h1, .ek h2, .ek h3, .ek h4 {
  font-family: var(--ek-serif);
  font-weight: 400;
  color: var(--ek-ink);
  margin: 0;
  text-wrap: balance;
}

.ek h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.08; letter-spacing: -0.012em; }
.ek h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.008em; }
.ek h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.14; }
.ek h4 { font-size: 20px; line-height: 1.2; }
.ek h2 em, .ek h1 em { font-style: italic; line-height: 1.14; padding-bottom: 0.06em; display: inline-block; }

.ek p { margin: 0 0 1.15em; max-width: 66ch; }
.ek p:last-child { margin-bottom: 0; }

.ek a { color: inherit; text-decoration: none; }

.ek img { max-width: 100%; height: auto; display: block; }

.ek-wrap   { width: 100%; max-width: var(--ek-wide);   margin-inline: auto; padding-inline: var(--ek-gutter); }
.ek-narrow { width: 100%; max-width: var(--ek-narrow); margin-inline: auto; padding-inline: var(--ek-gutter); }

.ek-section { padding-block: var(--ek-xl); }
.ek-section--tight { padding-block: var(--ek-lg); }
.ek-section--sand { background: var(--ek-surface); }

.ek-label {
  font-family: var(--ek-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ek-muted);
  margin: 0 0 var(--ek-md);
  display: block;
}

.ek-rule { width: 48px; height: 1px; background: var(--ek-accent); border: 0; margin: var(--ek-md) 0; }
.ek-hair { width: 100%; height: 1px; background: var(--ek-line); border: 0; margin: 0; }

.ek-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--ek-ink); }
.ek-muted { color: var(--ek-muted); }
.ek-small { font-size: 15px; line-height: 1.7; color: var(--ek-muted); }

/* ============================================================
   3. PRZYCISKI
   ============================================================ */
.ek-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: 0;
  font-family: var(--ek-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .4s var(--ek-ease), color .4s var(--ek-ease), border-color .4s var(--ek-ease);
}
.ek .ek-btn--primary, .ek-btn--primary { background: var(--ek-ink); color: var(--ek-on-dark); border-color: var(--ek-ink); }
.ek .ek-btn--primary:hover, .ek .ek-btn--primary:focus-visible { background: transparent; color: var(--ek-ink); }

.ek .ek-btn--ghost, .ek-btn--ghost { background: transparent; color: var(--ek-ink); border-color: var(--ek-line); }
.ek .ek-btn--ghost:hover, .ek .ek-btn--ghost:focus-visible { border-color: var(--ek-ink); }

.ek .ek-btn--light, .ek-btn--light { background: transparent; color: var(--ek-on-dark); border-color: rgba(251,248,243,.55); }
.ek .ek-btn--light:hover, .ek .ek-btn--light:focus-visible { background: var(--ek-on-dark); color: var(--ek-ink); border-color: var(--ek-on-dark); }

.ek-btn:focus-visible { outline: 2px solid var(--ek-accent); outline-offset: 3px; }

.ek-textlink {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ek-ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ek-line);
  display: inline-block;
  transition: border-color .4s var(--ek-ease), color .4s var(--ek-ease);
}
.ek-textlink:hover { border-color: var(--ek-accent); color: var(--ek-accent); }

.ek-actions { display: flex; flex-wrap: wrap; gap: var(--ek-sm); align-items: center; }

/* ============================================================
   4. KADRY I PLACEHOLDERY
   ============================================================ */
.ek-frame { position: relative; overflow: hidden; background: var(--ek-surface); }
.ek-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ek-ease); }
.ek-frame--hover:hover img { transform: scale(1.035); }

.ek-r-portrait  { aspect-ratio: 3 / 4; }
.ek-r-tall      { aspect-ratio: 2 / 3; }
.ek-r-square    { aspect-ratio: 1 / 1; }
.ek-r-landscape { aspect-ratio: 4 / 3; }
.ek-r-wide      { aspect-ratio: 16 / 10; }

/* Zadeklarowany placeholder lokalny w kolorach kierunku. Bez zewnetrznych requestow. */
.ek-ph {
  background:
    repeating-linear-gradient(135deg, rgba(169,139,98,.055) 0 2px, transparent 2px 9px),
    var(--ek-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--ek-md);
}
.ek-ph span {
  font-family: var(--ek-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ek-muted);
  opacity: .75;
  max-width: 22ch;
  line-height: 1.9;
}

/* ============================================================
   5. HEADER
   ============================================================ */
.ek-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ek-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ek-ease), box-shadow .4s var(--ek-ease);
}
.ek-header.is-stuck { border-bottom-color: var(--ek-line); box-shadow: 0 10px 30px -26px rgba(43,39,36,.5); }

.ek-header__inner {
  max-width: var(--ek-wide);
  margin-inline: auto;
  padding: 20px var(--ek-gutter);
  display: flex;
  align-items: center;
  gap: var(--ek-md);
}

.ek-brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.ek-brand__name {
  font-family: var(--ek-serif);
  font-size: 21px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ek-ink);
}
.ek-brand__sub {
  font-family: var(--ek-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ek-muted);
  margin-top: 7px;
}
.ek-brand__logo { max-height: 46px; width: auto; }

.ek-nav { display: flex; align-items: center; gap: 30px; }
.ek-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ek-ink);
  position: relative;
  padding-block: 4px;
}
.ek-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ek-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ek-ease);
}
.ek-nav a:hover::after, .ek-nav a.is-current::after { transform: scaleX(1); }
.ek-nav a.is-current { color: var(--ek-accent); }

.ek-header .ek-btn { padding: 14px 26px; font-size: 11px; }

.ek-burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
}
.ek-burger span { display: block; width: 24px; height: 1px; background: var(--ek-ink); transition: transform .4s var(--ek-ease), opacity .3s var(--ek-ease); }
.ek-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.ek-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ek-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.ek-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ek-bg);
  padding: 96px var(--ek-gutter) var(--ek-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ek-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .45s var(--ek-ease), transform .45s var(--ek-ease), visibility .45s;
  overflow-y: auto;
}
.ek-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.ek-drawer a.ek-drawer__link {
  font-family: var(--ek-serif);
  font-size: 30px;
  line-height: 1.3;
  color: var(--ek-ink);
  border-bottom: 1px solid var(--ek-line);
  padding-block: 14px;
}
.ek-drawer .ek-btn { margin-top: var(--ek-md); }
.ek-drawer__meta { margin-top: auto; padding-top: var(--ek-md); }

@media (max-width: 1040px) {
  .ek-nav { display: none; }
  .ek-burger { display: flex; }
  .ek-header .ek-btn--primary { display: none; }
}

/* Pasek rezerwacji na telefonie */
.ek-mobilebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  background: var(--ek-ink);
  padding: 14px var(--ek-gutter) calc(14px + env(safe-area-inset-bottom));
  justify-content: center;
  transform: translateY(105%);
  transition: transform .5s var(--ek-ease);
}
.ek-mobilebar.is-visible { transform: none; }
.ek-mobilebar a {
  color: var(--ek-on-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (max-width: 760px) { .ek-mobilebar { display: flex; } body.ek { padding-bottom: 0; } }

/* ============================================================
   6. HERO
   ============================================================ */
.ek-hero { padding-block: clamp(56px, 8vw, 104px) var(--ek-xl); }
.ek-hero__grid {
  display: grid;
  grid-template-columns: 5.2fr 6.8fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.ek-hero__name {
  font-family: var(--ek-serif);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin: 0;
}
.ek-hero__tagline {
  font-family: var(--ek-serif);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.25;
  color: var(--ek-accent);
  margin: var(--ek-md) 0 0;
  padding-bottom: .08em;
}
.ek-hero__sub {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ek-muted);
  margin: var(--ek-sm) 0 0;
  line-height: 1.9;
}
.ek-hero__text { margin-top: var(--ek-md); max-width: 46ch; }
.ek-hero__actions { margin-top: var(--ek-lg); }
.ek-hero__media { position: relative; }
.ek-hero__media .ek-frame { aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .ek-hero { padding-bottom: var(--ek-lg); }
  .ek-hero__grid { grid-template-columns: 1fr; gap: var(--ek-md); }
  .ek-hero__media { order: -1; }
  .ek-hero__media .ek-frame { aspect-ratio: 4 / 3.4; }
  .ek-hero__actions { margin-top: var(--ek-md); }
  .ek-hero__actions .ek-btn { flex: 1 1 100%; }
}

/* ============================================================
   7. SPLIT (tekst + zdjecie, asymetrycznie)
   ============================================================ */
.ek-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.ek-split--flip { grid-template-columns: 7fr 5fr; }
.ek-split--flip .ek-split__media { order: -1; }
@media (max-width: 900px) {
  .ek-split, .ek-split--flip { grid-template-columns: 1fr; gap: var(--ek-md); }
  .ek-split__media, .ek-split--flip .ek-split__media { order: 0; }
}

/* ============================================================
   8. FILOZOFIA (numerowana, na wyrazne zyczenie marki)
   ============================================================ */
.ek-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: var(--ek-lg); }
.ek-step { padding: var(--ek-md) var(--ek-md) var(--ek-md) 0; border-top: 1px solid var(--ek-line); }
.ek-step:not(:last-child) { border-right: 1px solid var(--ek-line); padding-right: var(--ek-md); }
.ek-step:not(:first-child) { padding-left: var(--ek-md); }
.ek-step__num {
  font-family: var(--ek-serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ek-accent);
  display: block;
  margin-bottom: var(--ek-sm);
}
.ek-step__title {
  font-family: var(--ek-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.ek-step p { font-size: 15.5px; line-height: 1.7; color: var(--ek-muted); }
@media (max-width: 900px) {
  .ek-steps { grid-template-columns: 1fr; }
  .ek-step, .ek-step:not(:last-child), .ek-step:not(:first-child) { padding: var(--ek-md) 0; border-right: 0; }
}

/* ============================================================
   9. KATEGORIE OFERTY (uklad niesymetryczny, nie trzy rowne karty)
   ============================================================ */
.ek-cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 40px); margin-top: var(--ek-lg); }
.ek-cat { display: block; grid-column: span 4; }
.ek-cat--lead { grid-column: span 6; }
.ek-cat--half { grid-column: span 6; }
.ek-cat__body { padding-top: var(--ek-sm); border-top: 1px solid var(--ek-line); margin-top: var(--ek-sm); }
.ek-cat__title { font-family: var(--ek-serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.16; margin: 0 0 8px; }
.ek-cat p { font-size: 15.5px; line-height: 1.7; color: var(--ek-muted); margin-bottom: var(--ek-sm); }
.ek-cat .ek-textlink { font-size: 11px; }
@media (max-width: 900px) {
  .ek-cats { grid-template-columns: 1fr; }
  .ek-cat, .ek-cat--lead, .ek-cat--half { grid-column: span 1; }
}

/* ============================================================
   10. ZABIEGI (strona Oferta)
   ============================================================ */
.ek-treat { border-top: 1px solid var(--ek-line); padding-block: var(--ek-lg); }
.ek-treat__grid { display: grid; grid-template-columns: 4.5fr 7.5fr; gap: clamp(28px, 4.5vw, 72px); }
.ek-treat__name { margin: 0 0 var(--ek-sm); }
.ek-treat__intro { font-family: var(--ek-serif); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; color: var(--ek-muted); padding-bottom: .06em; }
.ek-treat__block { margin-bottom: var(--ek-md); }
.ek-treat__block:last-child { margin-bottom: 0; }
.ek-treat__h {
  font-family: var(--ek-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ek-accent);
  margin: 0 0 10px;
}
.ek-treat ul { margin: 0; padding: 0; list-style: none; }
.ek-treat ul li { position: relative; padding-left: 20px; margin-bottom: 7px; line-height: 1.7; }
.ek-treat ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--ek-accent); }
.ek-variants { border-top: 1px solid var(--ek-line); margin-top: var(--ek-sm); }
.ek-variant { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ek-sm); padding: 13px 0; border-bottom: 1px solid var(--ek-line); }
.ek-variant__n { font-size: 15.5px; line-height: 1.6; }
.ek-variant__p { font-family: var(--ek-serif); font-size: 17px; color: var(--ek-muted); white-space: nowrap; }
.ek-treat__foot { margin-top: var(--ek-md); display: flex; flex-wrap: wrap; gap: var(--ek-sm); align-items: center; }
@media (max-width: 900px) { .ek-treat__grid { grid-template-columns: 1fr; gap: var(--ek-md); } }

/* ============================================================
   11. OPINIE
   ============================================================ */
.ek-rating { display: flex; align-items: baseline; gap: 14px; }
.ek-rating__score { font-family: var(--ek-serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.ek-rating__meta { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ek-muted); }
.ek-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: var(--ek-lg); }
.ek-quote { border-top: 1px solid var(--ek-line); padding-top: var(--ek-md); }
.ek-quote blockquote { margin: 0; font-family: var(--ek-serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.45; color: var(--ek-ink); }
.ek-quote figcaption { margin-top: var(--ek-sm); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ek-muted); line-height: 2; }
@media (max-width: 900px) { .ek-quotes { grid-template-columns: 1fr; } }

/* ============================================================
   12. GALERIA EDITORIAL
   ============================================================ */
.ek-gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.2vw, 34px); align-items: start; }
.ek-gal > * { grid-column: span 4; }
.ek-gal .g-lead   { grid-column: span 7; }
.ek-gal .g-side   { grid-column: span 4; grid-column-start: 9; align-self: end; }
.ek-gal .g-half   { grid-column: span 6; }
.ek-gal .g-third  { grid-column: span 4; }
.ek-gal .g-offset { grid-column: span 5; grid-column-start: 3; }
.ek-gal .g-end    { grid-column: span 5; grid-column-start: 8; }
.ek-gal .g-full   { grid-column: span 12; }
.ek-gal__cap { font-size: 13px; color: var(--ek-muted); margin-top: 10px; line-height: 1.6; }
@media (max-width: 900px) {
  .ek-gal { grid-template-columns: repeat(2, 1fr); }
  .ek-gal > *, .ek-gal .g-lead, .ek-gal .g-side, .ek-gal .g-half,
  .ek-gal .g-third, .ek-gal .g-offset, .ek-gal .g-end { grid-column: span 2; grid-column-start: auto; }
}

/* ============================================================
   13. KONTAKT
   ============================================================ */
.ek-contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.ek-info { margin: 0; }
.ek-info__row { border-top: 1px solid var(--ek-line); padding: var(--ek-sm) 0; }
.ek-info dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ek-muted); margin-bottom: 7px; }
.ek-info dd { margin: 0; font-size: 17.5px; line-height: 1.65; }
.ek-info dd a { border-bottom: 1px solid var(--ek-line); transition: border-color .35s var(--ek-ease); }
.ek-info dd a:hover { border-color: var(--ek-accent); }
.ek-map { width: 100%; aspect-ratio: 4 / 3.4; border: 1px solid var(--ek-line); filter: grayscale(.32) sepia(.14) contrast(.96); }
.ek-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .ek-contact { grid-template-columns: 1fr; } .ek-map { aspect-ratio: 4 / 3.6; } }

/* ============================================================
   14. FOOTER
   ============================================================ */
.ek-footer { background: var(--ek-surface); padding-block: var(--ek-lg) var(--ek-md); }
.ek-footer__top { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: clamp(28px, 4vw, 64px); }
.ek-footer__tag { font-family: var(--ek-serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ek-muted); margin-top: var(--ek-sm); padding-bottom: .06em; }
.ek-footer h4 { font-family: var(--ek-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ek-muted); margin: 0 0 var(--ek-sm); }
.ek-footer ul { list-style: none; margin: 0; padding: 0; }
.ek-footer li { margin-bottom: 11px; font-size: 16px; }
.ek-footer li a { border-bottom: 1px solid transparent; transition: border-color .35s var(--ek-ease); }
.ek-footer li a:hover { border-bottom-color: var(--ek-accent); }
.ek-footer__bottom {
  margin-top: var(--ek-lg);
  padding-top: var(--ek-sm);
  border-top: 1px solid var(--ek-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--ek-sm);
  font-size: 13px;
  color: var(--ek-muted);
}
@media (max-width: 900px) { .ek-footer__top { grid-template-columns: 1fr; gap: var(--ek-md); } }

/* ============================================================
   15. RUCH (motion 0.2: jedno pojawienie, lagodny hover)
   ============================================================ */
.ek-rise { opacity: 0; transform: translateY(16px); transition: opacity .85s var(--ek-ease), transform .85s var(--ek-ease); }
.ek-rise.is-in { opacity: 1; transform: none; }
.no-js .ek-rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ek-rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ek-frame img { transition: none !important; }
  .ek-frame--hover:hover img { transform: none !important; }
}

.ek-skip {
  position: absolute; left: -9999px;
  background: var(--ek-ink); color: var(--ek-on-dark);
  padding: 12px 20px; z-index: 200; font-size: 13px;
}
.ek-skip:focus { left: var(--ek-gutter); top: 10px; }

/* Ukrycie elementow motywu nadrzednego, ktorych nie uzywamy */
.ek .wp-block-post-title, .ek .entry-header { display: none; }

/* ============================================================
   16. UZUPELNIENIA UKLADOW
   ============================================================ */

/* Na piaskowym tle linie musza byc ciemniejsze, inaczej znikaja. */
.ek-section--sand { --ek-line: #CBBBA6; }

/* Dodatkowe szerokosci kart kategorii, zeby uniknac rzedu rownych kafli. */
.ek-cat--s5 { grid-column: span 5; }
.ek-cat--s7 { grid-column: span 7; }
@media (max-width: 900px) {
  .ek-cat--s5, .ek-cat--s7 { grid-column: span 1; }
}

/* Sekcja "Dlaczego": inna rodzina ukladu niz numerowane kroki. */
.ek-why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 64px) clamp(32px, 6vw, 96px);
  margin-top: var(--ek-lg);
}
.ek-why__item { border-top: 1px solid var(--ek-line); padding-top: var(--ek-md); }
.ek-why__item h3 { margin: 0 0 12px; }
.ek-why__item p { color: var(--ek-muted); font-size: 16.5px; line-height: 1.75; }
@media (max-width: 900px) { .ek-why { grid-template-columns: 1fr; gap: var(--ek-md); } }

/* Zamykajace wezwanie do dzialania. */
.ek-cta { text-align: center; }
.ek-cta h2 { max-width: 20ch; margin-inline: auto; }
.ek-cta p { margin-inline: auto; text-align: center; }
.ek-cta .ek-actions { justify-content: center; margin-top: var(--ek-md); }
.ek-cta .ek-rule { margin-inline: auto; }

/* Naglowek strony podrzednej. */
.ek-pagehead { padding-block: clamp(56px, 7vw, 104px) var(--ek-lg); }
.ek-pagehead h1 { max-width: 18ch; }
.ek-pagehead p { margin-top: var(--ek-md); }

/* Spis kategorii na stronie Oferta. */
.ek-jump { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: var(--ek-md); padding-top: var(--ek-sm); border-top: 1px solid var(--ek-line); }
.ek-jump a { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ek-muted); padding-bottom: 4px; border-bottom: 1px solid transparent; transition: color .35s var(--ek-ease), border-color .35s var(--ek-ease); }
.ek-jump a:hover { color: var(--ek-ink); border-bottom-color: var(--ek-accent); }

/* Kotwice pod przyklejonym naglowkiem. */
.ek-anchor { scroll-margin-top: 110px; }

/* Karty kategorii uslug na stronie Cennik. */
.ek-pricelist { border-top: 1px solid var(--ek-line); margin-top: var(--ek-lg); }
.ek-pricerow { display: grid; grid-template-columns: 5fr 7fr; gap: var(--ek-md); padding: var(--ek-md) 0; border-bottom: 1px solid var(--ek-line); }
.ek-pricerow h3 { margin: 0; }
.ek-pricerow p { color: var(--ek-muted); font-size: 16px; margin: 0; }
@media (max-width: 900px) { .ek-pricerow { grid-template-columns: 1fr; gap: 10px; } }


/* Ikony social media w stopce */
.ek-social { display: flex; gap: 10px; margin-top: 4px; }
.ek-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--ek-line);
  color: var(--ek-ink);
  transition: border-color .4s var(--ek-ease), color .4s var(--ek-ease);
}
.ek-social a:hover, .ek-social a:focus-visible { border-color: var(--ek-accent); color: var(--ek-accent); }
.ek-social svg { display: block; }


/* ============================================================
   17. GALERIA: TRZY ROZDZIALY
   ============================================================ */
.ek-galp__chapter {
  display: flex; align-items: baseline; gap: 18px;
  padding-bottom: 14px; margin: var(--ek-xl) 0 var(--ek-lg);
  border-bottom: 1px solid var(--ek-line);
}
.ek-galp__grid--one + .ek-galp__chapter,
.ek-galp__grid--two + .ek-galp__chapter { margin-top: var(--ek-xl); }
.ek-galp .ek-galp__chapter:first-child { margin-top: 0; }
.ek-galp__num  { font-family: var(--ek-serif); font-size: 44px; line-height: 1; color: var(--ek-accent); }
.ek-galp__name { font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ek-muted); }

.ek-galp__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.2vw, 34px); align-items: start; }
.ek-galp__note {
  font-family: var(--ek-serif); font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; color: var(--ek-muted);
  margin: 0; max-width: 26ch;
}

/* I. Wnetrze: duzy kadr, maly kadr opuszczony nizej, notatka, potem para 4/5 + 4/3 */
.ek-galp__grid--one .p-a { grid-column: 1 / span 8; }
.ek-galp__grid--one .p-b { grid-column: 10 / span 3; margin-top: 38%; }
.ek-galp__grid--one .p-t { grid-column: 2 / span 4; align-self: center; margin-top: var(--ek-md); }
.ek-galp__grid--one .p-c { grid-column: 3 / span 4; margin-top: var(--ek-md); }
.ek-galp__grid--one .p-d { grid-column: 7 / span 6; margin-top: calc(var(--ek-md) + 96px); }

/* II. Przy pracy: tryptyk z przesunieciem, potem szeroki kadr */
.ek-galp__grid--two .p-e { grid-column: 1 / span 4; margin-top: 64px; }
.ek-galp__grid--two .p-f { grid-column: 5 / span 3; align-self: start; }
.ek-galp__grid--two .p-g { grid-column: 9 / span 4; margin-top: 128px; }
.ek-galp__grid--two .p-h { grid-column: 2 / span 10; margin-top: var(--ek-lg); }
.ek-galp__grid--two .p-u { grid-column: 8 / span 4; margin-top: var(--ek-sm); }

/* III. Detale: trzy kwadraty, potem sciana z haslem i notatka */
.ek-galp__grid--three .p-i { grid-column: 1 / span 3; }
.ek-galp__grid--three .p-j { grid-column: 5 / span 3; margin-top: 56px; }
.ek-galp__grid--three .p-k { grid-column: 9 / span 3; }
.ek-galp__grid--three .p-l { grid-column: 1 / span 7; margin-top: var(--ek-lg); }
.ek-galp__grid--three .p-v { grid-column: 9 / span 4; align-self: end; margin-bottom: 8px; }

.ek-galp__close { margin-top: var(--ek-xl); }

/* Haslo miedzy rozdzialami */
.ek-galp__motto {
  margin: var(--ek-xl) auto 0; padding: 0; border: 0; text-align: center;
  font-family: var(--ek-serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.14; letter-spacing: -0.008em;
  max-width: 18ch;
}
.ek-galp__motto em { font-style: italic; color: var(--ek-accent); }

/* Podglad zdjecia */
.ek-galp .ek-frame { cursor: zoom-in; }
.ek-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(43, 39, 36, .92);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ek-ease), visibility .4s;
}
.ek-lightbox.is-open { opacity: 1; visibility: visible; }
.ek-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; transform: scale(.98); transition: transform .5s var(--ek-ease); }
.ek-lightbox.is-open img { transform: none; }
.ek-lightbox__close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; cursor: pointer;
  color: var(--ek-on-dark); font-family: var(--ek-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 10px 0 6px; border-bottom: 1px solid rgba(251,248,243,.4);
}

@media (max-width: 900px) {
  .ek-galp__chapter { margin: var(--ek-lg) 0 var(--ek-md); }
  .ek-galp__grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .ek-galp__note { font-size: 19px; margin-top: 8px; }
  .ek-galp__grid--one .p-a { grid-column: 1 / span 6; }
  .ek-galp__grid--one .p-b { grid-column: 4 / span 3; margin-top: 0; }
  .ek-galp__grid--one .p-t { grid-column: 1 / span 6; margin-top: 8px; }
  .ek-galp__grid--one .p-c { grid-column: 1 / span 4; margin-top: var(--ek-md); }
  .ek-galp__grid--one .p-d { grid-column: 1 / span 6; margin-top: 0; }
  .ek-galp__grid--two .p-e { grid-column: 1 / span 4; margin-top: 0; }
  .ek-galp__grid--two .p-f { grid-column: 3 / span 4; }
  .ek-galp__grid--two .p-g { grid-column: 1 / span 4; margin-top: 0; }
  .ek-galp__grid--two .p-h { grid-column: 1 / span 6; margin-top: var(--ek-md); }
  .ek-galp__grid--two .p-u { grid-column: 1 / span 6; }
  .ek-galp__grid--three .p-i { grid-column: 1 / span 3; }
  .ek-galp__grid--three .p-j { grid-column: 4 / span 3; margin-top: 40px; }
  .ek-galp__grid--three .p-k { grid-column: 2 / span 3; }
  .ek-galp__grid--three .p-l { grid-column: 1 / span 6; margin-top: var(--ek-md); }
  .ek-galp__grid--three .p-v { grid-column: 1 / span 6; margin-bottom: 0; }
  .ek-galp__close { margin-top: var(--ek-lg); }
  .ek-galp__motto { margin-top: var(--ek-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .ek-lightbox, .ek-lightbox img { transition: none !important; }
}

/* Galeria: pozycje generyczne (c{start}-{span}) */
.ek-galp__grid .c1-8 { grid-column: 1 / span 8; }
.ek-galp__grid .c10-3 { grid-column: 10 / span 3; }
.ek-galp__grid .c2-4 { grid-column: 2 / span 4; }
.ek-galp__grid .c1-6 { grid-column: 1 / span 6; }
.ek-galp__grid .c8-4 { grid-column: 8 / span 4; }
.ek-galp__grid .c1-5 { grid-column: 1 / span 5; }
.ek-galp__grid .c6-7 { grid-column: 6 / span 7; }
.ek-galp__grid .c1-4 { grid-column: 1 / span 4; }
.ek-galp__grid .c5-3 { grid-column: 5 / span 3; }
.ek-galp__grid .c9-4 { grid-column: 9 / span 4; }
.ek-galp__grid .c2-10 { grid-column: 2 / span 10; }
.ek-galp__grid .c8-4 { grid-column: 8 / span 4; }
.ek-galp__grid .c2-3 { grid-column: 2 / span 3; }
.ek-galp__grid .c6-4 { grid-column: 6 / span 4; }
.ek-galp__grid .c10-3 { grid-column: 10 / span 3; }
.ek-galp__grid .c1-7 { grid-column: 1 / span 7; }
.ek-galp__grid .c2-5 { grid-column: 2 / span 5; }
.ek-galp__grid .c8-5 { grid-column: 8 / span 5; }
.ek-galp__grid .c1-3 { grid-column: 1 / span 3; }
.ek-galp__grid .c5-3 { grid-column: 5 / span 3; }
.ek-galp__grid .c9-3 { grid-column: 9 / span 3; }
.ek-galp__grid .c2-3 { grid-column: 2 / span 3; }
.ek-galp__grid .c6-3 { grid-column: 6 / span 3; }
.ek-galp__grid .c1-5 { grid-column: 1 / span 5; }
.ek-galp__grid .c7-5 { grid-column: 7 / span 5; }
.ek-galp__grid .c3-3 { grid-column: 3 / span 3; }
.ek-galp__grid .c8-3 { grid-column: 8 / span 3; }
.ek-galp__grid .mt-1 { margin-top: 56px; }
.ek-galp__grid .mt-2 { margin-top: 96px; }
.ek-galp__grid .mt-3 { margin-top: 136px; }
.ek-galp__grid .mt-4 { margin-top: 176px; }
.ek-galp__grid .mt-p { margin-top: 38%; }
.ek-galp__grid .self-end { align-self: end; margin-bottom: 8px; }
.ek-galp__grid p.ek-galp__note { align-self: center; margin-top: var(--ek-md); }
@media (max-width: 900px) {
  .ek-galp__grid [class*="c"] { margin-top: 0; }
  .ek-galp__grid .m-f { grid-column: 1 / span 6; }
  .ek-galp__grid .m-l { grid-column: 1 / span 4; }
  .ek-galp__grid .m-r { grid-column: 3 / span 4; }
  .ek-galp__grid .m-h { grid-column: auto / span 3; }
  .ek-galp__grid .m-h:nth-child(even) { margin-top: 28px; }
  .ek-galp__grid p.ek-galp__note { margin: 8px 0 16px; }
}


/* CTA na zdjeciu lokalu: plaska, ciepla przyciemka, tekst w kolorze on-dark */
.ek-cta--photo {
  position: relative; isolation: isolate;
  background-size: cover; background-position: center 18%; background-repeat: no-repeat;
  color: var(--ek-on-dark);
  padding-block: clamp(220px, 24vw, 340px) clamp(110px, 12vw, 160px);
}
.ek-cta--photo { background-color: var(--ek-ink); }
.ek-cta--photo h2 { color: var(--ek-on-dark); }
.ek-cta--photo p { color: rgba(251, 248, 243, .82); }
.ek-cta--photo .ek-rule { background: var(--ek-accent); }
.ek .ek-cta--photo .ek-btn--light { color: var(--ek-on-dark); border-color: rgba(251,248,243,.55); }
.ek .ek-cta--photo .ek-btn--light:hover, .ek .ek-cta--photo .ek-btn--light:focus-visible { background: var(--ek-on-dark); color: var(--ek-ink); border-color: var(--ek-on-dark); }
.ek .ek-cta--photo .ek-btn--primary { background: var(--ek-on-dark); color: var(--ek-ink); border-color: var(--ek-on-dark); }
.ek .ek-cta--photo .ek-btn--primary:hover, .ek .ek-cta--photo .ek-btn--primary:focus-visible { background: transparent; color: var(--ek-on-dark); border-color: rgba(251,248,243,.55); }
@media (max-width: 900px) { .ek-cta--photo { background-position: center 30%; padding-block: 200px 96px; } }

/* Stopka bez marginesu z motywu nadrzednego: sekcje na zdjeciu stykaja sie z nia bezposrednio. */
.ek .ek-footer, .ek .wp-site-blocks > footer { margin-top: 0 !important; }
.ek .wp-site-blocks > * + * { margin-block-start: 0; }


/* Stopka: nizsza, czytelniejsza, wieksze logo */
.ek-footer { padding-block: 56px 24px; }
.ek-footer__top { grid-template-columns: 1.6fr 1fr 1.1fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ek-footer__name { display: block; font-size: 34px; letter-spacing: 0.16em; line-height: 1; }
.ek-footer__sub { display: block; font-size: 11px; letter-spacing: 0.36em; margin-top: 10px; }
.ek-footer__tag { font-size: 26px; margin-top: 22px; max-width: 18ch; color: var(--ek-ink); }
.ek-footer h4 { margin-bottom: 14px; }
.ek-footer li { margin-bottom: 6px; font-size: 16px; line-height: 1.55; }
.ek-footer__bottom { margin-top: 40px; padding-top: 14px; font-size: 13px; }
@media (max-width: 900px) {
  .ek-footer { padding-block: 48px 24px; }
  .ek-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .ek-footer__top > div:first-child { grid-column: 1 / -1; }
  .ek-footer__name { font-size: 28px; }
  .ek-footer__tag { font-size: 22px; }
  .ek-footer__bottom { margin-top: 32px; }
}

/* ============================================================
   18. CENNIK
   ============================================================ */
.ek-price__group {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 96px);
  padding: 56px 0; border-top: 1px solid var(--ek-line);
}
.ek-price__group:first-child { border-top: 0; padding-top: 0; }
.ek-price__num { display: block; font-family: var(--ek-serif); font-size: 15px; letter-spacing: 0.2em; color: var(--ek-accent); margin-bottom: 14px; }
.ek-price__head h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0; max-width: 16ch; }
.ek-price__head p { color: var(--ek-muted); font-size: 16px; margin: 14px 0 22px; max-width: 34ch; }
.ek-price__head .ek-textlink { font-size: 11px; }
.ek-price__list { margin: 0; }
.ek-price__row {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--ek-line);
}
.ek-price__row:first-child { padding-top: 6px; }
.ek-price__row dt { margin: 0; font-size: 16px; color: var(--ek-ink); }
.ek-price__row dt::after { content: ""; flex: 1; }
.ek-price__row dt { flex: 1; display: flex; }
.ek-price__row dt::after { border-bottom: 1px dotted var(--ek-line); margin: 0 4px 5px 14px; }
.ek-price__row dd { margin: 0; white-space: nowrap; font-family: var(--ek-serif); font-size: 24px; line-height: 1; color: var(--ek-ink); }
.ek-price__row dd strong { font-weight: 400; }
.ek-price__row dd small { font-family: var(--ek-sans); font-size: 12px; letter-spacing: 0.08em; color: var(--ek-muted); margin-left: 2px; }
.ek-price__row dd em { font-family: var(--ek-serif); font-style: italic; font-size: 18px; color: var(--ek-muted); }
.ek-price__note { margin: 56px 0 0; padding-top: 24px; border-top: 1px solid var(--ek-line); font-size: 14px; color: var(--ek-muted); max-width: 60ch; }
@media (max-width: 900px) {
  .ek-price__group { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .ek-price__head p { margin-bottom: 12px; }
  .ek-price__row { padding: 11px 0; }
  .ek-price__row dt { font-size: 15px; }
  .ek-price__row dd { font-size: 21px; }
}

/* ============================================================
   19. HERO PODSTRON
   ============================================================ */
.ek-pagehero {
  position: relative;
  min-height: clamp(360px, 46vw, 560px);
  display: flex; align-items: flex-end;
  background-color: var(--ek-ink);
  background-size: cover; background-repeat: no-repeat;
  color: var(--ek-on-dark);
}
.ek-pagehero__inner { padding-block: clamp(40px, 5vw, 72px); }
.ek-pagehero .ek-label { color: rgba(251,248,243,.78); margin-bottom: 18px; }
.ek-pagehero h1 { color: var(--ek-on-dark); max-width: 16ch; margin: 0; }
.ek-pagehead--after { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--ek-lg); }
.ek-pagehead--after p:first-of-type { margin-top: var(--ek-md); }
.ek-pagehead--after .ek-rule + p { margin-top: 0; }
@media (max-width: 900px) {
  .ek-pagehero { min-height: 300px; }
  .ek-pagehero h1 { font-size: clamp(34px, 9vw, 44px); }
}
.ek-pagehero + .ek-section { padding-top: var(--ek-lg) !important; }

/* Wariant CTA na zdjeciu z tekstem wysrodkowanym w pionie */
.ek-cta--photo-even { padding-block: clamp(140px, 15vw, 220px); }
@media (max-width: 900px) { .ek-cta--photo-even { padding-block: 110px; } }

.ek-pagehero__lead { font-family: var(--ek-serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: rgba(251,248,243,.85); margin: 18px 0 0; max-width: 34ch; }

.ek-pagehero__actions { margin-top: 28px; }
.ek .ek-pagehero .ek-btn--primary { background: var(--ek-on-dark); color: var(--ek-ink); border-color: var(--ek-on-dark); }
.ek .ek-pagehero .ek-btn--primary:hover, .ek .ek-pagehero .ek-btn--primary:focus-visible { background: transparent; color: var(--ek-on-dark); border-color: rgba(251,248,243,.55); }
.ek-pagehero + .ek-price { padding-top: var(--ek-lg) !important; }

.ek-jumpbar { border-bottom: 1px solid var(--ek-line); }
.ek-jumpbar .ek-jump { margin: 0; padding: 20px 0; border: 0; }
.ek-jumpbar + .ek-section { padding-top: var(--ek-lg) !important; }


/* Stopka na telefonie: e-mail nie wychodzi poza ekran, kolumny w czytelnym porzadku */
.ek-footer li, .ek-footer li a { overflow-wrap: anywhere; word-break: break-word; }
body.ek { overflow-x: clip; }
@media (max-width: 900px) {
  .ek-footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .ek-footer__top > div:nth-child(1) { grid-column: 1 / -1; }
  .ek-footer__top > div:nth-child(2) { grid-column: 1; }
  .ek-footer__top > div:nth-child(4) { grid-column: 2; grid-row: 2; }
  .ek-footer__top > div:nth-child(3) { grid-column: 1 / -1; }
  .ek-footer li { font-size: 15px; }
  .ek-footer__bottom { flex-direction: column; gap: 6px; padding-bottom: 8px; }
}

/* Przyciski na telefonie: dlugie etykiety lamia sie zamiast wychodzic poza ekran */
@media (max-width: 900px) {
  .ek-btn { white-space: normal; text-align: center; line-height: 1.35; max-width: 100%; padding-inline: 22px; }
  .ek-actions { flex-wrap: wrap; }
  .ek-pagehero__actions .ek-btn { width: 100%; }
  .ek-pagehero__lead { font-size: 19px; }
  .ek-pagehero { min-height: 340px; }
}


/* Spis kategorii jako wyrazne, prostokatne przyciski */
.ek-jumpbar { border-bottom: 0; }
.ek-jumpbar .ek-jump { gap: 10px; padding: 28px 0 0; }
.ek-jumpbar .ek-jump a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px; border: 1px solid var(--ek-line);
  color: var(--ek-ink); font-size: 11.5px; letter-spacing: 0.16em;
  background: transparent;
  transition: background-color .35s var(--ek-ease), border-color .35s var(--ek-ease), color .35s var(--ek-ease);
}
.ek-jumpbar .ek-jump a::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .7;
}
.ek-jumpbar .ek-jump a:hover, .ek-jumpbar .ek-jump a:focus-visible { background: var(--ek-surface); border-color: var(--ek-accent); color: var(--ek-ink); }
@media (max-width: 900px) {
  .ek-jumpbar .ek-jump { gap: 8px; padding-top: 20px; }
  .ek-jumpbar .ek-jump a { padding: 11px 14px; font-size: 11px; }
}
/* Kategorie w jednej linii, bez strzalek */
.ek-jumpbar .ek-jump a::after { display: none; }
.ek-jumpbar .ek-jump { flex-wrap: nowrap; gap: 8px; }
.ek-jumpbar .ek-jump a { flex: 1 1 0; justify-content: center; padding: 13px 10px; font-size: 11px; letter-spacing: 0.12em; white-space: nowrap; }
@media (max-width: 1100px) { .ek-jumpbar .ek-jump a { font-size: 10px; letter-spacing: 0.1em; padding: 12px 8px; } }
@media (max-width: 900px) {
  .ek-jumpbar .ek-wrap { padding-inline: 0; }
  .ek-jumpbar .ek-jump { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 20px var(--ek-gutter) 4px; }
  .ek-jumpbar .ek-jump::-webkit-scrollbar { display: none; }
  .ek-jumpbar .ek-jump a { flex: 0 0 auto; padding: 11px 14px; font-size: 11px; }
}
/* Warianty w Ofercie bez cen: lista z malym zlotym znacznikiem */
.ek-variant { justify-content: flex-start; gap: 12px; padding: 11px 0; }
.ek-variant::before { content: ""; width: 14px; height: 1px; background: var(--ek-accent); flex: 0 0 auto; }
.ek-treat__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }


/* Oferta: rozwijana czesc opisu zabiegu */
.ek-treat__more { margin-top: 8px; }
.ek-treat__more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ek-ink);
  padding: 6px 0; border-bottom: 1px solid var(--ek-line);
  transition: border-color .35s var(--ek-ease), color .35s var(--ek-ease);
}
.ek-treat__more summary::-webkit-details-marker { display: none; }
.ek-treat__more summary::before {
  content: ""; width: 11px; height: 11px; flex: 0 0 auto; position: relative;
  background: linear-gradient(currentColor, currentColor) center / 11px 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 11px no-repeat;
  transition: transform .4s var(--ek-ease);
}
.ek-treat__more[open] summary::before { transform: rotate(45deg); }
.ek-treat__more summary:hover { color: var(--ek-accent); border-bottom-color: var(--ek-accent); }
.ek-treat__more summary .is-open { display: none; }
.ek-treat__more[open] summary .is-open { display: inline; }
.ek-treat__more[open] summary .is-closed { display: none; }
.ek-treat__more-inner { padding-top: 28px; }
.ek-treat__more-inner > .ek-treat__block:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .ek-treat__more summary::before { transition: none; } }

/* Oferta: nazwa i wprowadzenie w prawej kolumnie, zdjecie po lewej */
.ek-treat__head { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--ek-line); }
.ek-treat__head .ek-treat__name { margin: 0; }
.ek-treat__head .ek-treat__intro { margin-top: 8px; }
.ek-treat--noimg .ek-treat__grid { grid-template-columns: 1fr; }
.ek-treat--noimg .ek-treat__grid > div { max-width: 760px; }

/* Nazwa zabiegu: wyraznie wieksza, ze zlota kreska nad nia */
.ek-treat__head { position: relative; padding-top: 18px; }
.ek-treat__head::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 1px; background: var(--ek-accent); }
.ek-treat__head .ek-treat__name { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.008em; }
.ek-treat__head .ek-treat__intro { margin-top: 12px; }


/* Pas zdjecia na cala szerokosc ekranu z naglowkiem sekcji (Oferta: bez igiel) */
.ek-band {
  width: 100vw; margin-left: calc(50% - 50vw); margin-top: 96px;
  min-height: clamp(360px, 42vw, 520px);
  display: flex; align-items: flex-end;
  background-color: var(--ek-ink); background-size: cover; background-repeat: no-repeat;
  color: var(--ek-on-dark);
  scroll-margin-top: 110px;
}
.ek-band__inner { padding-block: clamp(40px, 5vw, 64px); }
.ek-band h2 { color: var(--ek-on-dark); margin: 0; max-width: 16ch; }
.ek-band p { font-family: var(--ek-serif); font-style: italic; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; color: rgba(251,248,243,.85); margin: 16px 0 0; max-width: 46ch; }
.ek-band + .ek-treat { margin-top: 72px; }
@media (max-width: 900px) { .ek-band { margin-top: 64px; min-height: 320px; } .ek-band + .ek-treat { margin-top: 48px; } }

/* ============================================================
   20. MOZAIKA OFERTY NA STRONIE GLOWNEJ
   ============================================================ */
.ek-mosaic__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.ek-mosaic__head h2 { margin: 0; }
.ek-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.8vw, 26px); align-items: start; }
.ek-tile { position: relative; display: block; overflow: hidden; color: var(--ek-on-dark); }
.ek-tile .ek-frame { margin: 0; }
.ek-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(43, 39, 36, .28);
  transition: background-color .5s var(--ek-ease);
}
.ek-tile:hover::after, .ek-tile:focus-visible::after { background: rgba(43, 39, 36, .46); }
.ek-tile .ek-frame img { transition: transform 1.2s var(--ek-ease); }
.ek-tile:hover .ek-frame img { transform: scale(1.04); }
.ek-tile__text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(18px, 2.2vw, 30px);
  display: flex; flex-direction: column; gap: 6px;
}
.ek-tile__sub { font-family: var(--ek-sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251,248,243,.78); }
.ek-tile__name { font-family: var(--ek-serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; color: var(--ek-on-dark); }
.ek-tile__name::after { content: ""; display: block; width: 0; height: 1px; background: var(--ek-accent); margin-top: 12px; transition: width .6s var(--ek-ease); }
.ek-tile:hover .ek-tile__name::after { width: 48px; }

.ek-mosaic .t-a { grid-column: 1 / span 7; }
.ek-mosaic .t-b { grid-column: 8 / span 5; margin-top: 48px; }
.ek-mosaic .t-c { grid-column: 1 / span 4; margin-top: -24px; }
.ek-mosaic .t-d { grid-column: 5 / span 8; margin-top: 32px; }
.ek-mosaic .t-e { grid-column: 1 / span 5; margin-top: 24px; }
.ek-mosaic .t-f { grid-column: 6 / span 3; margin-top: 72px; }
.ek-mosaic .t-g { grid-column: 9 / span 4; }

@media (max-width: 900px) {
  .ek-mosaic__head { margin-bottom: 32px; }
  .ek-mosaic { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .ek-mosaic .t-a { grid-column: 1 / span 6; }
  .ek-mosaic .t-b { grid-column: 1 / span 3; margin-top: 0; }
  .ek-mosaic .t-c { grid-column: 4 / span 3; margin-top: 28px; }
  .ek-mosaic .t-d { grid-column: 1 / span 6; margin-top: 0; }
  .ek-mosaic .t-e { grid-column: 1 / span 6; margin-top: 0; }
  .ek-mosaic .t-f { grid-column: 1 / span 3; margin-top: 0; }
  .ek-mosaic .t-g { grid-column: 4 / span 3; margin-top: 28px; }
  .ek-tile__name { font-size: 21px; }
  .ek-tile__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ek-tile .ek-frame img, .ek-tile::after, .ek-tile__name::after { transition: none; } }
/* Mozaika: rzedy o wyrownanej wysokosci, bez pustych przerw */
.ek-mosaic { align-items: stretch; }
.ek-mosaic .t-a, .ek-mosaic .t-b, .ek-mosaic .t-c, .ek-mosaic .t-d, .ek-mosaic .t-e, .ek-mosaic .t-f, .ek-mosaic .t-g { margin-top: 0; }
.ek-tile .ek-frame { height: 100%; }
@media (max-width: 900px) { .ek-mosaic .t-c, .ek-mosaic .t-g { margin-top: 0; } }


/* Galeria na stronie glownej: poprawne pozycje w siatce (start / span) */
.ek-gal .g-lead   { grid-column: 1 / span 7; }
.ek-gal .g-side   { grid-column: 9 / span 4; align-self: end; margin-top: 64px; }
.ek-gal .g-offset { grid-column: 2 / span 5; margin-top: 8px; }
.ek-gal .g-end    { grid-column: 8 / span 5; margin-top: 72px; }
.ek-gal .g-full   { grid-column: 1 / span 12; }
@media (max-width: 900px) {
  .ek-gal { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .ek-gal .g-lead   { grid-column: 1 / span 6; margin-top: 0; }
  .ek-gal .g-side   { grid-column: 1 / span 3; margin-top: 0; align-self: start; }
  .ek-gal .g-offset { grid-column: 4 / span 3; margin-top: 28px; }
  .ek-gal .g-end    { grid-column: 2 / span 5; margin-top: 0; }
  .ek-gal .g-full   { grid-column: 1 / span 6; }
}

/* Opinie na stronie glownej: zwarta sekcja, ocena po lewej, cytaty po prawej */
.ek-reviews { padding-block: var(--ek-lg); }
.ek-reviews__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ek-reviews__score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 4px 0 28px; }
.ek-reviews__num { font-family: var(--ek-serif); font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.ek-reviews__meta { font-size: 13px; color: var(--ek-muted); max-width: 16ch; line-height: 1.5; }
.ek-reviews__list { display: flex; flex-direction: column; }
.ek-review { margin: 0; padding: 22px 0 22px 28px; position: relative; border-bottom: 1px solid #CBBBA6; }
.ek-review:first-child { padding-top: 6px; }
.ek-review:last-child { border-bottom: 0; }
.ek-review::before { content: ""; position: absolute; left: 0; top: 34px; width: 14px; height: 1px; background: var(--ek-accent); }
.ek-review:first-child::before { top: 18px; }
.ek-review blockquote { margin: 0; font-family: var(--ek-serif); font-size: clamp(20px, 1.7vw, 23px); line-height: 1.35; color: var(--ek-ink); }
.ek-review figcaption { margin-top: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ek-ink); }
.ek-review figcaption span { color: var(--ek-muted); margin-left: 10px; }
@media (max-width: 900px) {
  .ek-reviews__grid { grid-template-columns: 1fr; gap: 28px; }
  .ek-reviews__score { margin-bottom: 20px; }
  .ek-review { padding: 18px 0 18px 24px; }
  .ek-review figcaption span { display: block; margin: 4px 0 0; }
}
.ek-footer__brand { display: inline-block; color: inherit; text-decoration: none; }
.ek-footer__brand:hover .ek-footer__name { color: var(--ek-accent); }
.ek-footer__name { transition: color .35s var(--ek-ease); }


/* Galeria: przelaczniki rozdzialow + nawigacja w podgladzie */
.ek-galp__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ek-galp__filters button {
  background: transparent; border: 1px solid var(--ek-line); cursor: pointer;
  padding: 12px 20px; font-family: var(--ek-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ek-ink);
  transition: background-color .35s var(--ek-ease), border-color .35s var(--ek-ease), color .35s var(--ek-ease);
}
.ek-galp__filters button:hover { border-color: var(--ek-accent); }
.ek-galp__filters button.is-active { background: var(--ek-ink); border-color: var(--ek-ink); color: var(--ek-on-dark); }
.ek-galp__set.is-hidden, .ek-galp__motto.is-hidden { display: none; }
.ek-galp__set:first-of-type .ek-galp__chapter { margin-top: var(--ek-lg); }
.ek-galp.is-filtered .ek-galp__set:not(.is-hidden) .ek-galp__chapter { margin-top: var(--ek-lg); }
.ek-lightbox__nav {
  position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px;
  background: transparent; border: 1px solid rgba(251,248,243,.35); cursor: pointer;
  transition: border-color .35s var(--ek-ease), background-color .35s var(--ek-ease);
}
.ek-lightbox__nav::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px;
  border-left: 1px solid var(--ek-on-dark); border-bottom: 1px solid var(--ek-on-dark);
}
.ek-lightbox__nav--prev { left: 22px; }
.ek-lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.ek-lightbox__nav--next { right: 22px; }
.ek-lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.ek-lightbox__nav:hover { border-color: var(--ek-on-dark); background: rgba(251,248,243,.08); }
.ek-lightbox__count { position: absolute; left: 22px; top: 22px; font-size: 11px; letter-spacing: 0.22em; color: rgba(251,248,243,.7); }
@media (max-width: 900px) {
  .ek-galp__filters { gap: 6px; }
  .ek-galp__filters button { padding: 10px 14px; font-size: 10.5px; }
  .ek-lightbox__nav { width: 44px; height: 44px; margin-top: -22px; bottom: auto; }
  .ek-lightbox__nav--prev { left: 10px; } .ek-lightbox__nav--next { right: 10px; }
}

/* Galeria: zwarty uklad masonry, jeden rozdzial naraz */
.ek-galp__filters { margin-bottom: 36px; }
.ek-masonry { column-count: 3; column-gap: 16px; }
.ek-masonry__item { break-inside: avoid; margin-bottom: 16px; }
.ek-masonry__item .ek-frame { margin: 0; }
.ek-pagehero + .ek-galp { padding-top: var(--ek-lg) !important; }
@media (max-width: 900px) {
  .ek-masonry { column-count: 2; column-gap: 10px; }
  .ek-masonry__item { margin-bottom: 10px; }
  .ek-galp__filters { margin-bottom: 24px; }
}

/* Hero na stronie glownej: mniejsza nazwa, wiecej powietrza */
.ek-hero__name { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: 0.12em; line-height: 1.15; }
.ek-hero__tagline { font-size: clamp(24px, 2.9vw, 38px); margin-top: 22px; }
.ek-hero__sub { margin-top: 20px; }
@media (max-width: 900px) { .ek-hero__name { font-size: 26px; letter-spacing: 0.1em; } .ek-hero__tagline { font-size: 24px; } }


/* ============================================================
   21. LUKI (jak polki i sciana w gabinecie) + ZAOKRAGLONE PRZYCISKI
   ============================================================ */
.ek-hero__media .ek-frame,
.ek-split__media .ek-frame,
.ek-treat__grid > div:first-child .ek-frame { border-radius: 9999px 9999px 0 0; }

/* cienki zloty luk za zdjeciem w hero, jak podswietlenie polki */
.ek-hero__media { isolation: isolate; }
.ek-hero__media::before {
  content: ""; position: absolute; z-index: -1;
  inset: -16px -16px 24px 16px;
  border: 1px solid var(--ek-accent); border-bottom: 0;
  border-radius: 9999px 9999px 0 0; opacity: .55; pointer-events: none;
}
@media (max-width: 900px) { .ek-hero__media::before { inset: -10px -10px 16px 10px; } }

/* przyciski zaokraglone */
.ek-btn,
.ek-galp__filters button,
.ek-jumpbar .ek-jump a { border-radius: 999px; }
.ek-btn { padding-inline: 36px; }
.ek-header .ek-btn { padding-inline: 28px; }
.ek-social a { border-radius: 50%; }
.ek-lightbox__nav { border-radius: 50%; }

/* logo w naglowku */
.ek-brand__logo { display: block; height: 58px; width: auto; max-height: none; }
@media (max-width: 900px) { .ek-brand__logo { height: 44px; } }

/* Poprawka priorytetu: .ek h1 i .ek img nadpisywaly hero i logo */
.ek .ek-hero__name { font-size: clamp(28px, 3vw, 44px); letter-spacing: 0.12em; line-height: 1.15; }
.ek .ek-brand__logo { height: 56px; width: auto; max-width: none; max-height: none; }
@media (max-width: 900px) { .ek .ek-hero__name { font-size: 26px; letter-spacing: 0.1em; } .ek .ek-brand__logo { height: 42px; } }


/* ============================================================
   22. MENU MOBILNE: przycisk zamkniecia + LOGO (site icon) + NAZWA ZABIEGU POD ZDJECIEM
   ============================================================ */
.ek-drawer__close {
  position: absolute; top: 18px; right: var(--ek-gutter);
  width: 44px; height: 44px; border: 1px solid var(--ek-line); border-radius: 50%;
  background: transparent; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .35s var(--ek-ease);
}
.ek-drawer__close span { position: absolute; width: 18px; height: 1px; background: var(--ek-ink); }
.ek-drawer__close span:first-child { transform: rotate(45deg); }
.ek-drawer__close span:last-child { transform: rotate(-45deg); }
.ek-drawer__close:hover, .ek-drawer__close:focus-visible { border-color: var(--ek-accent); }

.ek .ek-brand__logo--icon { height: 60px; width: 60px; }
@media (max-width: 900px) { .ek .ek-brand__logo--icon { height: 46px; width: 46px; } }

.ek .ek-treat__head--under { margin: 28px 0 0; padding-bottom: 0; border-bottom: 0; }

.ek .ek-drawer { z-index: 120; }

/* ============================================================
   23. HERO: zdjecie miesci sie w ekranie i widac je od razu
   ============================================================ */
.ek .ek-hero__media.ek-rise { opacity: 1; transform: none; transition: none; }
.ek .ek-hero__media img { object-position: 50% 30%; }
@media (min-width: 901px) {
  .ek .ek-hero { padding-top: 40px; padding-bottom: 56px; }
  .ek .ek-hero__media { --ek-hh: clamp(460px, calc(100svh - 150px), 820px); justify-self: end; width: calc(var(--ek-hh) * 0.78); max-width: 100%; }
  .ek .ek-hero__media .ek-frame { height: var(--ek-hh); aspect-ratio: auto !important; width: 100%; }
}

/* ============================================================
   24. BOOKSY: domyslny przycisk widgetu ukryty, okno otwieraja nasze przyciski
   ============================================================ */
.ek-booksy-widget { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
