/* =============================================
   TINECO FLOOR ONE S9 Scientist — Rich Content v7
   ============================================= */
:root {
  --navy:  #00327D;
  --cyan:  #2594CB;
  --dark:  #080d18;
  --card:  #F4F6FA;
  --white: #FFFFFF;
  --text:  #111827;
  --muted: #4B5563;
  --note:  #9FA0A0;
  --r: 16px;
  --gap: 20px;
  --fd: 'Rajdhani', sans-serif;
  --fb: 'Nunito Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.trc {
  font-family: var(--fb);
  color: var(--text);
  max-width: 1300px;
  margin: 0 auto;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 4px;
}

/* ── KARTY ── */
.card          { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.card.dark     { background: var(--dark); }
.card.white    { background: var(--white); border: 1px solid rgba(0,50,125,.1); }
.card.navy     { background: var(--navy); }

/* ── TYPOGRAFIA ── */
.trc h3 { font-family: var(--fd); font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: .55rem; }
.card.dark h3 { color: var(--white); }
.trc h4 { font-family: var(--fd); font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.card.dark h4 { color: var(--cyan); }
.trc p  { font-size: clamp(.85rem, 1.3vw, .95rem) !important; line-height: 1.72 !important; color: var(--muted) !important; }
.card.dark p  { color: rgba(255,255,255,.72) !important; }
.sup { display: block; font-family: var(--fb); font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--navy); opacity: .5; margin-bottom: .3rem; }
.card.dark .sup { color: var(--cyan); opacity: .8; }
.note { font-size: .72rem; color: var(--note); margin-top: .65rem; }
.card.dark .note { color: rgba(255,255,255,.3); }

/* ── BANER ── */
.baner { width: 100%; display: block; line-height: 0; }
.baner img { width: 100%; height: auto; display: block; }

/* ── TEKST POD BANEREM ── */
.under { padding: 1.25rem 2.25rem 1.6rem; }
.under .sup {
  display: block;
  font-family: var(--fd);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 1;
  margin-bottom: .5rem;
  line-height: 1.1;
}
.under p { font-size: clamp(.92rem, 1.4vw, 1.02rem); color: var(--muted); line-height: 1.65; font-weight: 400; }

/* ── OBRAZ + TEKST (50/50) ── */
.ft { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ft.rev .ft-img { order: 2; }
.ft.rev .ft-body { order: 1; }
.ft-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.ft-body { padding: 1.75rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }

/* ── KROKI ── */
.steps { margin-top: .9rem; display: flex; flex-direction: column; gap: .55rem; }
.step  { display: flex; gap: .55rem; align-items: flex-start; }
.sn { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--fd); font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.card.dark .sn { background: var(--cyan); color: #000; }

/* ── KAFELEK POD TEKSTEM ── */
.thumb { margin-top: 1.25rem; border-radius: 10px; overflow: hidden; max-width: 340px; }
.thumb img { width: 100%; height: auto; display: block; }

/* ── TMR UKŁAD: 3 równe kolumny ── */
.tmr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 1.25rem 1.25rem 0;
  background: transparent;
}
.tmr-col {
  background: var(--dark);
  display: flex; flex-direction: column;
}
.tmr-sq {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  border-radius: var(--r);
}
.tmr-body { padding: .85rem .25rem .5rem; flex: 1; text-align: center; }
.tmr-body h4 { margin-bottom: .2rem; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.tmr-body p { font-size: clamp(.88rem, 1.28vw, .98rem); line-height: 1.45; }

/* ── FLASHDRY 2 WIERSZE ── */
.fd-title { text-align: center; padding: 1.75rem 2rem .5rem; font-family: var(--fd); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; color: var(--navy); }
.fd-rows { display: flex; flex-direction: column; gap: 1px; background: rgba(0,50,125,.08); }
.fd-row { display: grid; grid-template-columns: 360px 1fr; align-items: center; background: var(--white); min-height: 190px; }
.fd-img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; display: block; }
.fd-body { padding: 1.5rem 2.25rem; }
.fd-step { font-family: var(--fd); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: .3rem; }

/* ── S13 STREAKFREE: tytuł fd-title + 2 foto lewo / 2 opisy prawo ── */
.sf-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0 1.5rem 1.75rem;
  align-items: start;
}
.sf-photos {
  display: flex; flex-direction: column; gap: 0;
}
.sf-photo-row {
  display: contents;
}
.sf-photo {
  width: 80%; border-radius: var(--r); overflow: hidden; display: block; margin: 0 auto;
}
.sf-photo img { width: 100%; height: auto; display: block; }
.sf-texts {
  display: flex; flex-direction: column; gap: 0;
}
.sf-item {
  padding: 1.1rem 1.5rem 1.1rem .5rem;
}
.sf-item h4 {
  font-family: var(--fd); font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700; color: var(--navy); margin-bottom: .35rem; line-height: 1.2;
}
.sf-item p {
  font-size: clamp(.86rem, 1.3vw, .95rem); color: var(--muted); line-height: 1.6;
}
.sf-sep {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(0,50,125,.1);
  margin: 0 0;
}
.sf-row {
  display: contents;
}
@media (max-width: 768px) {
  .sf-body { grid-template-columns: 1fr; gap: 0; padding: 0 1rem 1.5rem; }
  .sf-photo { width: 100%; }
  .sf-sep { display: none; }
  .sf-item { padding: .75rem 0 1rem; }
}

/* ── PASEK STATYSTYK ── */
.stats { padding: 2rem 2.5rem; display: flex; justify-content: space-around; align-items: center; gap: 1rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .v { font-family: var(--fd); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; color: var(--white); line-height: 1; }
.stat .v sup { font-size: .5em; vertical-align: super; }
.stat .d { font-size: .73rem; color: rgba(255,255,255,.6); margin-top: .15rem; }
.sdiv { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ── OGNIWA BATERII ── */
.bat-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 360px; }
.bat-text { padding: 2.25rem 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.bat-img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.bat-h1 { font-family: var(--fd); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; color: var(--cyan); line-height: 1.1; margin-bottom: .35rem; }
.bat-p1 { font-size: clamp(.92rem, 1.4vw, 1.02rem); color: rgba(255,255,255,.72); line-height: 1.15 !important; }
.bat-rows { display: flex; flex-direction: column; gap: .85rem; }
.bat-row { display: grid; grid-template-columns: 140px 1fr; gap: .5rem 1rem; align-items: start; }
.bat-row-label { font-family: var(--fd); font-size: clamp(.9rem, 1.5vw, 1.1rem); font-weight: 700; color: var(--cyan); line-height: 1.2; padding-top: .1rem; }
.bat-row-body { display: flex; flex-direction: column; gap: .1rem; }
.bat-row-title { font-family: var(--fd); font-size: clamp(.85rem, 1.3vw, 1rem); font-weight: 600; color: var(--white); line-height: 1.25; }
.bat-row-desc { font-size: clamp(.75rem, 1.1vw, .85rem); color: rgba(255,255,255,.55); line-height: 1.3; }

/* ── TRYBY LED ── */
.modes { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.mode-badge { font-family: var(--fd); font-size: .78rem; font-weight: 600; letter-spacing: .08em; padding: .3rem .75rem; border-radius: 20px; border: 1px solid; }
.mode-max  { color: #ff6b6b; border-color: #ff6b6b; background: rgba(255,107,107,.1); }
.mode-auto { color: #00BFFF; border-color: #00BFFF; background: rgba(0,191,255,.1); }
.mode-quiet{ color: #a78bfa; border-color: #a78bfa; background: rgba(167,139,250,.1); }
.mode-suct { color: #34d399; border-color: #34d399; background: rgba(52,211,153,.1); }

/* ── IKONY ── */
.ic4 { padding: 2.25rem 2.25rem 2.5rem; }
.ic4 > h3 { text-align: center; margin-bottom: 1.5rem; }
.ic4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.ic4-item { background: var(--white); border-radius: 12px; border: 1px solid rgba(0,50,125,.1); padding: 1.3rem 1rem; text-align: center; box-shadow: 0 1px 5px rgba(0,0,0,.05); }
.iw { width: 44px; height: 44px; margin: 0 auto .75rem; background: rgba(0,50,125,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.iw svg { width: 21px; height: 21px; }

/* ── SPECYFIKACJA ── */
.spec { padding: 2.25rem 2.5rem; }
.spec > h3 { text-align: center; margin-bottom: 1.5rem; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,50,125,.1); border: 1px solid rgba(0,50,125,.12); border-radius: 10px; overflow: hidden; }
.si { background: var(--white); padding: .85rem 1.1rem; }
.sl { font-size: .66rem; color: var(--note); text-transform: uppercase; letter-spacing: .08em; }
.sv { font-family: var(--fd); font-size: .95rem; font-weight: 600; color: var(--navy); margin-top: .1rem; }

/* ── STOPKA ── */
.rc-foot { background: var(--navy); border-radius: var(--r); padding: 1.5rem 2.5rem; min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
/* Logo Tineco z brand booka — wordmark małymi literami */
.rc-logo {
  display: flex; align-items: center;
  font-family: var(--fb); font-size: 1.6rem; font-weight: 300;
  color: var(--white); letter-spacing: .08em;
}
.rc-logo .t-dot { position: relative; display: inline-block; }
.rc-logo .t-dot::before {
  content: '·';
  position: absolute; top: -.15em; left: 50%; transform: translateX(-50%);
  font-size: .55em; line-height: 1;
}
.rc-foot > p { font-size: .7rem !important; color: rgba(255,255,255,.4) !important; max-width: 560px; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  :root { --gap: 14px; --r: 12px; }
  .ft, .bat-grid { grid-template-columns: 1fr; }
  .ft.rev .ft-img, .ft.rev .ft-body { order: unset; }
  .ft-img { min-height: 200px; max-height: 260px; }
  .ft-body { padding: 1.5rem 1.4rem; }
  .bat-img { min-height: 220px; max-height: 280px; }
  .bat-text { padding: 1.5rem 1.4rem; }
  .bat-row { grid-template-columns: 1fr; gap: .2rem; }
  .tmr-grid { grid-template-columns: 1fr; gap: 10px; padding: 1rem 1rem 0; }
  .tmr-sq { aspect-ratio: 16 / 9; }
  .fd-rows { gap: 2px; }
  .fd-row { grid-template-columns: 1fr; }
  .fd-img { min-height: 160px; max-height: 200px; }
  .fd-body { padding: 1.25rem 1.4rem; }
  .stats { padding: 1.5rem 1.2rem; }
  .sdiv { display: none; }
  .stat { flex: 1 1 auto; min-width: 65px; }
  .ic4 { padding: 1.5rem 1.2rem; }
  .ic4-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { padding: 1.5rem 1.2rem; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .rc-foot { padding: 1.3rem 1.2rem; flex-direction: column; align-items: flex-start; }
  .under { padding: 1.2rem 1.4rem 1.5rem; }
  .thumb { max-width: 100%; }
}
@media (max-width: 420px) {
  .stat .v { font-size: 1.5rem; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .ic4-grid { grid-template-columns: 1fr 1fr; }
}