/* ===== THEME VARS ===== */
/* ===== LYO – ADVANTAGES ===== */
:root{
  --lyo-card-bg1:#121a2b;
  --lyo-card-bg2:#141f33;
  --lyo-txt:#e9f0ff;
  --lyo-muted:#b6c2e7;
  --lyo-accent:#00ffe0;
  --lyo-vio:#8b5cf6;
  --lyo-radius:18px;
  --lyo-shadow:0 18px 48px rgba(0,0,0,.35);
}

#lyo-advantages{
  color: var(--lyo-txt);
}
.lyo-advantages__title{
  font-size: clamp(28px, 4vw, 56px);
  margin-bottom: 28px;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
  filter: drop-shadow(0 0 22px rgba(0,255,224,.15));
}

.lyo-cards__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 kolumny */
  gap: clamp(20px, 2vw, 32px);
}

@media(max-width: 768px){
  .lyo-cards__grid{
    grid-template-columns: 1fr; /* na telefonie 1 kolumna */
  }
}

@media(max-width: 1200px){
  .lyo-cards__grid{ grid-template-columns: repeat(2,1fr); }
}
@media(max-width: 640px){
  .lyo-cards__grid{ grid-template-columns: 1fr; }
}

.lyo-card{
  background: linear-gradient(180deg, var(--lyo-card-bg1), var(--lyo-card-bg2));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--lyo-radius);
  box-shadow: var(--lyo-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s, box-shadow .35s, border-color .3s;
}
.lyo-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0,255,224,.25);
  box-shadow: 0 24px 60px rgba(0,255,224,.08), var(--lyo-shadow);
}

.lyo-card__media{
  aspect-ratio: 16/9;
  overflow: hidden;
}
.lyo-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.lyo-card:hover .lyo-card__media img{
  transform: scale(1.06);
}

.lyo-card__body{ padding: 20px; }
.lyo-card__title{
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 10px;
}
.lyo-card__title .nr{
  font-weight: 700;
  background: linear-gradient(90deg, var(--lyo-vio), var(--lyo-accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lyo-card__text{
  color: var(--lyo-muted);
  line-height: 1.6;
}


/* ===== SECTION WRAP ===== */
#info-section{
  
  font-family:"Inter",system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  padding:0 clamp(20px,5vw,80px) clamp(80px,10vw,160px);
}

/* ===== banner-info (zielono-fioletowy gradient + „particles”) ===== */
#info-section .banner-info{
  position:relative;
  height:clamp(620px,50vh,800px);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin-bottom:80px;
  padding: 10px;

  /* bazowy gradient: lewy-górny zielony -> prawy-dolny fiolet */
  background:
    radial-gradient(1200px 800px at 15% 10%, #0f3c3a 0%, transparent 55%),
    radial-gradient(1100px 900px at 85% 85%, #2a0d2f 0%, transparent 60%),
    linear-gradient(120deg, #0b1a1f 0%, #0a0f15 45%, #140a17 100%);
}

/* -------------------------------------- */
/* ===================== */
/* MOBILE / SMALL SCREENS */
/* ===================== */
@media (max-width: 1024px){
  .ingredients-section{
    padding: 64px 28px;
  }
  .ingredients-inner{
    gap: 36px;
  }
  .ingredient .num{ font-size: 24px; }
  .ingredient h3{ font-size: 20px; }
  .ingredient p{ font-size: 14px; }
}

@media (max-width: 900px){
  /* Sekcja: układ kolumn -> kolumna */
  .ingredients-inner{
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  /* Obraz w ringu – niech się skaluje i nie wymusza wysokości */
  .ingredients-ring img{
    max-width: min(420px, 90vw);
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* Lista składników – większe tap-targety */
  .ingredients-list{
    gap: 22px;
  }
  .ingredient{
    padding: 10px 6px;
    border-radius: 10px;
    transition: transform .2s ease, background .2s ease;
  }
  .ingredient:active{
    transform: translateY(1px);
  }

  /* Sekcja – ciaśniejsze paddingi na bardzo wąskich */
  .ingredients-section{
    padding: 44px 18px;
  }

  /* ===== POPUP (modal) ===== */
  /* Twoja bazowa siatka przełącza się na 1 kolumnę już pod 900px – zostawiamy,
     ale pilnujemy wysokości i przewijania. */  /* (bazę masz w pliku) */ /* filecite marker below */
  /* max-width już masz ~90% szerokości, dokładamy wysokość i scroll */
  #popup{
    padding: 16px; /* marginesy wewnątrz ekranu, by nie kleiło się do brzegów */
  }
  .popup-center{
    max-height: 90vh;           /* nie większe niż ekran */
    overflow: auto;             /* przewijanie treści w modalu */
    padding: 24px;              /* ciaśniej na mobile */
    gap: 20px;
    border-radius: 12px;
  }
  .popup-close{
    top: 10px;
    right: 12px;
    font-size: 32px;
    padding: 6px;               /* większy tap target */
  }

  .popup-text .popup-num{
    font-size: 30px;
    margin-bottom: 6px;
  }
  #popup-title{
    font-size: 22px;
    margin-bottom: 8px;
  }
  #popup-desc{
    font-size: 15px;
    margin-bottom: 10px;
  }
  #popup-long{
    font-size: 14px;
    line-height: 1.55;
  }

  .popup-img-wrap img{
    width: 100%;
    height: auto;               /* brak rozciągania w pionie */
    max-height: 40vh;           /* niech grafika nie dominuje */
    object-fit: cover;
  }
}

/* Ultra-small phones */
@media (max-width: 360px){
  .ingredient .num{ font-size: 22px; }
  .ingredient h3{ font-size: 18px; }
  .ingredient p{ font-size: 13px; }
}

/* -------------------------------------- */

/* warstwa „particles” – wbudowany SVG (lekki, bez dodatkowych plików) */
#info-section .banner-info::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.25;
  z-index:1;
  background-image:url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'>\
  <defs><circle id='n' r='2' fill='%23c6c9d4' opacity='.7'/></defs>\
  <g fill='none' stroke='%23c6c9d4' stroke-opacity='.25'>\
    <path d='M100 80L250 140L420 100M300 300L520 260L700 340'/>\
    <path d='M860 120L980 200L1120 160M900 380L760 420L940 500'/>\
  </g>\
  <use href='%23n' x='100' y='80'/><use href='%23n' x='250' y='140'/>\
  <use href='%23n' x='420' y='100'/><use href='%23n' x='300' y='300'/>\
  <use href='%23n' x='520' y='260'/><use href='%23n' x='700' y='340'/>\
  <use href='%23n' x='860' y='120'/><use href='%23n' x='980' y='200'/>\
  <use href='%23n' x='1120' y='160'/><use href='%23n' x='900' y='380'/>\
  <use href='%23n' x='760' y='420'/><use href='%23n' x='940' y='500'/>\
  </svg>");
  background-size:cover;
  background-repeat:no-repeat;
  pointer-events:none;
}

/* jeżeli w DOM masz <img> – traktuj go jako tło pod gradientem */
#info-section .banner-info img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:brightness(.45) saturate(1.1);
}

/* delikatny „glow” na środku */
#info-section .banner-info::after{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(400px 300px at 50% 55%, var(--accent-glow) 0%, transparent 70%);
  z-index:2;
}

/* ===== banner-info CONTENT ===== */
#info-section .banner-info-content{
  position:relative;
  z-index:3;                 /* ponad :before i :after */
  width:100%;
  max-width:1100px;
  margin-inline:auto;
  padding:clamp(16px, 2.5vw, 40px);

  /* dopasowanie do kontenera */
  text-wrap:balance;
  overflow-wrap:anywhere;
  hyphens:auto;
  container-type:inline-size;
}

#info-section .banner-info h2{
  font-size:clamp(28px, 5.5vw, 76px);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-0.02em;
  margin:0 0 16px;
  color:#cfd3dc;            /* lekko przygaszony jasny */
  -webkit-text-fill-color:currentColor;
}

#info-section .banner-info .lyo-lead{
  font-size:clamp(16px, 2vw, 22px);
  color:#f4f6f8;
  opacity:.9;
  max-width:65ch;
  margin:0 auto 24px;
}

/* CTA (jeśli używasz <a class="button">…) */
#info-section .banner-info a.button{
  display:inline-block;
  padding:12px 26px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50px;
  color:#f4f6f8;
  background:transparent;
  font-weight:600;
  transition:all .25s ease;
  backdrop-filter:saturate(1.1);
}
#info-section .banner-info a.button:hover{
  background:rgba(255,255,255,.12);
  border-color:#fff;
}

/* Skala względem szerokości .banner-info-content */
@container (max-width: 800px){
  #info-section .banner-info h2{ font-size:clamp(24px, 9cqw, 48px); }
  #info-section .banner-info .lyo-lead{ font-size:clamp(14px, 4cqw, 18px); }
}

/* ===== INTRO – 2 kolumny ===== */
#info-section .intro-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  margin-bottom:80px;
}
@media (max-width:900px){
  #info-section .intro-pair{ grid-template-columns:1fr; }
}
#info-section .intro-card{
  background:var(--bg-card);
  border:1px solid #1f2937;
  border-radius:var(--radius);
  padding:clamp(32px,4vw,48px);
  box-shadow:var(--shadow);
  padding-top:25%;
}
#info-section .intro-card h3{
  font-size:clamp(4.2em,2.5vw,3em);
  font-weight:600;
  margin:0 0 16px;
  color:var(--accent);
  font-family: Arial Bold, Helvetica, sans-serif;
}
#info-section .intro-card p{ color:var(--text-soft); margin-bottom:24px; align-items: center;}
#info-section .chips{ display:flex; flex-wrap:wrap; gap:8px; }
#info-section .chip{
  background:#111827; color:var(--accent);
  font-size:14px; font-weight:500; padding:6px 14px;
  border-radius:999px; border:1px solid var(--accent);
}

/* ===== IMAGE CARDS ===== */
#info-section .cats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:40px;
}
#info-section .cat{
  position:relative; background:var(--bg-card);
  border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; justify-content:flex-end;
  min-height:380px; box-shadow:var(--shadow);
  transition:.4s cubic-bezier(.4,0,.2,1);
}
#info-section .cat:hover{ transform:translateY(-10px); box-shadow:0 20px 60px rgba(0,229,255,.15); }
#info-section .cat img.bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  z-index:0; filter:brightness(.6) saturate(1.3); transition:transform .6s ease;
}
#info-section .cat:hover img.bg{ transform:scale(1.08); }
#info-section .cat::after{
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to top,rgba(13,13,18,.85) 35%,transparent 70%);
}
#info-section .cat-content{ position:relative; z-index:2; color:var(--text); padding:32px; }
#info-section .cat h4{ font-size:22px; font-weight:600; margin:0 0 8px; color:var(--accent); }
#info-section .cat p{ font-size:15px; margin:0; color:var(--text-soft); }

/* ===== Reveal ===== */
[data-reveal]{opacity:0;transform:translateY(40px);transition:.8s}
[data-reveal].is-visible{opacity:1;transform:none}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width:1200px){
  #info-section{ padding:0 clamp(16px,4vw,56px) clamp(72px,8vw,120px); }
  #info-section .banner-info{ height:clamp(420px,48vh,560px); margin-bottom:64px; }
  #info-section .intro-pair{ gap:36px; }
  #info-section .cats{ gap:32px; }
}
@media (max-width:992px){
  #info-section .banner-info h2{ font-size:clamp(24px,4.6vw,52px); }
  #info-section .banner-info .lyo-lead{ font-size:clamp(15px,1.9vw,20px); }
  #info-section .intro-pair{ grid-template-columns:1fr; gap:28px; margin-bottom:56px; }
  #info-section .intro-card{ padding:clamp(24px,3.5vw,36px); }
  #info-section .cats{ grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
  #info-section .cat{ min-height:340px; }
}
@media (max-width:768px){
  #info-section{ padding:0 clamp(14px,4vw,32px) clamp(60px,9vw,100px); }
  #info-section .banner-info{ height:clamp(380px,56vh,520px); border-radius:20px; }
  #info-section .banner-info-content{ padding:clamp(14px,3vw,28px); }
  #info-section .banner-info h2{ font-size:clamp(22px,7vw,40px); }
  #info-section .banner-info .lyo-lead{ font-size:clamp(14px,3.2vw,18px); max-width:60ch; }
  #info-section .cat-content{ padding:24px; }
  #info-section .cat h4{ font-size:20px; }
  #info-section .cat p{ font-size:14px; }
}
@media (max-width:576px){
  #info-section .banner-info{ height:clamp(340px,56vh,480px); margin-bottom:48px; }
  #info-section .banner-info h2{ font-size:clamp(20px,8vw,34px); letter-spacing:-0.01em; }
  #info-section .banner-info .lyo-lead{ font-size:clamp(13px,3.8vw,16px); }
  #info-section .cats{ grid-template-columns:1fr; gap:24px; }
  #info-section .cat{ min-height:300px; border-radius:18px; }
  #info-section .intro-card h3{ font-size:clamp(18px,5vw,24px); }
}
@media (max-width:380px){
  #info-section{
    padding-left:max(12px, env(safe-area-inset-left));
    padding-right:max(12px, env(safe-area-inset-right));
  }
  #info-section .banner-info{ height:320px; border-radius:16px; }
  #info-section .banner-info h2{ font-size:20px; }
  #info-section .banner-info .lyo-lead{ font-size:13px; }
  #info-section .cat-content{ padding:20px; }
}

/* krajobrazy bardzo niskie ekrany */
@media (max-height:520px) and (orientation:landscape){
  #info-section .banner-info{ height:70vh; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Fallback gdy brak container queries */
@supports not (container-type:inline-size){
  @media (max-width:700px){
    #info-section .banner-info h2{ font-size:clamp(22px,7.5vw,36px); }
    #info-section .banner-info .lyo-lead{ font-size:clamp(13px,3.5vw,17px); }
  }
}

/* Nagłówek po lewej stronie z płynnym wejściem */
#info-section .banner-info {
  justify-content: flex-start; /* tekst z lewej */
  text-align: left;
}

#info-section .banner-info-content {
  max-width: 600px; /* ograniczamy szerokość tekstu */
  background: linear-gradient(to right, rgba(24, 13, 23, 0.85), rgba(24, 13, 23, 0));
  padding: 40px;
  border-radius: var(--radius);
}

/* Opcjonalny efekt pojawiania się od lewej */
[data-reveal-left] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal-left].is-visible {
  opacity: 1;
  transform: translateX(0);
}


