/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2d2d2d;
  background: #fff;
}

/* === VARIABLES === */
:root {
  --blue:       #2B7ECA;
  --blue-dark:  #1A5C9A;
  --blue-light: #EBF3FB;
  --blue-mid:   #5B9FD8;
  --text:       #2D2D2D;
  --text-muted: #666;
  --bg-light:   #F4F8FD;
  --border:     #DCE8F5;
  --shadow:     0 2px 14px rgba(43,126,202,0.11);
  --shadow-lg:  0 6px 28px rgba(43,126,202,0.20);
  --radius:     8px;
  --max:        1160px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER === */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img { height: 50px; width: auto; }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav a:hover, nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--text);
  transition: all .3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    display: none;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
  nav a {
    display: block;
    padding: .85rem 1.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: .92rem;
  }
  nav a:hover, nav a.active {
    border-left-color: var(--blue);
    background: var(--blue-light);
  }
}

/* === SECTION BASE === */
section { padding: 5rem 0; }
section:first-of-type { padding-top: 0; }

.section-alt { background: var(--bg-light); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  margin-bottom: .75rem;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 55px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: .6rem auto 0;
}
.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* === HERO === */
#domov {
  padding-top: 70px;
  background: linear-gradient(135deg, #12437A 0%, #1B6BB5 55%, #3A8FD8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-text { color: #fff; }
.hero-text h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.hero-text h1 span { color: #87C7F5; }
.hero-text p {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-white {
  background: #fff;
  color: var(--blue-dark);
}
.btn-white:hover {
  background: #EEF5FD;
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  display: block;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-box {
  width: 320px;
  height: 320px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-box svg {
  width: 180px;
  height: 180px;
  opacity: .55;
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  #domov { min-height: auto; }
}

/* === FEATURES STRIP === */
.features-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--blue); }
.feature-item h4 { font-size: .95rem; margin-bottom: .25rem; }
.feature-item p { font-size: .83rem; color: var(--text-muted); margin: 0; }

@media (max-width: 768px) {
  .features-row { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { border-top: 1px solid var(--border); }
  .feature-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
@media (max-width: 480px) {
  .features-row { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; border-top: 1px solid var(--border); }
  .feature-item:first-child { border-top: none; }
}

/* === PRODUCTS === */
#vyroba { background: var(--bg-light); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.product-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--blue-light), #d4e8f7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-thumb::before {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(43,126,202,.08);
}
.product-thumb svg { width: 68px; height: 68px; fill: var(--blue); opacity: .55; }
.product-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 { margin-bottom: .5rem; }
.product-body p { font-size: .9rem; color: var(--text-muted); flex: 1; }
.product-tag {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  background: var(--blue-light);
  padding: .25rem .7rem;
  border-radius: 20px;
  margin-bottom: .6rem;
}

.cta-strip {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
  color: #fff;
}
.cta-strip h3 { color: #fff; margin-bottom: .75rem; }
.cta-strip p { opacity: .88; margin-bottom: 1.5rem; }

/* === EKOLOGIE === */
#ekologie { background: #fff; }
.ekologie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .ekologie-grid { grid-template-columns: 1fr; gap: 2rem; } }

.text-content h3 {
  color: var(--blue-dark);
  margin: 1.75rem 0 .6rem;
}
.text-content h3:first-child { margin-top: 0; }
.text-content p { color: var(--text-muted); }
.text-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.text-content ul li {
  margin-bottom: .4rem;
  color: var(--text-muted);
}

.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.info-box h4 { color: var(--blue-dark); margin-bottom: .4rem; }
.info-box p { margin: 0; font-size: .9rem; color: var(--text-muted); }

.recycle-visual {
  background: linear-gradient(135deg, var(--blue-light), #d0e8f7);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  position: sticky;
  top: 90px;
}
.recycle-visual svg { width: 100px; height: 100px; fill: var(--blue); opacity: .5; margin-bottom: 1.5rem; }
.recycle-visual h4 { color: var(--blue-dark); margin-bottom: .5rem; }
.recycle-visual p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* === O NÁS === */
#o-nas { background: var(--bg-light); }
.o-nas-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .o-nas-grid { grid-template-columns: 1fr; gap: 2rem; } }

.company-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.value-card .icon {
  width: 38px; height: 38px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}
.value-card .icon svg { width: 18px; height: 18px; fill: var(--blue); }
.value-card h4 { font-size: .9rem; margin-bottom: .3rem; }
.value-card p { font-size: .82rem; color: var(--text-muted); margin: 0; }

.company-aside {
  position: sticky;
  top: 90px;
}
.aside-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.aside-box h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.aside-box p { font-size: .9rem; margin-bottom: .35rem; }
.aside-box p:last-child { margin: 0; }
.aside-box strong { color: var(--text); }

/* === KONTAKT === */
#kontakt { background: #fff; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-block h3 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-item .ci-icon {
  width: 42px; height: 42px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 18px; height: 18px; fill: var(--blue); }
.contact-item h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.contact-item p { margin: 0; font-size: .95rem; }

.address-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}
.tab-btn {
  padding: .4rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.map-wrap iframe {
  width: 100%;
  height: 280px;
  display: block;
  border: none;
}

/* === FORM === */
.contact-form { }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .35rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .93rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,126,202,.14);
}
.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .75rem;
}

/* === FOOTER === */
#footer {
  background: #0F2340;
  color: #B8CCDE;
}
.footer-top {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }

.footer-logo-img {
  height: 44px;
  margin-bottom: .75rem;
}
.footer-desc {
  font-size: .87rem;
  opacity: .7;
  margin-bottom: 1.25rem;
}
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { color: #8AAFC8; font-size: .88rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { font-size: .87rem; color: #8AAFC8; margin-bottom: .35rem; }

.social-row {
  display: flex;
  gap: .65rem;
  margin-top: 1rem;
}
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.social-link:hover { background: var(--blue); }
.social-link svg { width: 16px; height: 16px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}

/* === PROČ VÝROBCE — B2B TRUST SECTION === */
#proc-vyrobce {
  background: #0F2340;
  padding: 4rem 0;
  color: #fff;
}
#proc-vyrobce .section-header h2 { color: #fff; }
#proc-vyrobce .section-header h2::after { background: #5B9FD8; }
#proc-vyrobce .section-header p { color: rgba(255,255,255,.6); }

.vyrobce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.vyrobce-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s;
}
.vyrobce-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(91,159,216,.5);
}
.vyrobce-card .vc-icon {
  width: 48px; height: 48px;
  background: rgba(43,126,202,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.vyrobce-card .vc-icon svg { width: 24px; height: 24px; fill: #5B9FD8; }
.vyrobce-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.vyrobce-card p { color: rgba(255,255,255,.6); font-size: .88rem; margin: 0; }
.vyrobce-card .vc-highlight {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #5B9FD8;
  margin-bottom: .3rem;
  line-height: 1;
}

/* === SPEC ROW na product cards === */
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .75rem 0 .5rem;
}
.spec-tag {
  font-size: .73rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--blue-light);
  border: 1px solid var(--border);
  padding: .2rem .6rem;
  border-radius: 4px;
  letter-spacing: .02em;
}

/* === PHONE CTA === */
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-top: 1.25rem;
  transition: color .2s;
}
.hero-phone:hover { color: #fff; }
.hero-phone svg { width: 16px; height: 16px; fill: currentColor; }

/* === TRUST BAR (footer) === */
.trust-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.trust-item svg { width: 16px; height: 16px; fill: #5B9FD8; flex-shrink: 0; }
.trust-item strong { color: rgba(255,255,255,.8); }

/* === FLOATING PHONE BUTTON (mobile) === */
.float-phone {
  display: none;
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  background: #25d366;
  border-radius: 50%;
  width: 52px; height: 52px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  z-index: 100;
  transition: transform .2s;
}
.float-phone:hover { transform: scale(1.08); }
.float-phone svg { width: 24px; height: 24px; fill: #fff; }
@media (max-width: 768px) { .float-phone { display: flex; } }

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(43,126,202,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 100;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 18px; height: 18px; fill: #fff; }
