/* Trener Premium TEST — CSS ładowany wyłącznie na stronie z template "Trener Premium TEST" */
:root{
  --tm-black:#0a0a0a;
  --tm-white:#fff;
  --tm-soft:#FAF9F6;
  --tm-line:#E8E4DC;
  --tm-muted:#6b7280;
  --tm-cta:#E5AB25;
  --tm-cta-hover:#C98F0D;
  --tm-radius:18px;
  --tm-shadow:0 14px 40px rgba(10,10,10,.08);
  --tm-container:1180px;
}
.tm-premium,.tm-premium *{box-sizing:border-box}
.tm-premium{color:var(--tm-black);background:var(--tm-white);font-family:inherit;line-height:1.6;-webkit-font-smoothing:antialiased}
.tm-premium img{display:block;max-width:100%;height:auto}
.tm-container{width:min(var(--tm-container),calc(100% - 40px));margin-inline:auto}
.tm-section{padding:84px 0}
.tm-section--soft{background:var(--tm-soft)}
.tm-section-head{text-align:center;max-width:740px;margin:0 auto 38px}
.tm-section-head h2,.tm-about h2,.tm-mission h2,.tm-steps h2{margin:0;font-size:clamp(30px,3vw,44px);line-height:1.08;letter-spacing:-.035em}
.tm-section-head p{margin:10px 0 0;color:var(--tm-muted);font-size:17px}
.tm-eyebrow{margin:0 0 10px;font-size:13px;font-weight:800;letter-spacing:.16em}
.tm-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 20px;border:0;border-radius:8px;font-weight:800;line-height:1;text-decoration:none!important;transition:.18s ease}
.tm-btn:hover{transform:translateY(-1px)}
.tm-btn--primary{color:#fff!important;background:var(--tm-cta);box-shadow:0 12px 28px rgba(229,171,37,.24)}
.tm-btn--primary:hover{background:var(--tm-cta-hover)}
.tm-btn--dark{color:#fff!important;background:var(--tm-black)}
.tm-btn--large{min-width:min(100%,430px);min-height:58px;font-size:18px}
.tm-card{background:#fff;border:1px solid var(--tm-line);border-radius:var(--tm-radius);box-shadow:var(--tm-shadow)}

.tm-hero{overflow:hidden;padding-top:68px;padding-bottom:68px;background:radial-gradient(circle at 82% 28%,rgba(229,171,37,.045),transparent 34%),#fff}
.tm-hero__grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:54px;align-items:center}
.tm-hero h1{margin:0;max-width:720px;font-size:clamp(42px,5vw,68px);line-height:.98;letter-spacing:-.055em}
.tm-hero__lead{max-width:690px;margin:24px 0 0;font-size:clamp(17px,1.6vw,21px);line-height:1.75}
.tm-hero__invite{margin:20px 0 0;font-size:18px}
.tm-trustbar{display:flex;flex-wrap:wrap;gap:10px 22px;margin:28px 0}
.tm-trustbar__item{display:inline-flex;align-items:center;gap:7px;font-size:14px}
.tm-trustbar__icon{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;color:var(--tm-cta);background:rgba(229,171,37,.12);font-weight:900}
.tm-stars{color:#f5b301;letter-spacing:1px}
.tm-hero__media{position:relative;min-height:480px;display:flex;align-items:flex-end;justify-content:center}
.tm-hero__media img{width:min(100%,520px);max-height:610px;object-fit:contain;object-position:center bottom}
.tm-hero__media::after{content:"";position:absolute;z-index:-1;width:420px;height:420px;border-radius:50%;background:linear-gradient(145deg,#fff,#F7F5F0);box-shadow:inset 0 0 0 1px #ECE8E0}

.tm-media-placeholder{width:100%;min-height:220px;display:grid;place-items:center;padding:25px;text-align:center;color:#7d8490;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(248,246,241,.92));border:1px dashed #D7D1C8}
.tm-hero__placeholder{width:min(100%,520px);min-height:500px;border-radius:999px 999px 80px 80px}

.tm-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tm-service-card{overflow:hidden;display:flex;flex-direction:column;min-height:100%}
.tm-service-card__media{aspect-ratio:16/8.8;overflow:hidden;background:#F7F5F0}
.tm-service-card__media img,.tm-service-card__media .tm-media-placeholder{width:100%;height:100%;min-height:0;object-fit:cover}
.tm-service-card__body{display:flex;flex-direction:column;flex:1;padding:22px}
.tm-service-card h3{margin:0 0 12px;font-size:25px;line-height:1.1;letter-spacing:-.025em}
.tm-service-card p{margin:0 0 22px;font-size:15px}
.tm-service-card .tm-btn{margin-top:auto;align-self:flex-start}

.tm-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center}
.tm-split--reverse{grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr)}
.tm-split__content>p{font-size:17px}
.tm-split__media{overflow:hidden;border-radius:24px;background:var(--tm-soft)}
.tm-split__media img,.tm-split__media .tm-media-placeholder{width:100%;height:100%;min-height:480px;object-fit:cover}

.tm-mission-grid{display:grid;grid-template-columns:1fr .88fr .92fr;gap:22px;align-items:stretch}
.tm-mission-grid__media{overflow:hidden;border-radius:var(--tm-radius);background:#fff}
.tm-mission-grid__media img,.tm-mission-grid__media .tm-media-placeholder{width:100%;height:100%;min-height:360px;object-fit:cover}
.tm-mission-grid__content{padding:22px 8px}
.tm-mission-grid__content p{font-size:17px}
.tm-studio-card{padding:28px;display:flex;flex-direction:column;justify-content:center}
.tm-studio-card h2{font-size:29px;letter-spacing:-.03em}
.tm-studio-card .tm-btn{align-self:flex-start}

.tm-slider{position:relative}
.tm-blog-track{--tm-gap:20px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--tm-gap)*2))/3);gap:var(--tm-gap);overflow-x:auto;padding:8px 4px 18px;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.tm-blog-track::-webkit-scrollbar{display:none}
.tm-blog-card{scroll-snap-align:start;overflow:hidden;background:#fff;border:1px solid var(--tm-line);border-radius:14px;box-shadow:0 10px 30px rgba(10,10,10,.06)}
.tm-blog-card__media{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--tm-soft)}
.tm-blog-card__media img,.tm-blog-card__media .tm-media-placeholder{width:100%;height:100%;min-height:0;object-fit:cover}
.tm-blog-card__body{padding:18px}
.tm-kicker{display:inline-block;margin-bottom:8px;color:var(--tm-cta);font-size:11px;font-weight:900;letter-spacing:.11em}
.tm-blog-card h3{margin:0;font-size:18px;line-height:1.32}
.tm-blog-card h3 a{text-decoration:none}
.tm-text-link{display:inline-block;margin-top:14px;color:var(--tm-cta)!important;font-weight:800;text-decoration:none!important}
.tm-slider__arrow{position:absolute;z-index:5;top:42%;width:42px;height:42px;display:grid;place-items:center;padding:0;border:1px solid var(--tm-line);border-radius:50%;color:#111;background:#fff;box-shadow:0 8px 24px rgba(10,10,10,.1);font-size:28px;cursor:pointer}
.tm-slider__arrow--prev{left:-18px}.tm-slider__arrow--next{right:-18px}.tm-slider__arrow[disabled]{opacity:.35}
.tm-blog-more{text-align:center}

.tm-steps h3{margin:16px 0 4px;font-size:21px;line-height:1.3}
.tm-mini-title{margin-bottom:24px}
.tm-steps-list{list-style:none;margin:26px 0 30px;padding:0;display:grid;gap:20px}
.tm-steps-list li{display:grid;grid-template-columns:46px 1fr;gap:15px;align-items:start}
.tm-step-num{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--tm-cta);font-weight:900}
.tm-steps-list h4{margin:0 0 5px;font-size:18px}
.tm-steps-list p{margin:0}
.tm-steps__media{border-radius:50%;aspect-ratio:1}
.tm-steps__media img,.tm-steps__media .tm-media-placeholder{min-height:0;aspect-ratio:1}

.tm-faq-grid{columns:2;column-gap:16px}
.tm-faq-item{break-inside:avoid;margin:0 0 12px;border:1px solid var(--tm-line);border-radius:10px;background:#fff}
.tm-faq-item summary{position:relative;cursor:pointer;list-style:none;padding:16px 48px 16px 18px;font-weight:750;line-height:1.35}
.tm-faq-item summary::-webkit-details-marker{display:none}
.tm-faq-item summary::after{content:"+";position:absolute;top:50%;right:18px;transform:translateY(-50%);font-size:21px}
.tm-faq-item[open] summary::after{content:"–"}
.tm-faq-item__answer{padding:0 18px 17px;color:#4b5563}
.tm-faq-item__answer p{margin:0}
.tm-map-cta{margin-top:34px;text-align:center}

@media(max-width:1024px){
  .tm-section{padding:68px 0}
  .tm-hero__grid,.tm-split,.tm-split--reverse{grid-template-columns:1fr 1fr;gap:34px}
  .tm-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tm-mission-grid{grid-template-columns:1fr 1fr}
  .tm-studio-card{grid-column:1/-1}
  .tm-blog-track{grid-auto-columns:calc((100% - var(--tm-gap))/2)}
}
@media(max-width:767px){
  .tm-container{width:min(100% - 28px,var(--tm-container))}
  .tm-section{padding:54px 0}
  .tm-hero{padding-top:42px;padding-bottom:44px}
  .tm-hero__grid,.tm-split,.tm-split--reverse,.tm-mission-grid{grid-template-columns:1fr}
  .tm-hero__media{min-height:350px}
  .tm-hero h1{font-size:clamp(38px,11vw,52px)}
  .tm-trustbar{display:grid;gap:9px}
  .tm-btn--large{width:100%}
  .tm-offer-grid{grid-template-columns:1fr}
  .tm-split__media img,.tm-split__media .tm-media-placeholder{min-height:330px}
  .tm-blog-track{grid-auto-columns:88%}
  .tm-slider__arrow{top:auto;bottom:-44px}
  .tm-slider__arrow--prev{left:calc(50% - 50px)}
  .tm-slider__arrow--next{right:calc(50% - 50px)}
  .tm-blog-more{margin-top:50px}
  .tm-faq-grid{columns:1}
}


/* V5 — neutralne, jasne tła bez niebieskiego odcienia */
.tm-section--soft{
  background:#FAF9F6 !important;
}
.tm-reviews{
  background:#FAF9F6 !important;
}
.tm-hero{
  background:
    radial-gradient(circle at 82% 28%, rgba(229,171,37,.035), transparent 34%),
    #FFFFFF !important;
}
.tm-service-card__media,
.tm-split__media{
  background:#F7F5F0 !important;
}


/* =========================================================
   V6 — MOBILE: pełne centrowanie treści
   ========================================================= */
.tm-social-heading{
  margin:28px 0 12px;
  font-size:16px;
  line-height:1.3;
}
.tm-socials{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
}
.tm-socials a{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#0a0a0a;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
}

@media (max-width: 767px){

  .tm-premium{
    text-align:center;
  }

  .tm-hero__content,
  .tm-section-head,
  .tm-service-card__body,
  .tm-split__content,
  .tm-mission-grid__content,
  .tm-studio-card,
  .tm-blog-card__body,
  .tm-faq-item,
  .tm-faq-item__answer{
    text-align:center!important;
  }

  .tm-hero h1,
  .tm-about h2,
  .tm-mission h2,
  .tm-steps h2,
  .tm-steps h3,
  .tm-service-card h3,
  .tm-blog-card h3,
  .tm-social-heading{
    text-align:center!important;
  }

  .tm-hero h1{
    max-width:100%;
    margin-inline:auto;
    font-size:clamp(42px,12vw,54px);
    line-height:1.02;
    letter-spacing:-.045em;
  }

  .tm-eyebrow{
    text-align:center;
  }

  .tm-hero__lead,
  .tm-hero__invite,
  .tm-split__content > p,
  .tm-mission-grid__content p,
  .tm-studio-card p,
  .tm-service-card p{
    margin-left:auto;
    margin-right:auto;
    text-align:center!important;
  }

  .tm-hero__lead{
    max-width:34rem;
    font-size:17px;
    line-height:1.72;
  }

  .tm-trustbar{
    justify-items:center;
    justify-content:center;
    align-items:center;
    margin-inline:auto;
  }

  .tm-trustbar__item{
    justify-content:center;
    text-align:center;
  }

  .tm-btn,
  .tm-service-card .tm-btn,
  .tm-studio-card .tm-btn{
    margin-left:auto;
    margin-right:auto;
    align-self:center;
  }

  .tm-socials{
    justify-content:center;
  }

  .tm-steps-list li{
    grid-template-columns:1fr!important;
    justify-items:center;
    text-align:center;
  }

  .tm-step-num{
    margin-inline:auto;
  }

  .tm-steps-list h4,
  .tm-steps-list p{
    text-align:center!important;
  }

  .tm-faq-item summary{
    padding-left:46px;
    padding-right:46px;
    text-align:center!important;
  }

  .tm-faq-item__answer p{
    text-align:center!important;
  }

  .tm-blog-more,
  .tm-map-cta{
    text-align:center!important;
  }

  .tm-service-card__body{
    align-items:center;
  }
}


/* =========================================================
   V7 — PŁYWAJĄCY KONTAKT
   ========================================================= */
.tm-floating-contact{
  position:fixed;
  left:12px;
  bottom:90px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:9999;
}

.tm-floating-contact__btn{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  transition:transform .2s ease, box-shadow .2s ease;
  overflow:hidden;
}

.tm-floating-contact__btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,0,0,.22);
}

.tm-floating-contact__btn--whatsapp{
  background:#25D366;
}

.tm-floating-contact__btn--phone{
  background:#111111;
}

.tm-floating-contact__icon{
  display:block;
  color:#ffffff;
  flex-shrink:0;
}

.tm-floating-contact__icon--whatsapp{
  width:24px;
  height:24px;
  transform:translateX(1px);
}

.tm-floating-contact__icon--phone{
  width:21px;
  height:21px;
}

@media (min-width:768px){
  .tm-floating-contact{
    left:18px;
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
  }

  .tm-floating-contact__btn{
    width:62px;
    height:62px;
  }

  .tm-floating-contact__icon--whatsapp{
    width:27px;
    height:27px;
  }

  .tm-floating-contact__icon--phone{
    width:23px;
    height:23px;
  }
}


/* =========================================================
   V8 — dopasowanie sekcji TRENER / MISJA / BLOG do referencji
   ========================================================= */

/* TRENER PERSONALNY — ciaśniej i bardziej premium */
.tm-about{
  padding-top:72px;
  padding-bottom:72px;
}

.tm-about .tm-split{
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:54px;
  align-items:center;
}

.tm-about .tm-split__content{
  max-width:520px;
}

.tm-about .tm-eyebrow{
  margin-bottom:8px;
}

.tm-about h2{
  font-size:clamp(32px,3.2vw,46px);
  line-height:1.05;
  margin-bottom:16px;
}

.tm-about .tm-split__content > p{
  font-size:16px;
  line-height:1.72;
  margin:0 0 18px;
}

.tm-about .tm-split__media{
  min-height:0;
  border-radius:22px;
  background:#fff;
  box-shadow:none;
}

.tm-about .tm-split__media img,
.tm-about .tm-split__media .tm-media-placeholder{
  min-height:0;
  width:100%;
  height:auto;
  aspect-ratio:1.06 / 1;
  object-fit:cover;
  object-position:center center;
  border-radius:22px;
}

/* MISJA — układ jak na screenie: zdjęcie / tekst / karta */
.tm-mission{
  padding-top:64px;
  padding-bottom:64px;
}

.tm-mission-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(0,.9fr) minmax(0,.92fr);
  gap:26px;
  align-items:stretch;
}

.tm-mission-grid__media{
  min-height:0;
  border-radius:18px;
}

.tm-mission-grid__media img,
.tm-mission-grid__media .tm-media-placeholder{
  min-height:0;
  width:100%;
  height:100%;
  aspect-ratio:1.05 / 1;
  object-fit:cover;
  object-position:center;
  border-radius:18px;
}

.tm-mission-grid__content{
  padding:20px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.tm-mission-grid__content h2{
  margin:0 0 10px;
  font-size:clamp(30px,2.6vw,39px);
  line-height:1.05;
}

.tm-mission-grid__content p{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.68;
}

.tm-studio-card{
  padding:30px 28px;
  justify-content:center;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(10,10,10,.07);
}

.tm-studio-card h2{
  margin:0 0 12px;
  font-size:31px;
  line-height:1.05;
}

.tm-studio-card p{
  margin:0 0 20px;
  font-size:16px;
  line-height:1.62;
}

/* BLOG — mniejszy pionowy dystans i 3 wyraźne karty */
.tm-blog{
  padding-top:68px;
  padding-bottom:70px;
}

.tm-blog .tm-section-head{
  margin-bottom:30px;
}

.tm-blog .tm-section-head h2{
  font-size:clamp(34px,3vw,43px);
}

.tm-blog-track{
  --tm-gap:18px;
  grid-auto-columns:calc((100% - (var(--tm-gap) * 2)) / 3);
  padding-bottom:8px;
}

.tm-blog-card{
  border-radius:12px;
  box-shadow:0 8px 24px rgba(10,10,10,.055);
}

.tm-blog-card__media{
  aspect-ratio:1.45 / 1;
}

.tm-blog-card__body{
  padding:16px 17px 18px;
}

.tm-blog-card h3{
  font-size:17px;
  line-height:1.28;
}

.tm-slider__arrow{
  top:39%;
}

/* tablet */
@media (max-width:1024px){
  .tm-about .tm-split{
    grid-template-columns:1fr 1fr;
    gap:34px;
  }

  .tm-mission-grid{
    grid-template-columns:1fr 1fr;
  }

  .tm-studio-card{
    grid-column:1/-1;
  }
}

/* mobile — zachowujemy wyśrodkowanie, ale lepsze proporcje */
@media (max-width:767px){
  .tm-about{
    padding-top:50px;
    padding-bottom:50px;
  }

  .tm-about .tm-split,
  .tm-mission-grid{
    grid-template-columns:1fr;
  }

  .tm-about .tm-split__content{
    max-width:none;
  }

  .tm-about .tm-split__media{
    margin-top:10px;
  }

  .tm-about .tm-split__media img,
  .tm-mission-grid__media img{
    aspect-ratio:1 / 1;
  }

  .tm-mission{
    padding-top:52px;
    padding-bottom:52px;
  }

  .tm-mission-grid{
    gap:20px;
  }

  .tm-mission-grid__content{
    padding:6px 2px;
  }

  .tm-studio-card{
    padding:24px 20px;
  }

  .tm-blog{
    padding-top:54px;
    padding-bottom:64px;
  }

  .tm-blog-track{
    grid-auto-columns:88%;
  }
}


/* V9 — kliknięcia nie mogą być blokowane przez warstwy motywu/wtyczek */
.tm-floating-contact{
  pointer-events:auto !important;
  z-index:2147483000 !important;
}

.tm-floating-contact__btn,
.tm-map-link,
.tm-map-cta .tm-btn{
  position:relative;
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

.tm-map-cta{
  position:relative;
  z-index:20;
  pointer-events:auto !important;
}


/* =========================================================
   V11 — cała karta usługi jest klikalna
   ========================================================= */
.tm-service-card--link{
  color:inherit !important;
  text-decoration:none !important;
  cursor:pointer;
  position:relative;
}

.tm-service-card--link:visited{
  color:inherit !important;
}

.tm-service-card--link:hover{
  color:inherit !important;
  text-decoration:none !important;
}

.tm-service-card--link:focus-visible{
  outline:3px solid rgba(229,171,37,.45);
  outline-offset:4px;
}

.tm-service-card--link .tm-service-card__media img{
  transition:transform .28s ease;
}

.tm-service-card--link:hover .tm-service-card__media img{
  transform:scale(1.025);
}

.tm-service-card__cta{
  pointer-events:none;
}


/* =========================================================
   V13 — MOBILE PERFECT
   - Moja Misja: tekst przed zdjęciem
   - zdjęcia nie występują jedno po drugim
   - strzałki Bloga centralnie POD sliderem
   - większa i czytelniejsza typografia na telefonie
   ========================================================= */

@media (max-width: 767px){

  /* ---- ogólny rytm i czytelność ---- */
  .tm-container{
    width:min(100% - 30px,var(--tm-container));
  }

  .tm-section{
    padding-top:58px;
    padding-bottom:58px;
  }

  .tm-premium p,
  .tm-premium li{
    font-size:18px;
    line-height:1.68;
  }

  .tm-section-head{
    margin-bottom:28px;
  }

  .tm-section-head h2,
  .tm-about h2,
  .tm-mission-grid__content h2,
  .tm-steps h2{
    font-size:38px !important;
    line-height:1.08;
    letter-spacing:-.035em;
  }

  .tm-section-head > p{
    font-size:18px !important;
    line-height:1.5;
  }

  .tm-eyebrow{
    font-size:13px;
    letter-spacing:.16em;
    margin-bottom:10px;
  }

  .tm-btn{
    min-height:52px;
    padding:0 22px;
    font-size:17px;
    line-height:1.2;
  }

  /* ---- O MNIE / TRENER ---- */
  .tm-about{
    padding-top:58px;
    padding-bottom:58px;
  }

  .tm-about .tm-split{
    gap:30px;
  }

  .tm-about .tm-split__content > p{
    font-size:18px !important;
    line-height:1.68;
    margin-bottom:20px;
  }

  .tm-about .tm-split__media{
    margin-top:4px;
  }

  .tm-about .tm-split__media img,
  .tm-about .tm-split__media .tm-media-placeholder{
    width:100%;
    aspect-ratio:1 / 1.02;
    min-height:0;
    border-radius:20px;
    object-fit:cover;
  }

  .tm-social-heading{
    font-size:18px !important;
    margin-top:28px;
  }

  /* ---- MOJA MISJA ----
     Na desktopie pozostaje zdjęcie / tekst / studio.
     Tylko na telefonie: tekst -> zdjęcie -> studio. */
  .tm-mission{
    padding-top:58px;
    padding-bottom:62px;
  }

  .tm-mission-grid{
    display:flex !important;
    flex-direction:column;
    gap:28px;
  }

  .tm-mission-grid__content{
    order:1;
    padding:0 3px;
  }

  .tm-mission-grid__media{
    order:2;
    width:100%;
    border-radius:20px;
    overflow:hidden;
  }

  .tm-studio-card{
    order:3;
  }

  .tm-mission-grid__content h2{
    margin:0 0 20px;
  }

  .tm-mission-grid__content p{
    font-size:18px !important;
    line-height:1.68;
    margin:0 auto 22px;
    max-width:36rem;
  }

  .tm-mission-grid__content p:last-child{
    margin-bottom:0;
  }

  .tm-mission-grid__media img,
  .tm-mission-grid__media .tm-media-placeholder{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:1.08 / 1;
    object-fit:cover;
    object-position:center;
    border-radius:20px;
  }

  .tm-studio-card{
    padding:30px 22px;
    border-radius:20px;
  }

  .tm-studio-card h2{
    font-size:32px !important;
    line-height:1.08;
    margin-bottom:18px;
  }

  .tm-studio-card p{
    font-size:18px !important;
    line-height:1.68;
    margin-bottom:24px;
  }

  /* ---- USŁUGI ---- */
  .tm-service-card__body{
    padding:24px 20px 26px;
  }

  .tm-service-card h3{
    font-size:28px !important;
    line-height:1.12;
    margin-bottom:14px;
  }

  .tm-service-card p{
    font-size:18px !important;
    line-height:1.64;
  }

  /* ---- BLOG ---- */
  .tm-blog{
    padding-top:64px;
    padding-bottom:112px;
  }

  .tm-blog .tm-section-head{
    margin-bottom:34px;
  }

  .tm-blog .tm-section-head h2{
    font-size:42px !important;
  }

  .tm-blog .tm-section-head p{
    font-size:19px !important;
  }

  .tm-slider{
    position:relative;
    padding-bottom:0;
  }

  .tm-blog-track{
    grid-auto-columns:91%;
    gap:16px;
    padding:6px 2px 12px;
    scroll-padding-left:2px;
  }

  .tm-blog-card{
    border-radius:18px;
  }

  .tm-blog-card__media{
    aspect-ratio:1.38 / 1;
  }

  .tm-blog-card__body{
    padding:22px 18px 26px;
  }

  .tm-kicker{
    font-size:13px;
    margin-bottom:10px;
  }

  .tm-blog-card h3{
    font-size:23px !important;
    line-height:1.25;
  }

  .tm-text-link{
    margin-top:18px;
    font-size:18px;
  }

  /* WAŻNE: wcześniejsza reguła V8 ustawiała top:39%.
     Nadpisujemy ją na samym końcu. */
  .tm-slider__arrow{
    top:auto !important;
    bottom:-70px !important;
    width:50px;
    height:50px;
    font-size:31px;
    line-height:1;
  }

  .tm-slider__arrow--prev{
    left:calc(50% - 58px) !important;
    right:auto !important;
  }

  .tm-slider__arrow--next{
    right:calc(50% - 58px) !important;
    left:auto !important;
  }

  .tm-blog-more{
    margin-top:78px;
  }

  /* ---- 3 KROKI ---- */
  .tm-steps h3{
    font-size:24px !important;
    line-height:1.3;
  }

  .tm-steps-list h4{
    font-size:21px;
  }

  .tm-steps-list p{
    font-size:18px;
  }

  /* ---- FAQ ---- */
  .tm-faq-grid{
    columns:1;
  }

  .tm-faq-item{
    margin-bottom:14px;
    border-radius:14px;
  }

  .tm-faq-item summary{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px 52px;
    font-size:19px;
    line-height:1.35;
  }

  .tm-faq-item__answer{
    padding:0 20px 20px;
  }

  .tm-faq-item__answer,
  .tm-faq-item__answer p{
    font-size:18px !important;
    line-height:1.65;
  }

  /* ---- pływający kontakt: nieco subtelniejszy na telefonie ---- */
  .tm-floating-contact{
    left:10px;
    bottom:92px;
    gap:10px;
  }

  .tm-floating-contact__btn{
    width:52px;
    height:52px;
  }

  .tm-floating-contact__icon--whatsapp{
    width:23px;
    height:23px;
  }

  .tm-floating-contact__icon--phone{
    width:20px;
    height:20px;
  }
}

/* bardzo wąskie telefony */
@media (max-width: 380px){
  .tm-container{
    width:min(100% - 22px,var(--tm-container));
  }

  .tm-premium p,
  .tm-premium li,
  .tm-mission-grid__content p,
  .tm-studio-card p,
  .tm-service-card p{
    font-size:17px !important;
  }

  .tm-section-head h2,
  .tm-about h2,
  .tm-mission-grid__content h2,
  .tm-steps h2{
    font-size:34px !important;
  }

  .tm-blog-card h3{
    font-size:21px !important;
  }

  .tm-faq-item summary{
    font-size:18px;
  }
}


/* =========================================================
   V14 — MOBILE UX / READABILITY
   Najważniejsze:
   - systemowa, bardzo czytelna czcionka bez zewnętrznego fontu
   - czarny tekst na złotym CTA
   - mniejsza przerwa między trustbarem/CTA a zdjęciem hero
   - strzałki Bloga po bokach slidera
   - bardziej proporcjonalna typografia mobile
   ========================================================= */

/* Lekki systemowy font — bez dodatkowego requestu do Google Fonts */
.tm-premium{
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  color:#111;
}

/* CTA: złote tło + czarny napis */
.tm-btn--primary{
  color:#111 !important;
  font-weight:800;
}

.tm-btn--primary:hover,
.tm-btn--primary:focus{
  color:#111 !important;
}

/* Social links */
.tm-socials a{
  transition:transform .18s ease, opacity .18s ease, background .18s ease;
}

.tm-socials a:hover,
.tm-socials a:focus-visible{
  transform:translateY(-2px);
  opacity:.88;
}

@media (max-width:767px){

  /* ---------- HERO ---------- */
  .tm-hero{
    padding-top:38px;
    padding-bottom:28px;
  }

  .tm-hero__grid{
    gap:18px !important;
  }

  .tm-hero__content{
    padding-bottom:0;
  }

  .tm-hero h1{
    font-size:clamp(40px,10.8vw,50px) !important;
    line-height:1.02;
    letter-spacing:-.04em;
  }

  .tm-hero__lead{
    font-size:18px !important;
    line-height:1.62;
    margin-top:20px;
  }

  .tm-hero__invite{
    font-size:20px !important;
    line-height:1.45;
    margin-top:24px;
  }

  .tm-trustbar{
    gap:10px;
    margin:24px auto 22px !important;
  }

  .tm-trustbar__item{
    font-size:17px !important;
    line-height:1.35;
  }

  .tm-trustbar__icon{
    width:27px;
    height:27px;
    font-size:18px;
  }

  .tm-stars{
    font-size:22px;
  }

  .tm-btn--large{
    min-height:62px !important;
    font-size:20px !important;
    font-weight:800 !important;
    letter-spacing:.01em;
    margin-bottom:2px !important;
  }

  /* usuwa dużą pustą przestrzeń przed portretem */
  .tm-hero__media{
    min-height:0 !important;
    height:auto !important;
    margin-top:0 !important;
    padding-top:0 !important;
    align-items:flex-start;
  }

  .tm-hero__media img{
    display:block;
    width:min(92%,520px) !important;
    height:auto !important;
    max-height:none !important;
    margin:0 auto !important;
  }

  .tm-hero__media::after{
    width:310px;
    height:310px;
  }

  /* ---------- TYPOGRAFIA / SEKCJE ---------- */
  .tm-section{
    padding-top:52px;
    padding-bottom:52px;
  }

  .tm-section-head h2,
  .tm-about h2,
  .tm-mission-grid__content h2,
  .tm-steps h2{
    font-size:clamp(34px,9.5vw,41px) !important;
    line-height:1.08;
  }

  .tm-premium p,
  .tm-premium li,
  .tm-about .tm-split__content > p,
  .tm-mission-grid__content p,
  .tm-studio-card p,
  .tm-service-card p,
  .tm-steps-list p,
  .tm-faq-item__answer,
  .tm-faq-item__answer p{
    font-size:18px !important;
    line-height:1.62 !important;
  }

  /* Zachowujemy czytelność bez przesadnie wielkiego FAQ */
  .tm-faq-item summary{
    font-size:18px !important;
    line-height:1.32;
    min-height:70px;
    padding:18px 48px !important;
    font-weight:650;
  }

  /* ---------- ABOUT / SOCIAL ---------- */
  .tm-social-heading{
    font-size:20px !important;
    margin-top:28px;
    margin-bottom:14px;
  }

  .tm-socials{
    gap:12px;
    margin-bottom:20px;
  }

  .tm-socials a{
    width:42px;
    height:42px;
    font-size:17px;
  }

  /* ---------- BLOG ---------- */
  .tm-blog{
    padding-top:58px;
    padding-bottom:70px !important;
  }

  .tm-blog .tm-section-head{
    margin-bottom:26px;
  }

  .tm-blog .tm-section-head h2{
    font-size:42px !important;
  }

  .tm-blog-track{
    grid-auto-columns:88% !important;
    gap:16px;
    padding:6px 28px 16px !important;
    scroll-padding-inline:28px;
  }

  .tm-blog-card__body{
    padding:21px 18px 24px;
  }

  .tm-blog-card h3{
    font-size:22px !important;
    line-height:1.26;
  }

  /* strzałki NA BOKACH, wyśrodkowane przy karcie */
  .tm-slider__arrow{
    top:48% !important;
    bottom:auto !important;
    transform:translateY(-50%);
    width:46px;
    height:46px;
    z-index:20;
    font-size:28px;
    background:rgba(255,255,255,.96);
    box-shadow:0 8px 26px rgba(0,0,0,.14);
  }

  .tm-slider__arrow--prev{
    left:6px !important;
    right:auto !important;
  }

  .tm-slider__arrow--next{
    right:6px !important;
    left:auto !important;
  }

  .tm-blog-more{
    margin-top:24px !important;
  }

  /* ---------- FLOATING CONTACT ---------- */
  .tm-floating-contact{
    left:10px;
    bottom:84px;
    gap:9px;
  }

  .tm-floating-contact__btn{
    width:50px;
    height:50px;
  }
}

/* bardzo małe telefony */
@media (max-width:380px){
  .tm-hero h1{
    font-size:38px !important;
  }

  .tm-hero__lead,
  .tm-premium p,
  .tm-premium li{
    font-size:17px !important;
  }

  .tm-btn--large{
    font-size:18px !important;
  }

  .tm-faq-item summary{
    font-size:17px !important;
  }
}


/* =========================================================
   V15 — PERFORMANCE
   ========================================================= */
.tm-hero__img{
  display:block;
  max-width:100%;
  height:auto;
}



/* =========================================================
   V16+ — stabilność layoutu
   ========================================================= */
.tm-offer,
.tm-about,
.tm-mission,
.tm-blog,
.tm-steps,
.tm-faq{
  content-visibility:visible !important;
  contain-intrinsic-size:none !important;
}

/* =========================================================
   V25 — PREMIUM KARUZELA OPINII
   ========================================================= */
.tm-reviews-v25{
  background:#FAF9F6 !important;
  overflow:hidden;
}

.tm-reviews-v25__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:36px;
  margin-bottom:34px;
}

.tm-reviews-v25__head > div:first-child{
  max-width:720px;
}

.tm-reviews-v25__head h2{
  margin:8px 0 12px;
  color:#111;
  font-size:clamp(2.35rem,4.5vw,4.6rem);
  line-height:1;
  letter-spacing:-.045em;
  font-weight:900;
}

.tm-reviews-v25__head p{
  margin:0;
  max-width:650px;
  color:#6B7280;
  font-size:17px;
  line-height:1.7;
}

.tm-reviews-v25__rating{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:15px;
  min-width:265px;
  padding:18px 20px;
  border:1px solid #E8E4DC;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 34px rgba(15,15,15,.05);
}

.tm-reviews-v25__rating > strong{
  color:#111;
  font-size:42px;
  line-height:1;
  letter-spacing:-.055em;
}

.tm-reviews-v25__rating span{
  display:block;
  margin-top:5px;
  color:#6B7280;
  font-size:12px;
  font-weight:700;
}

.tm-review-stars{
  color:#E5AB25;
  font-size:20px;
  line-height:1;
  letter-spacing:2px;
}

.tm-review-carousel{
  position:relative;
}

.tm-review-carousel__viewport{
  overflow:hidden;
  outline:none;
}

.tm-review-carousel__track{
  display:flex;
  gap:16px;
  transform:translate3d(0,0,0);
  transition:transform .55s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}

.tm-review-slide{
  flex:0 0 calc((100% - 32px)/3);
  min-width:0;
  min-height:286px;
  display:flex;
  flex-direction:column;
  padding:26px;
  border:1px solid #E7E2D9;
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 34px rgba(12,12,12,.045);
}

.tm-review-slide__top{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  margin-bottom:25px;
}

.tm-review-avatar{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:17px;
  font-weight:900;
}

.tm-review-slide__person{
  min-width:0;
}

.tm-review-slide__person strong{
  display:block;
  overflow:hidden;
  color:#111;
  font-size:16px;
  line-height:1.3;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tm-review-slide__person span{
  display:block;
  margin-top:4px;
  color:#8A8F98;
  font-size:11px;
  font-weight:750;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.tm-review-slide__number{
  color:#D5D0C7;
  font-size:14px;
  font-weight:850;
  letter-spacing:.08em;
}

.tm-review-slide p{
  margin:22px 0 0;
  color:#292929;
  font-size:17px;
  line-height:1.75;
}

.tm-review-carousel__controls{
  display:grid;
  grid-template-columns:auto minmax(100px,1fr) auto;
  align-items:center;
  gap:20px;
  margin-top:24px;
}

.tm-review-carousel__nav{
  display:flex;
  gap:9px;
}

.tm-review-carousel__arrow{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid #DDD8CF;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:20px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}

.tm-review-carousel__arrow:hover{
  border-color:#111;
  background:#111;
  color:#fff;
}

.tm-review-carousel__progress{
  position:relative;
  height:3px;
  overflow:hidden;
  border-radius:999px;
  background:#E2DED6;
}

.tm-review-carousel__progress span{
  position:absolute;
  inset:0 auto 0 0;
  width:0;
  border-radius:inherit;
  background:#E5AB25;
  transition:width .35s ease;
}

.tm-review-carousel__counter{
  display:flex;
  align-items:baseline;
  gap:5px;
  min-width:62px;
  color:#8A8F98;
  font-size:13px;
  font-weight:750;
}

.tm-review-carousel__counter strong{
  color:#111;
  font-size:22px;
  line-height:1;
}

.tm-reviews-v25__bottom{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:28px;
}

.tm-reviews-v25__bottom p{
  margin:0 auto 0 0;
  color:#717680;
  font-size:14px;
}

@media(max-width:1024px){
  .tm-reviews-v25__head{
    align-items:flex-start;
    flex-direction:column;
  }

  .tm-review-slide{
    flex-basis:calc((100% - 16px)/2);
  }
}

@media(max-width:767px){
  .tm-reviews-v25__head{
    gap:22px;
    margin-bottom:25px;
    text-align:center;
  }

  .tm-reviews-v25__head > div:first-child,
  .tm-reviews-v25__rating{
    width:100%;
  }

  .tm-reviews-v25__head h2{
    font-size:clamp(2.35rem,11vw,3.2rem);
  }

  .tm-reviews-v25__head p{
    font-size:16px;
  }

  .tm-reviews-v25__rating{
    justify-content:center;
  }

  .tm-review-carousel__viewport{
    overflow:visible;
  }

  .tm-review-carousel__track{
    gap:12px;
  }

  .tm-review-slide{
    flex:0 0 88%;
    min-height:275px;
    padding:22px;
    border-radius:19px;
  }

  .tm-review-slide p{
    font-size:16px;
    line-height:1.7;
  }

  .tm-review-carousel__controls{
    grid-template-columns:auto 1fr auto;
    gap:13px;
    margin-top:19px;
  }

  .tm-review-carousel__arrow{
    width:44px;
    height:44px;
  }

  .tm-reviews-v25__bottom{
    display:grid;
    grid-template-columns:1fr;
    margin-top:24px;
  }

  .tm-reviews-v25__bottom p{
    margin:0 0 6px;
    text-align:center;
  }

  .tm-reviews-v25__bottom .tm-btn{
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce){
  .tm-review-carousel__track,
  .tm-review-carousel__progress span{
    transition:none !important;
  }
}

/* Location: scoped styles, no map scripts or external embeds. */
.tm-home-location{background:#faf9f6}
.tm-home-location__grid{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start}
.tm-home-location__description h3{font-size:23px;line-height:1.3;margin:0 0 16px}
.tm-home-location__description p{margin:0 0 24px;line-height:1.8}
.tm-home-location__description a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tm-home-location__card{padding:32px;background:#fff;border:1px solid #e8e4dc;border-radius:20px}
.tm-home-location__label{font-size:12px;font-weight:700;letter-spacing:.14em;color:#875d00}
.tm-home-location__card address{font-style:normal;font-size:20px;line-height:1.6;margin:16px 0}
.tm-home-location__card p{line-height:1.7;color:#555}
.tm-home-location__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
@media(max-width:767px){.tm-home-location__grid{grid-template-columns:1fr;gap:20px}.tm-home-location__card{padding:24px}.tm-home-location__actions a{width:100%;text-align:center;justify-content:center}}
