/* ===========================================================
   GLOBAL HEADINGS (H1–H4) – jednotný vzhled na všech stránkách
   =========================================================== */

h1, h2, h3, h4 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: #0f2540; /* tmavomodrá, ladí s indelec brandom */
  line-height: 1.25;
  font-weight: 500;
  margin-top: 0;
  -webkit-font-smoothing: antialiased;
}

/* === GLOBAL HEADINGS – fluid (desktop -> tablet -> mobile) === */
h1{
  font-size: clamp(1.50rem, 1.10rem + 1.40vw, 2.00rem);
  margin-bottom: 1rem;
}

h2{
  font-size: clamp(1.25rem, 1.00rem + 1.10vw, 1.60rem);
  margin-top: .5rem;
  margin-bottom: .75rem;
}

/* menší H2 pro homepage sekce */
h2.home{
  font-size: clamp(1.15rem, 0.95rem + 0.85vw, 1.40rem);
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: #1e2a48;
}

h3{
  font-size: clamp(1.05rem, 0.95rem + 0.60vw, 1.30rem);
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: #1e2a48;
}

h4{
  font-size: clamp(0.95rem, 0.90rem + 0.35vw, 1.10rem);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  color: #1e2a48;
}

p{
  font-size: clamp(0.90rem, 0.86rem + 0.30vw, 1.00rem);
  line-height: 1.6;
}


body,
button,
input,
select,
textarea,
a,
.button,
.btn {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}


/* ===========================================================
   GLOBAL STRONG STYLE
   =========================================================== */

strong, b {
  font-weight: 600;          /* o niečo jemnejšie než default 700 */
  color: #0f2540;            /* modrá podľa brandu INDELEC */
  -webkit-font-smoothing: antialiased;
}

/* === vo zvýraznených sekciách (napr. produktový detail) === */
.product-detail .info-wrap strong,
.product-detail .info-wrap b {
  font-weight: 550;          /* ešte o trochu výraznejšie */
  color: #0f2540;            /* hlbšia modrá, lepší kontrast */
}

/* === na mobiloch – aby text nebol prehnane hrubý === */
@media (max-width: 640px) {
  strong, b {
    font-weight: 550;
  }
}


/* ===========================================================
   RESPONSIVNÍ TYPOGRAFIE (H1–H4, P) + NEWS DETAIL
   =========================================================== */

/* Veľké tablety (napr. iPad Pro v landscape) – zmenši aj pri veľkej šírke */
@media (hover: none) and (pointer: coarse) and (min-width: 1025px) {
  h1 { font-size: 1.80rem; }
  h2 { font-size: 1.48rem; }
  h3 { font-size: 1.20rem; }
  h4 { font-size: 1.05rem; }
  p  { font-size: 0.97rem; line-height: 1.65; }
  .news-detail .content { font-size: 0.97rem; line-height: 1.72; }
}

/* ≤ 1366 px (menšie desktopy / veľké tablety) */
@media (max-width: 1366px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.50rem; }
  h3 { font-size: 1.22rem; }
  h4 { font-size: 1.06rem; }
  p  { font-size: 0.98rem; }
  .news-detail .content { font-size: 0.98rem; line-height: 1.72; }
}

/* ≤ 1024 px (notebooky / klasický tablet) */
@media (max-width: 1024px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.20rem; }
  h4 { font-size: 1.05rem; }
  p  { font-size: 0.95rem; line-height: 1.65; }
  .news-detail .content { font-size: 0.95rem; line-height: 1.75; }
}

/* ≤ 900 px (tablety na výšku) */
@media (max-width: 900px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.40rem; }
  h3 { font-size: 1.18rem; }
  h4 { font-size: 1.02rem; }
  p  { font-size: 0.93rem; line-height: 1.65; }
  .news-detail .content { font-size: 0.93rem; line-height: 1.70; }
}

/* ≤ 768 px (menšie tablety) */
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.16rem; }
  h4 { font-size: 1.00rem; }
  p  { font-size: 0.92rem; }
  .news-detail .content { font-size: 0.92rem; line-height: 1.70; }
}

/* ≤ 640 px (telefóny na šírku) */
@media (max-width: 640px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.10rem; }
  h4 { font-size: 0.98rem; }
  p  { font-size: 0.90rem; line-height: 1.60; }
  .news-detail .content { font-size: 0.90rem; line-height: 1.65; }
}

/* ≤ 420 px (telefóny na výšku) */
@media (max-width: 420px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.20rem; }
  p  { font-size: 0.86rem; line-height: 1.55; }
  .news-detail .content { font-size: 0.86rem; line-height: 1.60; }
}



/* === HERO: .slide h1 – responzívne veľkosti === */

/* Desktop (≥1280px) – základ */
#banner.hero .slide h1 {
  /* môžeš nechať svoj pôvodný 2.6rem, toto je mierne fluidné */
  font-size: clamp(2.1rem, 2.2vw + 1.2rem, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 .5rem;
  max-width: 24ch; /* kratší riadok, lepšia čitateľnosť */
}

/* Menšie desktopy / malé laptopy (≤1200px) */
@media (max-width: 1200px) {
  #banner.hero .slide h1 { font-size: 2.2rem; }
}

/* iPad 11" landscape / tablet landscape (≤1024px) */
@media (max-width: 1024px) {
  #banner.hero .slide h1 { font-size: 2rem; }
}

/* iPad 11" portrait / tablet (≤900px) */
@media (max-width: 900px) {
  #banner.hero .slide h1 { font-size: 1.8rem; }
}

/* Menšie tablety (≤768px) */
@media (max-width: 768px) {
  #banner.hero .slide h1 { font-size: 1.6rem; }
}

/* Telefón na šírku (≤640px) */
@media (max-width: 640px) {
  #banner.hero .slide h1 { font-size: 1.45rem; }
}

/* Telefón na výšku (≤420px) */
@media (max-width: 420px) {
  #banner.hero .slide h1 { font-size: 1.35rem; }
}



/* ===========================================================
   Produkt detail – textový popis (desc)
   =========================================================== */

@media (max-width: 1024px) {
  .product-detail.prevectron .params ul {
    margin: 0.75rem 0 1rem 1.25rem;
    font-size: .95rem !important;
    line-height: 1.7 !important;
    list-style: disc;
  }

  .product-detail.prevectron .params li {
    margin-bottom: 0.35rem;
  }
}

@media (max-width: 640px) {
  .product-detail.prevectron .params ul {
    margin: 0.65rem 0 0.85rem 1.1rem;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }

  .product-detail.prevectron .params li {
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 420px) {
  .product-detail.prevectron .params ul {
    margin: 0.6rem 0 0.8rem 1rem;
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
  }

  .product-detail.prevectron .params li {
    margin-bottom: 0.25rem;
  }
}


/* ===========================================================
   Produkt detail – parametry (Prevectron)
   =========================================================== */
.product-detail.prevectron .params ul {
  list-style: disc;
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;   /* lepší než margin-left pro odrážky */
  font-size: .95rem;
  line-height: 1.7;
}
.product-detail.prevectron .params li { margin-bottom: 0.35rem; }

@media (max-width: 640px) {
  .product-detail.prevectron .params ul {
    margin: 0.65rem 0 0.85rem;
    padding-left: 1.1rem;
    font-size: .9rem;
    line-height: 1.6;
  }
  .product-detail.prevectron .params li { margin-bottom: 0.3rem; }
}

@media (max-width: 420px) {
  .product-detail.prevectron .params ul {
    margin: 0.6rem 0 0.8rem;
    padding-left: 1rem;
    font-size: .85rem;
    line-height: 1.55;
  }
  .product-detail.prevectron .params li { margin-bottom: 0.25rem; }
}

/* ===========================================================
   Produkt detail – textový popis (desc)
   =========================================================== */
@media (max-width: 1024px) {
  .product-detail .info-wrap .desc { font-size: .95rem; line-height: 1.65; }
}
@media (max-width: 640px) {
  .product-detail .info-wrap .desc { font-size: .9rem;  line-height: 1.6; }
}
@media (max-width: 420px) {
  .product-detail .info-wrap .desc { font-size: .85rem; line-height: 1.55; }
}

/* ===========================================================
   Zpět na produkty – velikost písma (jen v produktu)
   =========================================================== */
@media (max-width: 1024px) { .product-detail .btn-back { font-size: .95rem; } }
@media (max-width: 640px)  { .product-detail .btn-back { font-size: .9rem;  } }
@media (max-width: 420px)  { .product-detail .btn-back { font-size: .85rem; } }

/* ===========================================================
   TEXT CONTENT – odstupy a čitelnost (jen když použiješ .text-content)
   =========================================================== */
.text-content p {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  margin-bottom: 1.2rem;
  color: #596682;
}
.text-content p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .text-content p { margin-bottom: 1rem; line-height: 1.6; }
}


/* ===========================================================
   FOOTER – jednotný styl pro desktop, tablet i mobil
   =========================================================== */
#footer {
  background: #fff; /* lepší kontrast než "none" */
  color: #e8e8e8;
  padding: 2.5rem 0;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(0, 48, 108, 0.06);
  font-family: "Poppins", system-ui, sans-serif;
}

#footer .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Odkazy === */
#footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

#footer .footer-links a {
  color: #6c7488;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
  font-size: 0.9rem;
  line-height: 1.5;
}

#footer .footer-links a:hover {
  color: #1639a6;
  text-decoration: underline;
  text-decoration-color: rgba(22, 57, 166, 0.4);
  text-underline-offset: 3px;
}

/* === Social icons === */
#footer .socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

#footer .socials a {
  color: #0b1b3f;
  transition: color 0.25s ease, transform 0.25s ease;
}

#footer .socials a:hover {
  color: #2553e2;
  transform: scale(1.1);
}

#footer .socials svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* === Copyright === */
#footer .copyright {
  font-size: 0.85rem;
  color: #7f8698;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ===========================================================
   TABLET (max 1024px)
   =========================================================== */
@media (max-width: 1024px) {
  #footer {
    padding: 2rem 0;
  }

  #footer .footer-links {
    gap: 0.5rem 1rem;
  }

  #footer .footer-links a {
    font-size: 0.85rem;
  }

  #footer .socials svg {
    width: 22px;
    height: 22px;
  }

  #footer .copyright {
    font-size: 0.8rem;
  }
}

/* ===========================================================
   MOBIL (max 640px)
   =========================================================== */
@media (max-width: 640px) {
  #footer {
    padding: 1.75rem 0;
  }

  #footer .inner {
    padding: 0 0.75rem;
  }

  #footer .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
  }

  #footer .footer-links a {
    font-size: 0.85rem;
  }

  #footer .socials {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  #footer .socials svg {
    width: 20px;
    height: 20px;
  }

  #footer .copyright {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}
 




/* ===========================================================
   NOVINKY (jednotný styl pro stránku i 404)
   =========================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* --- Karta novinky --- */
.news-item {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  border-radius: 4px;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

/* --- Obrázek --- */
.news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

/* --- Textová část --- */
.news-item .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
}

/* Nadpis (funguje pro h2 i h3) */
.news-item h2,
.news-item h3 {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
  color: #0f2540;
  font-weight: 600;
  line-height: 1.35;
}

.news-item h2 a,
.news-item h3 a {
  color: inherit;
  text-decoration: none;
}
.news-item h2 a:hover,
.news-item h3 a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* --- Datum --- */
.news-item time {
  font-size: 0.9rem;
  color: #75829f;
  margin-bottom: 0.6rem;
}

/* --- Perex (krátky popis) --- */
.news-item p {
  margin: 0 0 0.8rem;
  color: #596682;
  line-height: 1.55;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* --- Odkaz „Číst více“ --- */
.news-item .more-link {
  display: inline-block;
  margin-top: auto;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}
.news-item .more-link:hover {
  text-decoration: underline;
}

/* --- Responsivita --- */
@media (max-width: 768px) {
  .news-item img {
    height: 160px;
  }
  .news-item h2,
  .news-item h3 {
    font-size: 1.1rem;
  }
  .news-item p {
    line-height: 1.6;
  }
}

/* --- Stránkovanie --- */
.pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.pagination a {
  padding: .5rem .8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.pagination a.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.pagination a:hover {
  background: #e5e7eb;
}


/* Tablet (landscape) – 3 karty v riadku pre Novinky */
@media (min-width: 1024px) and (max-width: 1366px) {
  .news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(16px, 2vw, 24px);
  }
  .news-grid > * { min-width: 0; } /* zabráni pretečeniu položiek */
}


/* ===========================================================
   NOVINKA – DETAIL STRÁNKY (vyladěno k jednotné typografii)
   =========================================================== */

.news-detail {
  color: #596682;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}

/* --- Hlavička novinky --- */
.news-detail header {
  margin-bottom: 1.5rem;
}

.news-detail header h1 {
  font-weight: 600;
  color: #0f2540;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.news-detail time {
  font-size: 0.9rem;
  color: #aab2c4;
}

/* --- Obrázek --- */
.news-article img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.75rem;
  display: block;
}

/* --- Krátký popis (summary) --- */
.news-detail .summary {
  font-size: 1rem;           /* sjednoceno s globálním rytmem */
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* --- Obsah článku --- */
.news-detail .content {
  line-height: 1.8;
  color: #596682;
	
}

.news-detail .content p {
  margin-bottom: 1.1rem;

}

.news-detail .content h2,
.news-detail .content h3 {
  color: #0f2540;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.news-detail .content h2 { font-size: 1.45rem; }
.news-detail .content h3 { font-size: 1.2rem; }

/* --- Odkaz zpět --- */
.news-detail .backlink {
  margin-top: 2rem;
	   
}
.news-detail .backlink a {
  color: #2553e2;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;

}

.news-detail .backlink a:hover {
  text-decoration: underline;
}



/* ===========================================================
   TABLET (max 1024px)
   =========================================================== */
@media (max-width: 1024px) {
  
  .news-article img {
    height: 400px;
  }
  .news-detail .summary {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .news-detail .content {
    line-height: 1.6;
  }
}

/* ===========================================================
   MOBIL (max 640px)
   =========================================================== */
@media (max-width: 640px) {
 
  .news-detail header h1 {
    line-height: 1.3;
  }

  .news-article img {
    height: 230px;
    border-radius: 6px;
    margin-bottom: 1.25rem;
  }

  .news-detail .summary {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .news-detail .content p{
    line-height: 1.8;
  }

}


/* ===========================================================
   KVALITA A CERTIFIKACE – MODERNÝ BLOK
   =========================================================== */
.certifikace {
  margin-top: 3rem;
}

/* === Desktop (default) === */
.certifikace h2 {
  color: #0f2540;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}



/* === Mobil (do 640px) === */
@media (max-width: 640px) {
  .certifikace h2 {
    margin-bottom: 1rem;
  }
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cert-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s ease;
}

.cert-item:hover {
  background: #f1f5ff;
}

/* === Desktop (default) === */
.cert-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #111827;
}

.cert-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

/* === Tablet (do 1024px) === */
@media (max-width: 1024px) {
  .cert-item h4 {
    font-size: 0.95rem;
  }
  .cert-item p {
    font-size: 0.85rem;
  }
}

/* === Mobil (do 640px) === */
@media (max-width: 640px) {
  .cert-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  .cert-item p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

.btn-download {
  background: #6e7991;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.25s ease;
}

.btn-download:hover {
  background: #2563eb;
}

/* mobil */
@media (max-width: 768px) {
  .cert-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .btn-download {
    align-self: stretch;
    text-align: center;
  }
}

.cert-list { display: none; }
.cert-list.active { display: flex; flex-direction: column; gap: .75rem; }





/* ===========================================================
   PRODUKTOVÉ KARTY – sjednocení vzhledu s novinkami
   =========================================================== */

.product-card {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  border-radius: 4px;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

/* --- Nadpis produktu --- */
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f2540;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

/* --- Popis produktu --- */
.products-grid article .text p {
  font-size: 0.95rem !important;
  color: #596682;
  line-height: 1.55;
  margin: 0 0 0.4rem; /* zmenené z 0.8rem na 0.4rem */
  flex-grow: 1;
}

/* --- Odkaz (sjednocený s novinkami) --- */
.products-grid article .btn-detail {
  display: inline-block;
  margin-top: 0.2rem; /* menšia medzera */
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.products-grid article .btn-detail:hover {
  color: #1d4ed8; /* o trochu tmavšia modrá */
  text-decoration: underline;
}



/* --- Responsivita --- */
@media (max-width: 768px) {
  .product-card h3 {
    font-size: 1.1rem;
	  margin-bottom: 0.4rem; /* bolo väčšie, teraz jemnejšie */
  }
  .product-card p,
  .product-card a.more-link {
    font-size: 0.9rem;
    line-height: 1.5;
  }
	
	
}




	/* ===========================================================
   PREVECTRON DETAIL – GRID LAYOUT (izolovaný)
   =========================================================== */

.product-detail.prevectron {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* --- horná časť (obrázok + text) --- */
.product-detail.prevectron .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail.prevectron .image-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.product-detail.prevectron .info-wrap h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* --- tablet / stredné displeje --- */
@media (max-width: 1024px) {
  .product-detail.prevectron .info-wrap h1 {
    font-size: 2rem;
  }
	
}

/* --- mobil --- */
@media (max-width: 640px) {
  .product-detail.prevectron .info-wrap h1 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1rem;
  }
}

.product-detail.prevectron .info-wrap p {
  margin-bottom: 0.95rem;
  line-height: 1.6;
  color: #596682;
}

.product-detail.prevectron .pdf-links {
  margin-top: 1.5rem;
}

.product-detail.prevectron .pdf-link {
  display: inline-block;
  margin-right: 1.5rem;
  color: #1f3f81;
  font-weight: 500;
  text-decoration: none;
  padding-left: 36px;
  line-height: 27px;
  height: 27px;
  background-image: url("../../images/attachment.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px auto;
}

.pdf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.pdf-link {
  white-space: nowrap;
}




/* ===========================================================
   TABUĽKA PREVECTRON (moderný štýl s modrým zvýraznením)
   =========================================================== */

.product-detail.prevectron .table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

.product-detail.prevectron .table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 15px;
  min-width: 580px;
}

/* hlavička */
.product-detail.prevectron table th {
  background: #848EA5;
  color: #fff;
  padding: 0.9rem 1rem;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.product-detail.prevectron table th:last-child {
  border-right: none;
}

/* bunky */
.product-detail.prevectron table td {
  text-align: center;
  padding: 0.75rem 1rem;
  border: 1px solid #e0e3ea;
  background: #fff;
}

/* zebra efekt */
.product-detail.prevectron table tbody tr:nth-child(even) td {
  background: #f8f9fb;
}

/* prvý stĺpec */
.product-detail.prevectron table tbody td:first-child {
  font-weight: 600;
  background: #f3f6fb;
  border-right: 1px solid #dee3ef;
  position: relative;
}

/* zvýraznený riadok */
.product-detail.prevectron table tbody tr.highlight td:first-child {
  background: #0041cc;
  color: #fff;
  position: relative;
}

/* šípka */
.product-detail.prevectron table tbody tr.highlight td:first-child::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 18px solid #0041cc;
}

.product-detail.prevectron table tbody tr.highlight td {
  background: #f0f5ff;
}

/* responzivita */
@media (max-width: 900px) {
  .product-detail.prevectron .table-wrapper table {
    min-width: 520px;
    font-size: 14px;
  }
  .product-detail.prevectron table th,
  .product-detail.prevectron table td {
    padding: 0.6rem;
  }
}

/* --- mobilné zarovnanie --- */
@media (max-width: 900px) {
  .product-detail.prevectron .top,
  .product-detail.prevectron .bottom {
    grid-template-columns: 1fr;
  }
  .product-detail.prevectron {
    gap: 2rem;
  }
  .product-detail.prevectron .info-wrap h1 {
    text-align: left;
  }
  .product-detail.prevectron .pdf-link {
    display: block;
    margin-bottom: 0.5rem;
  }
}


  .product-detail.prevectron .info-wrap .product-note-soft {
    font-size: .8rem !important;
    margin-top: 0.9rem;
  }


.product-detail.prevectron .params {
  padding-left: 1rem;
  margin-top: 4rem;
}

.product-detail.prevectron .params h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0f2540;
  line-height: 1.3;
}

/* tablet */
@media (max-width: 1024px) {
  .product-detail.prevectron .params h2 {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
  }
}

/* mobil */
@media (max-width: 640px) {
  .product-detail.prevectron .params h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: left;
  }
}

.product-detail.prevectron .params ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
  color: #596682;
  line-height: 1.6;
}

.product-detail.prevectron .params li {
  margin-bottom: 0.3rem;
}

/* === Mobile truncate long product titles === */
@media (max-width: 640px) {
  .products-grid h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;    /* 🔹 maximálne 2 riadky */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    max-height: 2.6em;        /* 🔹 odpovedá 2 riadkom */
  }

}

/* === FIX: Mobile top spacing – PREVECTRON DETAIL (2025-10-28) === */
@media (max-width: 640px) {
  body.produkt-detail .product-detail.prevectron .top {
    margin-top: -1.8rem !important; /* mierny posun hore len pre Prevectron */
  }

  body.produkt-detail .product-detail.prevectron .image-wrap img {
    margin-top: 0 !important;
  }
}


/* ===========================================================
   PRODUKT DETAIL – jednotný štýl (rovnaký ako Prevectron)
   =========================================================== */

.product-detail {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* --- horná časť (obrázok + text) --- */
.product-detail .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail .image-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- text --- */
.product-detail .info-wrap h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #0f2540;
}

/* --- popis produktu (rovnako ako Prevectron detail) --- */
.product-detail .info-wrap .desc {
  color: #596682;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-detail .info-wrap .desc p {
  margin-bottom: 0.95rem;
}

.product-detail .info-wrap .desc h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #0f2540;
  line-height: 1.3;
}

.product-detail .info-wrap h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #0f2540;
  line-height: 1.3;
}

/* --- tablet / stredné displeje --- */
@media (max-width: 1024px) {
  .product-detail .info-wrap h1 {
    font-size: 2rem;
  }
  .product-detail .info-wrap h2 {
    font-size: 1.4rem;
  }
	
	  .product-detail .info-wrap .desc {
    line-height: 1.6;
  }
  .product-detail .info-wrap .desc h2 {
    margin: 1.5rem 0 0.85rem;
  }
}
	


/* --- mobil --- */
@media (max-width: 640px) {
  .product-detail {
    gap: 2rem;
  }
  .product-detail .top {
    grid-template-columns: 1fr;
  }
  .product-detail .image-wrap img {
    max-width: 100%;
  }
  .product-detail .info-wrap h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .product-detail .info-wrap h2 {
    text-align: left;
  }

  .product-detail .pdf-link {
    display: block;
    margin-bottom: 0.5rem;
  }
	
 .product-detail .info-wrap .desc {
    line-height: 1.6;
  }
  .product-detail .info-wrap .desc h2 {
    margin: 1.25rem 0 0.75rem;
    text-align: left;
  }
  .product-detail .info-wrap .desc p {
    margin-bottom: 0.8rem;
  }

}


/* ===========================================================
   PDF odkazy u produktů (univerzální verze)
   =========================================================== */

.pdf-links {
  margin-top: 1rem;
}

.pdf-link {
  display: inline-block;
  margin-right: 1.25rem;
  color: #1f3f81;
  font-weight: 500;
  text-decoration: none;
  padding-left: 34px;
  line-height: 27px;
  height: 27px;
  background-image: url("../../images/attachment.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 21px auto;
  transition: color 0.25s ease, transform 0.1s ease;
}

.pdf-link:hover {
  color: #1f3f81;
  transform: translateY(-1px);
}

/* --- Mobil --- */
@media (max-width: 600px) {
  .pdf-link {
    display: block;
    margin: 0.4rem 0;
    padding-left: 32px;
    font-size: 0.9rem;
  }
}

/* ===========================================================
   TABUĽKA PRODUKTU (rovnaký tieň ako Prevectron)
   =========================================================== */

.table-wrapper {
  display: block;
  margin: 0rem auto;
  width: 100%;
  text-align: center;
  background: #fff; /* 💡 rovnaké ako Prevectron */
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05); /* tieň ako Prevectron */
  overflow-x: auto;
  overflow-y: visible; /* nechaj tieň viditeľný */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Na mobile nič nestrácame */
@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
  }
}

/* === TABUĽKA === */
.product-detail table.alt {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  text-align: center;
  min-width: 580px; /* aby mal obsah priestor */
}

/* --- HLAVIČKA --- */
.product-detail table.alt thead th {
  background: #848EA5;
  color: #fff;
  font-weight: 600;
  padding: 0.9rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.product-detail table.alt thead th:last-child {
  border-right: none;
}

/* --- BUNKY --- */
.product-detail table.alt td {
  padding: 0.8rem;
  border-bottom: 1px solid #e1e5ea;
  border-right: 1px solid #e1e5ea;
  background: #fff;
}
.product-detail table.alt td:last-child {
  border-right: none;
}

/* --- ZEBRA --- */
.product-detail table.alt tbody tr:nth-child(odd) td {
  background: #f7f9fb;
}
.product-detail table.alt tbody tr:nth-child(even) td {
  background: #fff;
}

/* --- Hover efekt --- 
.product-detail table.alt tbody tr:hover td {
  background: none;
}*/

/* --- Prvý stĺpec --- */
.product-detail table.alt tbody td:first-child {
  font-weight: 400 !important;
}

/* --- Responzivita --- */
@media (max-width: 768px) {
  .product-detail table.alt {
    min-width: 480px;
    font-size: 14px;
  }
  .product-detail table.alt th,
  .product-detail table.alt td {
    padding: 0.6rem;
  }
}

/* --- Zebra len pre prvý stĺpec podľa PHP --- */
.product-detail table.alt td.mat-cell.odd {
  background: #f7f9fb !important;
}
.product-detail table.alt td.mat-cell.even {
  background: #fff !important;
}




	
/* === CTA: Přidat do poptávky === */
.product-detail .btn-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2553e2;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing:0.04rem;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-top: 1rem;
  text-decoration: none;
  letter-spacing: 0.3px;
}

/* === CTA: disabled stav === */
.product-detail .btn-add.is-disabled,
.product-detail .btn-add:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}


.product-detail .btn-add:hover {
  background: #1639a6;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.product-detail .btn-add .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}


	
/* --- Extra odsadenie tlačidla na desktop verzii --- */
@media (min-width: 992px) {
  .product-detail .btn-add {
    margin-top: 4.2rem; /* ↑ väčší odstup nad tlačidlom */
  }
}	

@media (max-width: 600px) {
  .product-detail .btn-add {
    width: 100%;
    justify-content: center;
  }
}
	
	
/* --- Info poznámka pod tlačítkem --- */
.product-detail .product-note-soft {
  margin-top: 0.7rem;
  font-size: .8rem;
  color: #6b7280;           /* jemne sivý text */
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.85;
  text-align: left;
}

@media (min-width: 992px) {
  .product-detail .product-note-soft {
    font-size: .8rem;
    margin-top: 0.9rem;
  }
}


/* === FIX: Mobile top spacing – BEŽNÉ PRODUKTY (2025-10-28) === */
@media (max-width: 640px) {
  body.produkt-detail .product-detail:not(.prevectron) .top {
    margin-top: -3rem !important;
  }

  body.produkt-detail .product-detail:not(.prevectron) .image-wrap img {
    margin-top: 0 !important;
  }
}


/* ===========================================================
   404 PAGE – jen horní část (text + tlačítko), nenarušuje novinky
   =========================================================== */

main.page-404 {
  padding: 3rem 0 2rem;
  color: #596682;
  font-family: "Poppins", system-ui, sans-serif;
}

main.page-404 .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
}

/* --- H1: hlavní nadpis --- */
main.page-404 > .inner > h1 {
  color: #0f2540;
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* --- Odstavce pouze přímo v .inner (ne novinky) --- */
main.page-404 > .inner > p {
  line-height: 1.7;
  color: #596682;
  margin-bottom: 1.5rem;
}

/* --- Tlačítko zpět --- */
main.page-404 .btn-back {
  display: inline-block;
  background: #2553e2;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  padding: 0.8rem 1.4rem;
  transition: background 0.25s ease;
}

main.page-404 .btn-back:hover {
  background: #1639a6;
}

/* --- Oddělovač --- */
main.page-404 > .inner > hr {
  margin: 2.5rem 0;
  opacity: 0.15;
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* --- H2: sekce novinek --- */
main.page-404 > .inner > h2 {
  color: #0f2540;
  margin-bottom: 0.75rem;
}

main.page-404 > .inner > p + h2 {
  margin-top: 2.5rem;
}

/* --- Responsivní úpravy --- */
@media (max-width: 768px) {
  main.page-404 {
    padding: 2rem 0 1.5rem;
  }
  
  main.page-404 > .inner > p {
 
    line-height: 1.6;
  }
}


/* ===========================================================
   POPTÁVKA – HLAVIČKA STRÁNKY (back link + nadpis + intro)
   =========================================================== */

/* --- Zpětný odkaz (← Zpět na produkty) --- */
.back-link {
  margin-bottom: 1.25rem;
}

.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.15s ease;
}

.back-link a::before {
  content: "←";
  font-size: 1rem;
  line-height: 1;
  color: #0f2540;
  transition: color 0.25s ease;
}

.back-link a:hover {
  color: #ff7a00;
  transform: translateX(-2px);
}

.back-link a:hover::before {
  color: #ff7a00;
}

/* --- Nadpis --- */
.poptavka-page h1 {
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

/* --- Úvodní text --- */
.poptavka-page .intro {
  line-height: 1.6;
  color: #596682;
  max-width: 680px;
  margin-bottom: 2rem;
}

/* --- Tablet --- */
@media (max-width: 900px) {
  .poptavka-page .intro {
    font-size: .95rem;
    margin-bottom: 1.75rem;
  }
}

/* --- Mobil --- */
@media (max-width: 600px) {
  .back-link {
    margin-bottom: .9rem;
  }

  .poptavka-page .intro {
    font-size: 0.9rem;
    color: #596682;
  }
}

/* ===========================================================
   HLAVNÍ OBAL
   =========================================================== */
.poptavka-page main .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 3rem;
}

/* ===========================================================
   TABULKA PRODUKTŮ
   =========================================================== */
.poptavka-wrap {
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  margin-top: 1.5rem;
}

.poptavka-wrap .poptavka-list table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.poptavka-wrap .poptavka-list th,
.poptavka-wrap .poptavka-list td {
  border-bottom: 1px solid #e3e6eb;
  padding: 10px 12px;
  text-align: left;
}

.poptavka-wrap .poptavka-list th {
  background: #f5f7fa;
  font-weight: 600;
  color: #344763;
}

/* --- Produkt s thumbnailom --- */
.poptavka-list .product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poptavka-list .product-cell .thumb {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #e3e6eb;
}

/* --- Počet kusů s + / - --- */
.poptavka-list td.qty-cell {
  text-align: left;
  vertical-align: middle;
  padding: 10px 12px;
}

.poptavka-list .qty-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.poptavka-list .qty-btn {
  background: #f5f7fa;
  border: 1px solid #cdd3da;
  color: #344763;
  font-size: 18px;
  line-height: 1;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.poptavka-list .qty-btn:hover {
  background: #e66b00;
  border-color: #e66b00;
  color: #fff;
}

.poptavka-list .qty-input {
  width: 48px;
  text-align: center;
  font-weight: 600;
  color: #344763;
  font-size: 15px;
  border: 1px solid #cdd3da;
  border-radius: 4px;
  padding: 5px 0;
  height: 28px;
  -moz-appearance: textfield;
}

.poptavka-list .qty-input::-webkit-outer-spin-button,
.poptavka-list .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- Odebrat – ikonka --- */
.poptavka-list td button.remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #d22;
  transition: color 0.25s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 4px;
}

.poptavka-list td button.remove:hover {
  color: #a00;
  transform: scale(1.1);
  background: rgba(210, 34, 34, 0.08);
}

.poptavka-list td button.remove:active {
  transform: scale(0.95);
}

.poptavka-list td button.remove .icon-trash {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  stroke: currentColor;
  display: block;
}

/* ===========================================================
   FORMULÁŘ
   =========================================================== */
.poptavka-wrap form {
  width: 100%;
  padding: 2rem;
  background: #fff;
  border-top: 0px solid #e3e6eb;
  box-sizing: border-box;

  /* layout poistky proti horizontálnemu pretečeniu */
  max-width: 100%;
  overflow-x: hidden;
}

/* --- labely a pole --- */
.poptavka-wrap form label {
  display: block;
  font-weight: 400;
  color: #344763;
  margin-bottom: 6px;
}

/* len textové polia + textarea (nie checkbox/radio/hidden) */
.poptavka-wrap form input[type="text"],
.poptavka-wrap form input[type="email"],
.poptavka-wrap form input[type="tel"],
.poptavka-wrap form input[type="url"],
.poptavka-wrap form input[type="search"],
.poptavka-wrap form input[type="number"],
.poptavka-wrap form input[type="password"],
.poptavka-wrap form textarea {
  width: 100%;
  border: 2px solid #cdd3da;
  border-radius: 6px;
  padding: 12px 12px;
  font-size: 16px;
  color: #344763;
  margin-bottom: 1rem;
  background-color: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

  /* poistky proti pretečeniu v grid/flex kontejnere */
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .poptavka-wrap form textarea {
    resize: none;
    overflow: hidden;
    min-height: 120px;
    line-height: 1.5;
    transition: height 0.15s ease;
  }
}

/* --- focus (len textové polia + textarea) --- */
.poptavka-wrap form input[type="text"]:focus,
.poptavka-wrap form input[type="email"]:focus,
.poptavka-wrap form input[type="tel"]:focus,
.poptavka-wrap form input[type="url"]:focus,
.poptavka-wrap form input[type="search"]:focus,
.poptavka-wrap form input[type="number"]:focus,
.poptavka-wrap form input[type="password"]:focus,
.poptavka-wrap form textarea:focus {
  border-color: #e66b00;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(230,107,0,0.15);
  outline: none;
}

/* --- dvě pole vedle sebe --- */
.poptavka-wrap form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
/* dôležité: deti sa musia vedieť zúžiť */
.poptavka-wrap form .row > * { min-width: 0; }

/* --- GDPR (beze změny UI) --- */
.poptavka-wrap form .gdpr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  cursor: pointer;
  font-size: .9rem;
  color: #555;
  margin-top: .5rem;
}
.poptavka-wrap form .gdpr input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.poptavka-wrap form .gdpr label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  line-height: 20px;
}
.poptavka-wrap form .gdpr label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #cdd3da;
  border-radius: 4px;
  background: #f8fafc;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.poptavka-wrap form .gdpr label:hover::before { border-color: #e66b00; }
.poptavka-wrap form .gdpr input[type="checkbox"]:checked + label::before {
  background: #e66b00;
  border-color: #e66b00;
  box-shadow: 0 0 0 2px rgba(230,107,0,0.2);
}
.poptavka-wrap form .gdpr input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
@media (pointer: coarse) {
  .poptavka-wrap form .gdpr label { padding-left: 32px; }
  .poptavka-wrap form .gdpr label::before { width: 24px; height: 24px; }
  .poptavka-wrap form .gdpr input[type="checkbox"]:checked + label::after {
    left: 8px; top: 3px; width: 7px; height: 13px;
  }
}
@media (max-width: 600px) {
  .poptavka-wrap form .gdpr input[type="checkbox"] {
    width: 26px; height: 26px; min-width: 22px; min-height: 22px;
  }
}

/* --- Tlačítko (beze změny) --- */
.poptavka-wrap form .btn-main {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: .8rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  letter-spacing:0.04rem;
  font-weight: 500;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.poptavka-wrap form .btn-main:hover {
  background: #f47c1f;
  transform: translateY(-1px);
}
/* ===========================================================
   POTVRZENÍ ODESLÁNÍ
   =========================================================== */
.poptavka-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.poptavka-confirm .icon-wrap {
  display: flex;
  align-items: left;
  justify-content: left;
  margin-bottom: 1rem;
}

.poptavka-confirm .icon-check {
  width: 40px;
  height: 40px;
  stroke: #22c55e;
  stroke-width: 1.8;
  flex-shrink: 0;
}

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.poptavka-confirm h1 {
  color: #1c3559;
  margin-bottom: 0.6rem;
}

.poptavka-confirm .lead {
  color: #596682;
}

.poptavka-confirm .small {
  color: #596682;
  margin-bottom: 2rem;
}

/* --- CTA tlačidlo --- */
.poptavka-btn {
  display: inline-block;
  background: #2553e2;
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .25s ease, transform .15s ease;
}

.poptavka-btn:hover {
  background: #1639a6;
  transform: translateY(-1px);
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

/* --- tablet --- */
@media (max-width: 900px) {
  .poptavka-page main .inner {
    padding: 1.5rem 1rem 3rem;
    max-width: 100%;
  }

  .poptavka-wrap {
    margin-top: 1rem;
  }

  .poptavka-wrap form {
    padding: 1.8rem;
  }

  .poptavka-wrap form label {
    font-size: 0.95rem;
  }

  .poptavka-wrap form input,
  .poptavka-wrap form textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  .poptavka-wrap form .btn-main {
    font-size: 1rem;
    padding: .75rem 1.5rem;
  }

  .poptavka-confirm {
    padding: 3rem 1rem;
  }

  
	
  .poptavka-confirm .icon-check {
    width: 50px;
    height: 50px;
  }
}

/* --- mobil --- */
@media (max-width: 600px) {
  .poptavka-page main .inner {
    padding: 1rem;
  }

  .poptavka-wrap form {
    padding: 1.5rem 1rem;
  }

  .poptavka-wrap form .row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .poptavka-wrap form input,
  .poptavka-wrap form textarea {
    font-size: 1rem;
  }

  .poptavka-wrap form label {
    font-size: 0.9rem;
  }

  .poptavka-wrap form .btn-main {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding: .75rem 1.5rem;
  }

  .poptavka-wrap .poptavka-list th,
  .poptavka-wrap .poptavka-list td {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .poptavka-list .qty-wrapper { gap: 5px; }
  .poptavka-list .qty-btn { width: 26px; height: 26px; font-size: 16px; }
  .poptavka-list .qty-input { width: 42px; font-size: 16px; }

  .poptavka-confirm .confirm-box { padding: 2rem 1rem; }
  .poptavka-confirm .icon-check { width: 44px; height: 44px; }
  .poptavka-btn {
    width: 100%;
    text-align: center;
    padding: .9rem 1.2rem;
    font-size: 1rem;
  }
}

/* --- extra small --- */
@media (max-width: 400px) {
  .poptavka-wrap form {
    padding: 1rem;
  }

  .poptavka-confirm .lead {
    font-size: 0.9rem;
  }

  .poptavka-confirm .icon-check {
    width: 38px;
    height: 38px;
  }
}

/* --- mobilní úprava názvu produktu --- */
@media (max-width: 640px) {
  .poptavka-wrap .poptavka-list td.product-cell .product-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 2.8em;
  }
}

/* ===========================================================
   NAŠE PRÁCE – Projekty / Reference
   =========================================================== */

body.nase-prace main .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* --- Úvodní sekce --- */
body.nase-prace .text-content {
  text-align: left;
  max-width: 900px;
  margin-left: 0;
  margin-right: auto;
  padding: 0;
}

body.nase-prace .page-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--color-heading, #0f2540);
}

body.nase-prace .text-content p {
  max-width: 720px;
  margin: 0 0 2rem;
  color: #596682;
  line-height: 1.55;
}

/* ===========================================================
   TABY (Bytové / Průmyslové / Veřejné)
   =========================================================== */

body.nase-prace .tabs-wrapper {
  margin: 2rem 0 2rem;
  border-bottom: 1px solid #e5e7eb;
}

body.nase-prace .tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.nase-prace .tab {
  background: #f9fafb;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  color: #596682;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all .25s ease;
  border-radius: 0;
}

body.nase-prace .tab:hover {
  color: #2563eb;
  background: rgba(37,99,235,0.08);
}

body.nase-prace .tab.active {
  color: #2563eb;
  background: #eaf0ff;
  border-color: #2563eb;
  font-weight: 600;
}

/* ===========================================================
   GRID GALERIE
   =========================================================== */

body.nase-prace .projekty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

body.nase-prace .projekt {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
  aspect-ratio: 4 / 3;
}

body.nase-prace .projekt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

body.nase-prace .projekt img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}

body.nase-prace .projekt:hover img {
  transform: scale(1.05);
}

body.nase-prace .projekt figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: .5rem .75rem;
  font-size: .9rem;
  text-align: center;
}

/* ===========================================================
   MOBILE – TABY (scrollovateľné + zachovaný dizajn)
   =========================================================== */
@media (max-width: 768px) {
  body.nase-prace .tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #e5e7eb;
    gap: 6px;
   
  }

  body.nase-prace .tabs::-webkit-scrollbar {
    display: none;
  }

  body.nase-prace .tab {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    padding: 12px 16px;
    font-size: 15px;
    background: #f3f4f6;
    color: #596682;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    transition: all .25s ease;
  }

  body.nase-prace .tab.active {
    color: #2563eb;
    background: #eaf0ff;
    border-bottom-color: #2563eb;
    font-weight: 600;
  }

  body.nase-prace .tab:hover {
    color: #2563eb;
  background: rgba(37,99,235,0.08);
  }

  body.nase-prace .projekty-grid {
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
  }
	

  .fancybox__nav {
    display: none !important;
  }
}	
	
/* ===========================================================
   MOBILE (EXTRA SMALL)
   =========================================================== */
@media (max-width: 480px) {
  body.nase-prace .projekty-grid {
    grid-template-columns: repeat(2, 1fr); /* 🔹 vždy 2 obrázky vedľa seba */
    gap: 0.75rem; /* 🔹 menšia medzera, nech to dýcha */
  }

  body.nase-prace .tab {
    font-size: 15px;
    padding: 10px 14px;
  }
}






/* ===========================================================
   STRÁNKA: KONTAKT
   Layout + formulář (shodný UI jako POPTÁVKA)
   =========================================================== */

.kontakt-page main .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* === GRID LAYOUT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}


/* --- Úvodní text (Kontakt) --- */
.kontakt-page .text-content {
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 48, 108, 0.06);
}

@media (max-width: 768px) {
  .intro.desktop { display: none; }
}
@media (min-width: 769px) {
  .intro.mobile { display: none; }
}


/* === LEVÁ ČÁST – informace === */
.contact-info h2,
.contact-info h3 {
  color: #0f2540;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.contact-info h2 {
  font-size: 1.5rem;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.contact-info p {
  margin: 0.35rem 0;
  color: #596682;
  line-height: 1.55;
}

.contact-info a {
  color: #2553e2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #1639a6;
}

/* === Kontaktní tým === */
.contact-team {
  margin-top: 2rem;
}

.person {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 48, 108, 0.06);
}

.person .name {
  font-weight: 550;
  color: #0f2540;
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}


/* === Pozice / role osoby === */
.person .role {
  font-size: 0.95rem;
  color: #596682;
  margin-top: 0.01rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Mobilní jemnější úprava */
@media (max-width: 600px) {
  .person .role {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }
}

/* === FORMULÁŘ (UI z poptávky) === */
.contact-form form {
  background: rgba(245, 247, 250, 0.36);
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 2rem;

  /* FIX – zabrání přetékání formuláře v gride (iPad) */
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-form h2 {
  color: #0f2540;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-form p {
  color: #596682;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.contact-form form label {
  display: block;
  font-weight: 400;
  color: #344763;
  margin-bottom: 6px;
}

/* ⬇️ len textové polia + textarea (checkbox sa NEUPRAVUJE) */
.contact-form form input[type="text"],
.contact-form form input[type="email"],
.contact-form form input[type="tel"],
.contact-form form input[type="url"],
.contact-form form input[type="search"],
.contact-form form input[type="number"],
.contact-form form input[type="password"],
.contact-form form textarea {
  width: 100%;
  border: 2px solid #cdd3da;
  border-radius: 6px;
  padding: 12px 12px;
  font-size: 16px;
  color: #344763;
  margin-bottom: 1rem;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

  /* FIX – nikdy nepretiecť stĺpec gridu */
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-form form input[type="text"]:focus,
.contact-form form input[type="email"]:focus,
.contact-form form input[type="tel"]:focus,
.contact-form form input[type="url"]:focus,
.contact-form form input[type="search"]:focus,
.contact-form form input[type="number"]:focus,
.contact-form form input[type="password"]:focus,
.contact-form form textarea:focus {
  border-color: #2563eb;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 106, 230, 0.2);
  outline: none;
}

/* === GDPR (UI beze změny) === */
.contact-form form .gdpr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  cursor: pointer;
  margin-top: 1.2rem;
}

.contact-form form .gdpr input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-form form .gdpr label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: .9rem;
  user-select: none;
  display: inline-block;
  line-height: 20px;
}

.contact-form form .gdpr label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #cdd3da;
  border-radius: 4px;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.contact-form form .gdpr input[type="checkbox"]:checked + label::before {
  background: #2563eb;;
  border-color: #2563eb;;
  box-shadow: 0 0 0 2px rgba(0, 106, 230, 0.2);
}

.contact-form form .gdpr input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* === TLAČÍTKO (UI beze změny) === */
.contact-form .btn-main {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  letter-spacing:0.04rem;
  font-weight: 500;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.contact-form .btn-main:hover {
  background: #1639a6;
  transform: translateY(-1px);
}

/* 🔒 Mini-fix pre grid (nutné kvôli iPadu, UI to nemení) */
.contact-grid > *,
.contact-form { min-width: 0; }



/* ===========================================================
   RESPONSIVE
   =========================================================== */

/* === TABLET === */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
	  margin-top:0rem;
  }

  .contact-info h2 {
    font-size: 1.35rem;
  }

  .contact-info h3 {
    font-size: 1.15rem;
  }

  
  .contact-form form {
    padding: 1.8rem;
  }

  .contact-form form label {
    font-size: 0.95rem;
  }

  .contact-form form input,
  .contact-form form textarea {
    font-size: 15px;
  }
}

/* === MOBIL === */
@media (max-width: 600px) {
  .kontakt-page .page-title {
    margin-bottom: 1rem;
  }

  .contact-info h2 {
    font-size: 1.25rem;
  }

  .contact-info h3 {
    font-size: 1.1rem;
  }

  .person .name {
    font-size: 1rem;
  }

  .person a {
    font-size: 0.95rem;
  }

  .contact-form form {
    padding: 1.5rem 1rem;
  }

  .contact-form .btn-main {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}


/* === Skrytí formuláře na mobile a portrait tabletu === */
@media (max-width: 900px) and (orientation: portrait) {
  .contact-form {
    display: none !important;
  }
}




/* ===========================================================
   PAGE: O NÁS – čistý minimalistický firemní styl (2025)
   =========================================================== */

.about-page main {
  background: #fff;
  color: #121832;
}

/* --- layout fix na rovnakú šírku ako ostatné stránky --- */
.about-page .inner {
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}


/* === HERO === */
.about-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-hero .text {
  flex: 1 1 480px;
}

.about-hero h1 {
  margin-bottom: 1rem;
}

.about-hero p {
  color: #3b4860;
  line-height: 1.6;
}

.about-hero .text p {
  color: #596682;
  margin-bottom: 1.75rem; /* väčší odstup medzi odstavcami */
}

.about-hero .image {
  flex: 1 1 360px;
}

.about-hero .image img {
  width: 100%;
  border-radius: 6px;
  display: block;
  object-fit: cover;
}


/* ===========================================================
   TYPOGRAPHY TUNING – tablet + mobil (sjednoceno s ostatními stránkami)
   =========================================================== */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
 
  

  .about-stats .stat span {
    font-size: 2.7rem;
  }
}

/* --- Mobil (≤640px) --- */
@media (max-width: 640px) {
 
  
  .about-stats .stat span {
    font-size: 2.3rem;
  }

  
}


/* ===========================================================
   ABOUT – Hero (čistý textový blok)
   =========================================================== */


.about-hero p {
  color: #3b4860;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}


/* ===========================================================
   Statistiky / Fakta (3 sloupce s horním i spodním dividerem)
   =========================================================== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 5rem 0 4rem;
  border-top: 1px solid #e0e4eb;
  border-bottom: 1px solid #e0e4eb; /* nový spodný divider */
  padding: 3rem 0;
  text-align: center;
}

.about-stats .stat p {
  font-size: .95rem;
  color: #596682;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.about-stats .stat span {
  display: block;
  font-size: 3.6rem;
  font-weight: 500;
  color: #2553E2;
  letter-spacing: -0.02em;
}

/* === MOBILE === */
@media (max-width: 768px) {
	.about-hero {
margin-bottom: 2rem;
}

	
  .about-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .about-stats .stat span {
    font-size: 2.8rem;
  }
}


/* ===========================================================
   Mise a filozofie (2-sloupcové rozložení 50/50)
   =========================================================== */
.about-mission {
  margin: 8rem 0;

}

.about-mission .text {
  display: grid;
  grid-template-columns: 1fr 1fr; /* rovnaká šírka stĺpcov */
  align-items: start;
  gap: 2.5rem;
}

.about-mission h2 {
  margin: 0;
  line-height: 1.3;
}

.about-mission p {
  color: #596682;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* === MOBILE (1 column) === */
@media (max-width: 768px) {
  .about-mission {
    margin: 4rem 0 0rem;
  }

	
	.about-stats{
margin: 0rem;
}	
	
  .about-mission .text {
    grid-template-columns: 1fr; /* pod sebou */
    gap: 1.2rem;
  }

  
	.about-mission p {
  color: #596682;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

}



/* ===========================================================
   CTA pod sekcí "Společně jsme silní"
   =========================================================== */
.about-cta {
  margin: 4rem 0 2rem;
  text-align: center;
}

.about-cta .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.about-cta .btn-main {
  background: #2553E2;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s ease;
}

.about-cta .btn-main:hover {
  background: #1a3dbd;
}

.about-cta .cta-call {
  color: #121832;
  font-size: 1rem;
}

.about-cta .cta-call a {
  color: #2553E2;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 640px) {
  .about-cta .btn-main {
    width: 100%;
  }
	
.about-cta	{
  margin: 2rem 0 2rem;
  text-align: center;
}
	
  .about-cta .cta-call {
    font-size: 0.95rem;
  }
}




/* ===========================================================
   SLUŽBY – Hero (čistý textový blok)
   =========================================================== */

.services-hero p {
  color: #596682;
  line-height: 1.6;
  margin-bottom: 1.25rem;;
}


/* ===========================================================
   SLUŽBY – Poselství jednatele (vzhled jako .about-stats)
   =========================================================== */
.services-message {
  display: block;
  margin: 5rem 0 4rem;
  border-top: 1px solid #e0e4eb;
  border-bottom: 1px solid #e0e4eb;
  padding: 3rem 0;
  text-align: center;
  background: #fff; /* čisté, bez podkladu */
}

.services-message blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #0f2540;
  font-weight: 500;
}

.services-message footer {
  margin-top: 1rem;
  font-size: 1rem;
  color: #596682;
  font-style: italic;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .services-message {
    margin: 4rem 0 3rem;
    padding: 2.5rem 0;
    text-align: left;
  }
	
	.services-hero p {
  line-height: 1.6;
}


  .services-message blockquote {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .services-message footer {
    margin-top: 0.75rem;
    font-size: 0.95rem;
  }
}

/* ===========================================================
   SLUŽBY – GRID (3 karty, ikonka nahoře, vše zarovnané vlevo)
   =========================================================== */

.services-grid {
  margin: 8rem 0;
}

.services-grid h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #0f2540;
  line-height: 1.3;
}

/* === GRID === */
.services-grid .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 místo 3 → 2 */
  gap: 2rem;
}

/* 🔥 třetí karta přes celou šířku */
.services-grid .grid article.wide {
  grid-column: 1 / -1;
}


/* === Karta === */
.services-grid article {
  background: #fff;
  border: 1px solid #e0e4eb;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left; /* všetko zarovnanie vľavo */
}

.services-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* === Ikonka === */
.services-grid .icon {
  margin-bottom: 1.25rem;
}

.services-grid .icon img {
  width: 82px;
  height: 82px;
  display: block;
}

/* === Nadpis + text === */
.services-grid h3 {
  margin: 0 0 0.75rem;
  color: #0f2540;
  line-height: 1.3;
}

.services-grid p {
  color: #596682;
  line-height: 1.6;

  margin: 0;
}


.service-list {
  margin-top: 10px;
  padding-left: 18px;
}

.service-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* === Responsivita === */
@media (max-width: 1024px) {
  .services-grid .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid .grid {
    grid-template-columns: 1fr;
  }
	
	.services-grid {
  margin: 4rem 0 2rem;
}

  .services-grid article {
    padding: 2rem 1.25rem;
  }

  .services-grid h2 {
  
    text-align: left;
    margin-bottom: 2rem;
  }


}



/* ===========================================================
   CTA – Spodní výzva (stejná jako na O nás)
   =========================================================== */

.services-cta {
  margin: 4rem 0 2rem;
  text-align: center;
}

.services-cta .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.services-cta .btn-main {
  background: #2553E2;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing:0.04rem;
  text-decoration: none;
  transition: background 0.25s ease;
}

.services-cta .btn-main:hover {
  background: #1a3dbd;
}

.services-cta .cta-call {
  color: #121832;
  font-size: 1rem;
}

.services-cta .cta-call a {
  color: #2553E2;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 640px) {
  .services-cta .btn-main {
    width: 100%;
  }
  .services-cta .cta-call {
    font-size: 0.95rem;
  }
}




/* ===========================================================
   KLASICKÉ HROMOSVODY – HERO (textový blok)
   =========================================================== */

.klasicke-page .about-hero {
  margin-bottom: 5rem;
}

.klasicke-page .about-hero p {
  line-height: 1.6;
  margin-bottom: 1.25rem;
}


/* ===========================================================
   PRINCIPY – Obrázek vlevo + text vpravo (50/50 layout)
   =========================================================== */

.klasicke-page .about-principles {
  margin: 6rem 0 2rem;
}


.klasicke-page .about-principles .grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.klasicke-page .about-principles .text {
  display: flex;
  flex-direction: column; /* zaručí, že h2 bude vždy nad p */
  justify-content: flex-start;
}

.klasicke-page .about-principles .image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.klasicke-page .about-principles .text {
  color: #596682;
}

.klasicke-page .about-principles .text h2 {
  margin-bottom: 1rem;
  color: #0f2540;
  line-height: 1.3;
}

.klasicke-page .about-principles .text p {
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* === TABLET === */
@media (max-width: 1024px) {
  .klasicke-page .about-principles .grid-two {
    gap: 2rem;
  }
	
}
	
@media (max-width: 1024px) and (orientation: portrait) {
  .klasicke-page .about-principles .grid-two {
    grid-template-columns: 1fr; /* jeden stĺpec */
  }

  .klasicke-page .about-principles .image {
    order: -1; /* obrázok hore */
  }
}


/* === MOBILE (stacked layout) === */
@media (max-width: 768px) {
	
	.klasicke-page .about-hero {
  margin-bottom: 2rem;
}
	
  .klasicke-page .about-principles {
    margin: 3rem 0 2rem;
  }
	
  .klasicke-page .about-principles .grid-two {
    grid-template-columns: 1fr;
	  
  }

  /* obrázok hore, text pod ním */
  .klasicke-page .about-principles .image {
    order: -1;
  }
}




/* ===========================================================
   CTA – Kontaktujte nás (rovnaký štýl ako o nás)
   =========================================================== */

.klasicke-page .about-cta {
  margin: 4rem 0 2rem;
  text-align: center;
}

.klasicke-page .about-cta .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.klasicke-page .about-cta .btn-main {
  background: #2553E2;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.25s ease;
}

.klasicke-page .about-cta .btn-main:hover {
  background: #1a3dbd;
}

.klasicke-page .about-cta .cta-call {
  color: #121832;
  font-size: 1rem;	
}

.klasicke-page .about-cta .cta-call a {
  color: #2553E2;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 640px) {
  .klasicke-page .about-cta .btn-main {
    width: 100%;
	  
  }
	
	.klasicke-page .about-cta {
margin-top: 0rem;
}

  .klasicke-page .about-cta .cta-call {
    font-size: 0.95rem;
  }
}



