*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(60px); /* Prvok je posunutý dole */
  filter: blur(10px);          /* Prvok je rozmazaný */
  transition: all 0.8s ease-out; /* Plynulý prechod trvajúci 0.8s */
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);    /* Vráti sa na miesto */
  filter: blur(0);             /* Zaostrí sa */
}

.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }


/* ---- NAV ---- */
.nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 32px;
  padding-top: 32px;
  color: #fff;
  position: sticky;
  z-index: 100;
  top: 0;
  background-color: #0d1117;
  box-sizing: border-box;
  box-shadow: 0 4px 6px #0d11177e;

  transition: top 0.4s ease-in-out;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  transition: 0.3s;
  padding: 0;
  margin: 0;
  align-items: center; 
}

.nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex; 
  align-items: center; 
  gap: 8px;
}

.nav a:hover {
  color: #ffffff;
}

.nav a img {
  height: 20px;
  width: auto;
  display: block;
}

a.nav-partner { color: #63b3ed; }
a.nav-partner:hover { color: #90cdf4; }
a.nav-katalog { color: #F77D41; }
a.nav-katalog:hover { color: #f69e72; }

/* MENU IKONA - DIZAJN */
.menu {
  display: none; 
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu.active span:nth-child(2) { opacity: 0; }
.menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* MOBILNÉ ROZHRANIE */
@media (max-width: 768px) {
  .nav {
    display: flex;
    justify-content: end;
    padding: 20px;
    width: 100%;
  }
  
  .menu {
    display: flex;
  }
  
  .nav ul {
    position: fixed; 
    top: 0; 
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #0d1117;
    flex-direction: column; 
    justify-content: center;
    padding-top: 0;
    gap: 40px;
    z-index: 90;
    
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  
  .nav ul.active {
    transform: translateX(0);
  }
}

/* ====== HERO OBSAH ====== */
#hero {
  background: #0d1117;
  color: #fff;
  padding: 0 64px 0 64px;
  border-radius: 0 0 16px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 700px;
}

.hero p{
  width: 700px;
}


.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  height: 80vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 140px;
  height: 100%;
}

.hero-text h1 {
  font-size: 64px; 
  margin-bottom: 1rem;
  line-height: 1;
}

.hero-text h1 span {
  color: #ffffff;
  font-weight: 600;
}

.hero-text p {
  color: #bbb;
  margin-bottom: 2rem;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.hero-img img {
  max-height: 450px;
  width: 100%;
  height: 100%;
  min-width: 350px;
}

.hero-img {
  width: fit-content;
  height: fit-content;
}

/* ====== BUTTONS ====== */
.btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: 0.2s;
  text-align: center;
  border-radius: 100px;
}

.btn.primary {
  background: #00aaff;
  color: #fff;
  font-weight: 400;
}

.btn.primary:hover {
  background: #0088cc;
}

.btn.secondary {
  color: #494949;
  background: #ECF8FD;
  font-weight: 300;
}

.btn.secondary:hover {
  background: rgb(255, 255, 255);
  color: #494949;
}

/* --- ZÁKLADNÝ ŠTÝL HAMBURGERA (Pre desktop skrytý) --- */

/* ====== MEDIA QUERIES (UPRAVENÉ PRE HAMBURGER) ====== */

@media (max-width: 1140px) {
  
  #hero{
    padding-top: 24px;
    padding-bottom: 32px;
    height: fit-content;
  }

  .hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    width: 100%;
    height: fit-content;
  }

  .hero-img img {
    width: 100px;
  }

  .hero-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .hero-text h1{
    font-size: 48px;
  }

  .hero-text {
    flex-direction: column;
    align-items: start;
    gap: 24px;
    height: 100%;
    padding-bottom: 24px;
  }

  .hero-buttons{
    width: 100%;
    justify-content: center;
  }

  .btn.primary{
    width: 100%;
  }

  .btn.secondary{
    width: 100%;
  }

}

@media (max-width: 768px) {
  #hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    border-radius: 0 0 16px 16px;
    height: fit-content;
      padding: 0 8px 0 8px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-bottom: 16px;
  }
  
  .hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    width: 100%;
    height: fit-content;
  }

  .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;

    gap: 16px;
    height: 100%;
  }

  .hero-text h1 {
    font-size: 36px; 
    margin-bottom: 1rem;
    line-height: 1;
  }

  .hero-text p {
    color: #bbb;
    font-size: 16px;
    width: 100%;
  }

  .hero-img img {
    padding: 24px;
  }


  .btn.primary {
    background: #00aaff;
    color: #fff;
    font-weight: 400;
    width: 100%;
  }
  
  .btn.secondary {
    width: 100%;
    background-color: transparent;
    color: rgb(204, 204, 204);
  }

  .btn.secondary:hover{
    background-color: transparent;
    color: #ffffff;
    text-decoration: underline;
  }
}

/* ====== FEATURES ====== */

#features {
  max-width: 1280px;
  margin: 64px auto 80px;
  padding: 0 40px 0 40px;
  width: 100%;
  color: #333;
}

.features-header {
  text-align: center;
  margin-bottom: 50px;
}

.features-header .eyebrow {
  font-size: 18px;
  font-weight: 600;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.features-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin: 8px;
}

.features-header .subtitle {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}


.features-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
}


.features-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-image img {
  max-width: 730px;
  min-width: 400px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.features-column {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 40px;
  height: 100%;
  width: 700px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 330px;
}


.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: #e6f7ff; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 55%; 
  height: 55%;
  object-fit: contain;
}


.feature-text h4 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0 0 5px 0;
}

.feature-text p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1;
}

@media (max-width: 1100px) {
  .features-body {
    flex-direction: column;
    width: 100%;
  }

  .features-header h2 {
  font-size: 40px
}

  .features-column{
    flex-direction: row;
    flex-wrap: wrap;
  }

  .features-image {
  display: flex;
  justify-content: center;
  align-items: center;
  }

  .features-image img {
    max-width: 550px;
    min-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  #features{
    padding: 0 16px 0 16px
  }

  .features-body {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .features-header h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
  }

  .feature-item{
    padding-bottom: 16px;
    gap: 12px;
    border-bottom: 1px solid #e0e0e0
  }

  .feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 5px 0;
  }

  .features-image {
  display: flex;
  justify-content: center;
  align-items: center;
  }

  .features-image img {
    max-width: 550px;
    min-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .features-column .feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}



/* ====== ABOUT US ====== */

#about-us {
  display: none;
  
  
  max-width: 1280px;
  margin: 72px auto 72px;
  padding: 0 40px 0 40px;
  width: 100%;
}

.about-us-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 50px;
}

.about-content{
  width: 55%;
  display: flex;
}

.about-us-content .about-us-eyebrow {
  font-size: 18px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-us-content h2 {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin: 10px 0 25px 0;
  line-height: 1.1;
}

.about-us-cta-buttons {
  display: flex;
  align-items: center;
  gap: 25px;
}

.about-us-guarantee{
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-direction: column;
  text-align: right;
  height: 100%;
  width: 40%;
}

.about-us-guarantee p {
  font-size: 20px;
  color: #555;
  line-height: 1.5;
  margin-top: 0;
  font-weight: 500;
  min-width: 400px;
}

.about-us-guarantee .about-us-badge {
  max-width: 150px;
  margin-top: 20px;
  opacity: 0.8;
}

.about-us-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.about-us-gallery-item {
  background-color: #f2f8fb;
  border-radius: 20px; 
  padding: 10px; 
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.about-us-gallery-item img {
  width: 100%;
  display: block;
  border-radius: 15px; 
  aspect-ratio: 16 / 9; 
  object-fit: cover; 
  height: 300px;
}

@media (max-width: 992px) {
  #about-us {
    padding: 0 20px 0 20px;
  }

  .about-us-intro {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 30px;
  }

  .about-us-content {
    width: 100%;
  }

  .about-us-guarantee {
    width: 100%;
    text-align: left;
    align-items: flex-start;
    padding-top: 0;
    gap: 40px;
    flex-direction: row;
    align-items: start;
  }

  .about-us-guarantee p {
    max-width: 700px;
    font-size: 18px;
  }

  .about-us-guarantee .about-us-badge {
    margin-top: 15px;
    align-self: flex-start;
  }

  .about-us-content h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
  }

  .about-us-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .about-us-gallery-item img {
     height: 200px;
  }
}

@media (max-width: 676px) {
  .about-us-cta-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .about-us-content h2 {
    font-size: 36px;
  }

  .about-us-guarantee{
    flex-direction: column;
    gap: 8px;
  }

  .btn.btn-primary,
  .btn.btn-link {
    width: 100%;
    text-align: center;
  }

  .link-btn {
    justify-content: center;
  }

  .about-us-gallery {
    grid-template-columns: 1fr;
  }

  .about-us-gallery-item img {
     height: 250px;
  }
}

.btn {
text-decoration: none;
  font-weight: 400;
  border-radius: 50px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  width: 250px;
}

.btn-primary {
  background-color: #009de0;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #007bb5;
}

.link-btn{
  display: flex;
  justify-content: center;
  align-items: center;
}
.link-btn img{
  height: fit-content;
}

.btn-link {
  color: #1B1B1B;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}
.btn-link:hover {
  color: #3b4a59;
  text-decoration: underline;
}

/* ====== DETAILS ====== */

#details {
  max-width: 1280px;
  margin: 40px auto;

  color: #1a1a1a;
}

.details-header {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow-text {
  font-size: 18px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.details-header h2 {
  font-size: 48px;
  color: #111;
  margin: 10px 0;
}

.specs-table-card {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  font-family: sans-serif;
  font-size: 15px;
}

.specs-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.2fr 1.5fr; 
  align-items: center;
  padding: 18px 30px;
}

.specs-row.header {
  background-color: #f1f3f5; 
  font-weight: 700;
  color: #444;
  border-bottom: 1px solid #e5e7eb;
}

.specs-row:nth-child(even) {
  background-color: #fcfcfd; 
}

.specs-row:nth-child(odd):not(.header) {
  background-color: #ffffff;
}

.col-label {
  font-weight: 700;
  color: #111;
}

.col-value {
  font-weight: 400;
  color: #333;
}

/* --- RESPONZIVITA (MOBIL) --- */
@media (max-width: 900px) {
  
  .details-header h2{
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
  }

  .specs-row {
    grid-template-columns: 1fr 1fr; 
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    column-gap: 15px;
  }
  
  .desktop-only {
    display: none;
  }

  .specs-row > div:nth-child(3) {
    grid-column: 1; 
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #eee; 
  }
  
  .specs-row > div:nth-child(4) {
    grid-column: 2; 
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #eee;
  }
  
  .specs-row.header {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
  }
  
  .specs-row.header > div:nth-child(3),
  .specs-row.header > div:nth-child(4) {
    display: none; 
  }
}


/* ====== CHLADIVO ====== */

#r290-section-bg {
  width: 100%;
  background-color: #ffffff; /* Farba je teraz tu */
  display: flex;
  padding-bottom: 50px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.r290-container {
  max-width: 1280px;
  margin: 0 auto; /* Toto centruje obsah */
  color: #333;
}

.r290-container h3 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 40px;
  line-height: 1.4;
  color: #222;
  text-align: center;
}

.r290-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.r290-right h3{
  margin-bottom: 16px;
  font-size: 26px;
}

@media (min-width: 768px) {
  .r290-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .r290-section-bg {
    margin-left: 8px;
    margin-right: 8px;
  }



}

.r290-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.r290-icon {
  background-color: rgb(231, 246, 255);
  border-radius: 50%;
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #8fbcd4;
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.r290-icon img{
  width: 40px;
}

.r290-text h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 600;
}

.r290-text p {
    margin: 0;
    font-size: 16px;
    color: #555;
    line-height: 1.4;
}

.r290-list {
  padding-left: 20px;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.6;
}

.r290-list li {
  font-weight: 500;
}

.r290-bubbles {
    display: flex;
    gap: 15px;
}

.r290-bubble {
    background: linear-gradient(135deg, #0099cc, #0077aa);
    color: rgb(255, 255, 255);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,136,204,0.3);
}

.r290-bubble .temp {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.r290-bubble .desc {
    font-size: 0.75rem;
    margin-top: 5px;
    line-height: 1.2;
}

/* ====== NOISE ====== */

.whisper-quiet-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 400; /* Svetlejšie ako tučné */
    margin-bottom: 30px;
    color: #000;
}

.text-content p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Štýly pre graf - tu je kľúčové použitie Flexboxu */
.noise-comparison-chart {
    display: flex;
    align-items: flex-end; /* Zarovná stĺpce na spodok */
    gap: 15px; /* Priestor medzi stĺpcami */
    padding-top: 50px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ccc; /* Spodná čiara grafu */
    min-height: 250px; /* Minimálna výška pre graf */
    margin-bottom: 20px;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1; /* Umožní stĺpcom zväčšiť sa, aby vyplnili priestor */
    max-width: 100px; /* Maximálna šírka, aby neboli príliš široké */
    position: relative; /* Pre pozicionovanie štítkov */
}

/* Samotné stĺpce */
.chart-bar {
    width: 100%;
    min-width: 30px; /* Minimálna šírka pre užšie zobrazenia */
    background-color: #e0f2f7; /* Svetlomodrá farba pre štandardné stĺpce */
    border-radius: 5px 5px 0 0;
    transition: height 0.5s ease-out; /* Plynulý prechod pri načítaní/zmene */
}

:root {
    --max-db: 140; /* Maximálna hodnota, ktorá definuje 100% výšky */
    --max-chart-height: 250px; /* Maximálna výška stĺpca v px */
}

.falling-leaves { height: calc(20 / var(--max-db) * var(--max-chart-height)); }
.whisper { height: calc(30 / var(--max-db) * var(--max-chart-height)); }
.daikin-whisper { height: calc(34 / var(--max-db) * var(--max-chart-height)); }
.fridge { height: calc(40 / var(--max-db) * var(--max-chart-height)); }
.daikin-normal { height: calc(47 / var(--max-db) * var(--max-chart-height)); }
.rain { height: calc(50 / var(--max-db) * var(--max-chart-height)); }
.discussion { height: calc(60 / var(--max-db) * var(--max-chart-height)); }
.trumpet { height: calc(100 / var(--max-db) * var(--max-chart-height)); }
.fireworks { height: calc(140 / var(--max-db) * var(--max-chart-height)); }


.highlighted .chart-bar {
  background-color: #0076a3; /* Tmavomodrá farba pre Daikin */
  color: #fff;
}

.highlighted .db-label {
  color: #0076a3; /* Modrý text pre dB label */
  font-weight: 700;
}


/* Štítok s hodnotou dB */
.db-label {
    position: absolute;
    top: -30px; /* Presun nad stĺpec */
    font-size: 0.9em;
    font-weight: 600;
    white-space: nowrap; /* Zabráni zalomeniu riadku */
}

/* Popis pod stĺpcom */
.bar-description {
    margin-top: 5px;
    font-size: 0.8em;
    line-height: 1.2;
    color: #666;
}

.bar-description strong {
  font-weight: 700;
  color: #333;
}

/* Štýly pre poznámky pod čiarou */
.notes {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-top: 30px;
  font-size: 0.8em;
  color: #666;
}

.notes .note {
    margin: 5px 0;
}

.note-ref {
    font-size: 0.7em;
    vertical-align: super;
}


@media (max-width: 768px) {
  .section-title {
      font-size: 2em; /* Zmenšenie nadpisu */
  }

  /* 2. Zmena grafu z riadku na stĺpec */
  .noise-comparison-chart {
      flex-direction: column; /* Zmena na vertikálne usporiadanie */
      align-items: flex-start; /* Zarovnáme položky na ľavú stranu */
      border-bottom: none; /* Odstránime spodnú čiaru grafu */
      padding-top: 20px;
      min-height: auto;
  }

  /* Každá položka grafu bude riadok */
  .chart-item {
      width: 100%; /* Zaberie celú šírku mobilu */
      max-width: 100%;
      flex-direction: row; /* Obsah vnútri položky bude opäť horizontálny */
      align-items: center; /* Zarovnáme na stred vertikálne */
      justify-content: space-between; /* Roztiahne obsah */
      padding: 10px 0;
      border-bottom: 1px dashed #eee; /* Oddeľovač medzi riadkami */
      gap: 10px;
  }
  
  .chart-item:last-child {
      border-bottom: none;
  }

  /* 3. Prehodenie poradia a štýlov pre vertikálny stĺpcový graf */

  /* dB štítok sa presunie vedľa popisu */
  .db-label {
      position: static; /* Odstránime absolútne pozicovanie */
      order: 2; /* Umiestni label hneď vedľa stĺpca */
      font-size: 0.9em;
      min-width: 50px;
      text-align: right;
  }
  
  .bar-description {
      order: 1; /* Umiestni popis naľavo */
      text-align: left;
      flex-basis: 35%; /* Dáme mu pevnejší priestor */
      margin-top: 0;
  }

  /* Samotný stĺpec (teraz v podstate horizontálny stĺpec/meter) */
  .chart-bar {
      height: 15px; /* Pevná výška pre horizontálny stĺpec */
      width: auto !important; /* Resetujeme pôvodnú pevnú šírku z desktopu */
      order: 3; /* Umiestnime ho doprava */
      flex-grow: 1; /* Necháme ho rásť, aby vyplnil priestor */
      margin-right: 10px;
  }

  /* Nastavenie ŠÍRKY pre mobilné zobrazenie (použitie calc() ako predtým) */
  :root {
    --max-chart-width-mobile: 60%; /* Maximálna šírka pre stĺpec v mobile */
  }

  .falling-leaves { width: calc(20 / var(--max-db) * var(--max-chart-width-mobile)); }
  .whisper { width: calc(30 / var(--max-db) * var(--max-chart-width-mobile)); }
  .daikin-whisper { width: calc(34 / var(--max-db) * var(--max-chart-width-mobile)); }
  .fridge { width: calc(40 / var(--max-db) * var(--max-chart-width-mobile)); }
  .daikin-normal { width: calc(47 / var(--max-db) * var(--max-chart-width-mobile)); }
  .rain { width: calc(50 / var(--max-db) * var(--max-chart-width-mobile)); }
  .discussion { width: calc(60 / var(--max-db) * var(--max-chart-width-mobile)); }
  .trumpet { width: calc(100 / var(--max-db) * var(--max-chart-width-mobile)); }
  .fireworks { width: calc(140 / var(--max-db) * var(--max-chart-width-mobile)); }

  
  .highlighted .db-label {
    color: #0076a3;
    font-weight: 700;
  }
}



/* ====== PRODUCT ====== */

#product {
  max-width: 1280px;
  margin: 60px auto;
  padding: 20px;
}

.benefits-header {
  text-align: center;
  margin-bottom: 40px;
}

.eyebrow-text {
  font-size: 18px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefits-header h2 {
  font-size: 48px;
  color: #111;
  margin: 10px 0;
}

.benefits-description {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.benefit-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: #ffffff;
  min-height: 350px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

#benefit-card-1 {
  background-image: url('obr/product/karta1.png');
}
#benefit-card-2 {
  background-image: url('obr/product/karta2.png');
}
#benefit-card-3 {
  background-image: url('obr/product/karta4.png');
}
#benefit-card-4 {
  background-image: url('obr/product/karta3.png');
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, 
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.85) 100%
  );
}

.benefit-card-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  z-index: 2;
  opacity: 0.9;
}

.benefit-card-content {
  position: relative;
  z-index: 2;
}

.benefit-card-content h3 {
  font-size: 24px;
  margin: 0 0 10px 0;
}

.benefit-card-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

@media (width: 1100px){
  .benefits-header h2{
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-header h2 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
  }

  .benefit-card{
    padding: 16px;
  }

  .benefit-card-content h3 {
    font-size: 20px;
    margin: 0 0 4px 0;
  }

  .benefit-card-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ====== PUMPS ====== */

#pumps {
  max-width: 1280px;
  margin: 60px auto;
  padding: 20px;
}

.pumps-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.pumps-title-block h2 {
  font-size: 48px;
  color: #111;
  margin: 0;
  line-height: 1.2;
  max-width: 600px;
}

.pumps-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 8px;
}

.pumps-link:hover {
  color: #000;
}

.pumps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}


.pump-card-image-wrapper {
  background-color: #eaf8ff;
  border-radius: 20px;
  margin-bottom: 20px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; 
  overflow: hidden; 
}

.pump-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease; 
}

.pump-hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain; /* Uistíme sa, že obrázok sa správne zmestí */
  background-repeat: no-repeat;
  background-position: center;
  /* Pôvodne je neviditeľný */
  opacity: 0; 
  /* Pridáme plynulý prechod pre prekrytie */
  transition: opacity 0.3s ease;
  z-index: 2; /* Zabezpečí, že prekrytie bude nad pôvodným obrázkom */
}

.pump1-hover {
  background-image: url('obr/systems/1.png');
}

.pump2-hover {
  background-image: url('obr/systems/2.png');
}

.pump3-hover {
  background-image: url('obr/systems/3.png');
}

.pump-card:hover .pump-hover-image {
  opacity: 1;
  background-color: white;

}

.pump-card:hover .pump-card-image-wrapper img {
  opacity: 0; 
}

.pump-card-content h3 {
  font-size: 20px;
  color: #111;
  margin: 0 0 10px 0;
}

.pump-card-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1100px) {
  .pumps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pumps-title-block h2 {
    font-size: 40px;
  }

}

@media (max-width: 768px) {
  .pumps-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .pumps-grid {
    grid-template-columns: 1fr;
  }
  
  .pump-card-image-wrapper {
    height: 320px;
  }

  .pumps-title-block h2 {
    font-size: 32px;
  }
}



/* ====== CONTACT ====== */

#contact {
  max-width: 1280px;
  margin: 60px auto;
  padding: 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 48px;
  color: #111;
  margin: 10px 0;
}

.contact-body {
  display: grid;
  grid-template-columns: 55% 45%;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 14px 30px;
  background-color: #009de0;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #007bb5;
}

.btn-submit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.contact-info-wrapper {
  padding: 24px;
  color: #fff;
  width: 100%;
}

.contact-info-wrapper h3 {
  font-size: 28px;
  margin: 0 0 15px 0;
}

.contact-info-wrapper > p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-link {
    text-decoration: none; 
    color: inherit;
    display: block;
}

.contact-link:hover .contact-info-item {
    background-color: #545454;
    cursor: pointer;
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon img {
  width: 24px;
  height: 24px;
}

#icon-telefon { background-color: #FFDEC0; }
#icon-sidlo { background-color: #C5EAFA; }
#icon-hodiny { background-color: #D0C5FA; }
#icon-email { background-color: #C5FAD9; }

.contact-info-text strong {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 2px;
}

.contact-info-text span {
  font-size: 14px;
  color: #ccc;
  line-height: 1;
}


.contact-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-wrapper {
    display: inline-block !important;
    text-decoration: none !important;
    height: auto;
}

.contact-logo {
    display: block !important;
    width: 100% !important;
    max-width: 180px !important;
    height: auto !important;
  
    border: none !important;
}

.contact-logo {
  max-width: 120px;
  filter: brightness(0) invert(1);
  cursor: pointer;
}

.contact-footer p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}


@media (max-width: 1220px) {
  .contact-body {
    grid-template-columns: 2fr;
  }
  
  .contact-form-wrapper {
    clip-path: none;
    border-radius: 20px 20px 0 0;
  }
  
  .contact-info-wrapper {
    border-radius: 0 0 20px 20px;
  }

}

@media (max-width: 1100px) {
  .contact-header h2 {
    font-size: 40px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-body {
    grid-template-columns: 2fr;
  }
  
  .contact-form-wrapper {
    clip-path: none;
    border-radius: 20px 20px 0 0;
  }
  
  .contact-info-wrapper {
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 768px) {
  
  #contact{
    margin: 0;
    padding: 0;
  }

  .contact-body{
    border-radius: 20px 20px 0 0;
  }

  .contact-form-wrapper{
    border-radius: 0;
    padding: 24px;
    
  }

  .contact-info-wrapper{
    border-radius: 0;
    padding: 24px;
    
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-header h2 {
    font-size: 32px;
    line-height: 1.4;
  }
  
  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info-item{
    width: 100%;
  }

  .contact-info-grid{
    gap: 16px;
    width: 100%;
  }

  .contact-footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .contact-logo{
    margin: 0px auto 16px;
  }
}

.gdpr-text{
  padding-bottom: 40px;
}
.gdpr-text p{
  font-size: 0.8rem;
}



/* Základné nastavenie lišty */

/* --- KARTA --- */
.cookie-card {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-family: Arial, sans-serif;
    z-index: 9999;
    
    /* Animácia: začíname neviditeľní */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

/* Trieda pre zobrazenie (JS) */
.cookie-card.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* --- TEXT A IKONY --- */
.cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-icon {
    font-size: 24px;
}

.cookie-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.cookie-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* --- TLAČIDLÁ (Nové classy) --- */
.c-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s, transform 0.1s;
}

.c-btn:active {
    transform: scale(0.98);
}

/* Tlačidlo Odmietnuť */
.c-btn-decline {
    background-color: #f0f0f0;
    color: #333;
}
.c-btn-decline:hover {
    background-color: #e0e0e0;
}

/* Tlačidlo Prijať */
.c-btn-accept {
    background-color: #007bff;
    color: white;
}
.c-btn-accept:hover {
    background-color: #0056b3;
}

/* Mobilná verzia */
@media (max-width: 480px) {
    .cookie-card {
        width: auto;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}


/* ====== FOOTER ====== */
footer {
  text-align: center;
  padding: 1rem;
  background: #0d1117;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}