/* IKG Polska – nowy design | zielono-biała paleta */

/* ================================================================
   RESET STARYCH STYLI SZABLONU RD-NAVBAR
   style-1.css + script.js dodają rd-navbar-fixed-linked → padding-top: 56px na .page
================================================================ */
html .page,
html.rd-navbar-fixed-linked .page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body { margin: 0; padding: 0; }

/* Wyrównanie do lewej w megamenu i dropdownie */
.ikg-megamenu,
.ikg-megamenu .row,
.ikg-megamenu [class*="col-"],
.ikg-megamenu *,
.ikg-dropdown,
.ikg-dropdown * {
  text-align: left !important;
}

/* Wyrównanie do lewej w stopce */
.ikg-footer [class*="col-"],
.ikg-footer [class*="col-"] * {
  text-align: left;
}

/* ================================================================
   HERO
================================================================ */
.ikg-hero {
  position: relative;
  min-height: 88vh;
  background: url('../images/mining/slide-1-1920x753.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
}
.ikg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,30,12,.82) 0%, rgba(10,30,12,.55) 55%, rgba(10,30,12,.30) 100%);
}
.ikg-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}
@media (max-width: 991px) {
  .ikg-hero { min-height: 75vh; }
  .ikg-hero-inner { grid-template-columns: 1fr; padding: 3rem 0; }
  .ikg-hero-features { display: none; }
}
@media (max-width: 575px) {
  .ikg-hero { min-height: 92vh; }
}

.ikg-hero-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ikg-green-accent);
  margin-bottom: 1rem;
}
.ikg-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.ikg-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.80);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
}
.ikg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.ikg-btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.65);
}
.ikg-btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

/* Hero features panel */
.ikg-hero-features {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}
.ikg-hero-feat-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  line-height: 1.35;
}
.ikg-hero-feat-item:last-child { border-bottom: none; }
.ikg-hero-feat-item .mdi {
  font-size: 1.4rem;
  color: var(--ikg-green-accent);
  flex-shrink: 0;
  width: 1.6rem;
  text-align: center;
}
.ikg-hero-feat-item strong { color: #fff; }

/* ================================================================
   STATS BAR
================================================================ */
.ikg-stats {
  background: var(--ikg-green);
  padding: 1.6rem 0;
}
.ikg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 767px) { .ikg-stats-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem 0; } }
@media (max-width: 399px) { .ikg-stats-grid { grid-template-columns: 1fr 1fr; } }
.ikg-stat-item {
  text-align: center;
  padding: .5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.18);
}
.ikg-stat-item:last-child { border-right: none; }
.ikg-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.ikg-stat-label {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.70);
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ================================================================
   ABOUT / REASONS (4 cards)
================================================================ */
.ikg-reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .ikg-reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .ikg-reasons-grid { grid-template-columns: 1fr; } }
.ikg-reason-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-top: 3px solid var(--ikg-green-border);
  transition: border-color var(--ikg-trans), box-shadow var(--ikg-trans), transform var(--ikg-trans);
}
.ikg-reason-card:hover {
  border-top-color: var(--ikg-green);
  box-shadow: 0 6px 24px rgba(46,125,50,.14);
  transform: translateY(-3px);
}
.ikg-reason-icon {
  width: 52px;
  height: 52px;
  background: var(--ikg-green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--ikg-green);
  margin-bottom: 1.1rem;
}
.ikg-reason-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ikg-text);
  margin-bottom: .5rem;
}
.ikg-reason-card p {
  font-size: .875rem;
  color: var(--ikg-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ================================================================
   CTA SECTION
================================================================ */
.ikg-cta {
  background: url('../images/bg-cta.jpg') center center / cover no-repeat;
  position: relative;
}
.ikg-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,30,12,.78) 0%, rgba(10,30,12,.55) 100%);
}
.ikg-cta-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 991px) { .ikg-cta-inner { grid-template-columns: 1fr; gap: 2rem; } }
.ikg-cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 2rem;
}
@media (max-width: 575px) { .ikg-cta-features { grid-template-columns: 1fr; } }
.ikg-cta-feat {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.ikg-cta-feat::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ikg-green-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.ikg-cta-box {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  color: #fff;
  text-align: center;
}
.ikg-cta-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.ikg-cta-box p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; font-size: .95rem; }
.ikg-cta-phone {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.ikg-cta-phone:hover { color: var(--ikg-green-accent); }

/* ================================================================
   DEVICES GRID
================================================================ */
.ikg-devices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 1199px) { .ikg-devices-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  { .ikg-devices-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 479px)  { .ikg-devices-grid { grid-template-columns: repeat(2, 1fr); } }
.ikg-device-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  background: var(--ikg-green-light);
}
.ikg-device-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.ikg-device-card:hover img { transform: scale(1.07); }
.ikg-device-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,30,12,.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
}
.ikg-device-card:hover .ikg-device-overlay { opacity: 1; }
.ikg-device-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .75rem .85rem .6rem;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  transform: translateY(4px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  line-height: 1.3;
}
.ikg-device-card:hover .ikg-device-name { opacity: 1; transform: translateY(0); }

/* ================================================================
   TEAM CARDS
================================================================ */
.ikg-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) { .ikg-team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }
.ikg-team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  text-align: center;
  transition: box-shadow var(--ikg-trans), transform var(--ikg-trans);
}
.ikg-team-card:hover {
  box-shadow: 0 8px 28px rgba(46,125,50,.15);
  transform: translateY(-3px);
}
.ikg-team-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  display: block;
}
.ikg-team-body {
  padding: 1.25rem 1rem 1.5rem;
  border-top: 3px solid var(--ikg-green);
}
.ikg-team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ikg-text);
  margin-bottom: .25rem;
}
.ikg-team-role {
  font-size: .82rem;
  color: var(--ikg-text-muted);
  line-height: 1.4;
}

/* ================================================================
   KNOWLEDGE BASE
================================================================ */
.ikg-knowledge-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) { .ikg-knowledge-list { grid-template-columns: 1fr; } }
.ikg-knowledge-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  text-decoration: none;
  color: var(--ikg-text);
  border-left: 3px solid var(--ikg-green-border);
  transition: border-color var(--ikg-trans), box-shadow var(--ikg-trans), transform var(--ikg-trans);
}
.ikg-knowledge-item:hover {
  border-left-color: var(--ikg-green);
  box-shadow: 0 4px 16px rgba(46,125,50,.12);
  color: var(--ikg-text);
  transform: translateX(3px);
}
.ikg-knowledge-icon {
  color: var(--ikg-green);
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.ikg-knowledge-title {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ================================================================
   FLOATING PDF BUTTON
================================================================ */
#floatingButton {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 1035;
  display: flex !important;
  align-items: center;
  gap: .5rem;
  background: var(--ikg-green);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: .7rem 1.4rem;
  font-size: .88rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(46,125,50,.35);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ikg-trans), transform var(--ikg-trans);
}
#floatingButton:hover {
  background: var(--ikg-green-dark);
  transform: translateY(-2px);
  color: #fff;
}

:root {
  --ikg-green:        #2e7d32;
  --ikg-green-dark:   #1b5e20;
  --ikg-green-hover:  #388e3c;
  --ikg-green-light:  #e8f5e9;
  --ikg-green-border: #c8e6c9;
  --ikg-green-accent: #4caf50;
  --ikg-text:         #1c2b1e;
  --ikg-text-muted:   #5a6e5c;
  --ikg-white:        #ffffff;
  --ikg-gray-bg:      #f7faf7;
  --ikg-shadow:       0 2px 12px rgba(46,125,50,.10);
  --ikg-nav-h:        68px;
  --ikg-trans:        .2s ease;
}

/* ================================================================
   TOPBAR
================================================================ */
.ikg-topbar {
  background: var(--ikg-green);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  padding: 5px 0;
  line-height: 1.4;
}
.ikg-topbar a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
}
.ikg-topbar a:hover { color: #fff; text-decoration: underline; }

/* ================================================================
   NAVBAR
================================================================ */
.ikg-navbar {
  background: #fff;
  border-bottom: 3px solid var(--ikg-green);
  box-shadow: var(--ikg-shadow);
  height: var(--ikg-nav-h);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow var(--ikg-trans);
}
.ikg-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(46,125,50,.18);
}
.ikg-navbar .container-xl {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}

/* Brand */
.ikg-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.ikg-brand img {
  height: 46px;
  width: auto;
}

/* Nav list */
.ikg-nav-collapse {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.ikg-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.ikg-nav-item {
  position: relative;
}
.ikg-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: var(--ikg-nav-h);
  color: var(--ikg-text);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ikg-trans);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.ikg-nav-link:hover,
.ikg-nav-item:hover > .ikg-nav-link {
  color: var(--ikg-green);
  border-bottom-color: var(--ikg-green);
}
.ikg-nav-link .ikg-arrow {
  font-size: .65rem;
  opacity: .6;
  transition: transform var(--ikg-trans);
}
.ikg-nav-item:hover > .ikg-nav-link .ikg-arrow {
  transform: rotate(180deg);
}

/* CTA link */
.ikg-nav-link.ikg-btn-contact {
  background: var(--ikg-green);
  color: #fff;
  border-radius: 4px;
  padding: 0 18px;
  height: 38px;
  margin-left: 8px;
  margin-bottom: 0;
  border-bottom: none;
}
.ikg-nav-link.ikg-btn-contact:hover {
  background: var(--ikg-green-dark);
  color: #fff;
  border-bottom: none;
}

/* ================================================================
   MEGAMENU
================================================================ */
.ikg-has-mega { position: static; }

.ikg-megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 3px solid var(--ikg-green);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 1.75rem 0 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--ikg-trans), transform var(--ikg-trans), visibility var(--ikg-trans);
  z-index: 1050;
}
.ikg-has-mega:hover .ikg-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ikg-mega-col-title {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ikg-green);
  margin-bottom: .65rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--ikg-green-border);
  text-decoration: none;
}
.ikg-mega-col-title:hover { color: var(--ikg-green-dark); }

.ikg-mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ikg-mega-list li + li { margin-top: 1px; }
.ikg-mega-list a {
  display: block;
  padding: 5px 8px 5px 0;
  font-size: .875rem;
  color: var(--ikg-text);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 8px;
  transition: border-color var(--ikg-trans), color var(--ikg-trans), padding-left var(--ikg-trans);
}
.ikg-mega-list a:hover {
  color: var(--ikg-green);
  border-left-color: var(--ikg-green-accent);
  padding-left: 14px;
}

.ikg-mega-divider {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ikg-green-border);
}

/* ================================================================
   DROPDOWN (simple)
================================================================ */
.ikg-has-drop .ikg-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-top: 3px solid var(--ikg-green);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  list-style: none;
  padding: .5rem 0;
  margin: 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--ikg-trans), transform var(--ikg-trans), visibility var(--ikg-trans);
  z-index: 1050;
}
.ikg-has-drop:hover .ikg-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ikg-dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: .9rem;
  color: var(--ikg-text);
  text-decoration: none;
  transition: background var(--ikg-trans), color var(--ikg-trans);
}
.ikg-dropdown li a:hover {
  background: var(--ikg-green-light);
  color: var(--ikg-green);
}

/* ================================================================
   HAMBURGER
================================================================ */
.ikg-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.ikg-hamburger span {
  display: block;
  height: 2px;
  background: var(--ikg-green);
  border-radius: 2px;
  transition: transform var(--ikg-trans), opacity var(--ikg-trans);
}
.ikg-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ikg-hamburger.open span:nth-child(2) { opacity: 0; }
.ikg-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   MOBILE NAV  (max 991px)
================================================================ */
@media (max-width: 991px) {
  .ikg-hamburger { display: flex; }

  .ikg-nav-collapse {
    position: fixed;
    top: var(--ikg-nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 1039;
    padding: 1rem 0 2rem;
    box-shadow: none;
  }
  .ikg-nav-collapse.open {
    transform: translateX(0);
    box-shadow: -4px 0 20px rgba(0,0,0,.12);
  }

  .ikg-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .ikg-nav-item { border-bottom: 1px solid var(--ikg-green-border); }
  .ikg-nav-link {
    height: auto;
    padding: 14px 20px;
    border-bottom: none;
    margin-bottom: 0;
    font-size: 1rem;
    justify-content: space-between;
  }
  .ikg-nav-link.ikg-btn-contact {
    margin: 1rem 20px 0;
    height: auto;
    padding: 12px 18px;
    text-align: center;
    justify-content: center;
    border-radius: 4px;
  }

  /* Mobile megamenu / dropdown accordion */
  .ikg-megamenu,
  .ikg-has-drop .ikg-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--ikg-green-border);
    margin-left: 20px;
    padding: .5rem 0 .75rem 1rem;
    display: none;
  }
  .ikg-megamenu.mob-open,
  .ikg-has-drop .ikg-dropdown.mob-open {
    display: block;
  }
  .ikg-megamenu .row { flex-direction: column; gap: 0; }
  .ikg-megamenu [class*="col-"] { padding: .5rem 0; border-bottom: 1px solid var(--ikg-green-border); }
  .ikg-megamenu [class*="col-"]:last-child { border-bottom: none; }
  .ikg-mega-col-title { font-size: .8rem; }

  .ikg-dropdown li a { padding: 8px 12px; }
  .ikg-has-drop .ikg-dropdown { padding: .25rem 0 .5rem; }
}

/* ================================================================
   FOOTER
================================================================ */
.ikg-footer {
  background: var(--ikg-green-dark);
  color: rgba(255,255,255,.85);
}
.ikg-footer-main {
  padding: 3rem 0 2rem;
}
.ikg-footer-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.1rem;
}
.ikg-footer a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
}
.ikg-footer a:hover { color: #fff; text-decoration: underline; }

.ikg-footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: .85; }
.ikg-footer-desc {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  margin-top: .75rem;
}

.ikg-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: .875rem;
}
.ikg-footer-contact-item .mdi {
  color: var(--ikg-green-accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.ikg-footer-links { list-style: none; padding: 0; margin: 0; }
.ikg-footer-links li + li { margin-top: 6px; }
.ikg-footer-links a { font-size: .875rem; }

.ikg-footer-bottom {
  background: rgba(0,0,0,.25);
  padding: .9rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.ikg-footer-bottom a { color: rgba(255,255,255,.55); }
.ikg-footer-bottom a:hover { color: #fff; }

/* ================================================================
   BUTTONS (override)
================================================================ */
.ikg-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.6rem;
  background: var(--ikg-green);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ikg-trans), transform var(--ikg-trans), box-shadow var(--ikg-trans);
  line-height: 1;
}
.ikg-btn:hover {
  background: var(--ikg-green-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(46,125,50,.3);
  transform: translateY(-1px);
}
.ikg-btn-outline {
  background: transparent;
  color: var(--ikg-green);
  border: 2px solid var(--ikg-green);
}
.ikg-btn-outline:hover {
  background: var(--ikg-green);
  color: #fff;
}
.ikg-btn-lg {
  padding: .9rem 2rem;
  font-size: 1rem;
}

/* ================================================================
   SECTION HEADINGS
================================================================ */
.ikg-section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ikg-green);
  margin-bottom: .5rem;
}
.ikg-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ikg-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media (max-width: 767px) { .ikg-section-title { font-size: 1.5rem; } }

/* ================================================================
   NEWS CARDS (aktualności)
================================================================ */
.ikg-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 991px) { .ikg-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .ikg-news-grid { grid-template-columns: 1fr; } }

.ikg-news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ikg-trans), transform var(--ikg-trans);
}
.ikg-news-card:hover {
  box-shadow: 0 8px 28px rgba(46,125,50,.15);
  transform: translateY(-3px);
}
.ikg-news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ikg-green-light);
}
.ikg-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ikg-news-card:hover .ikg-news-card-img img { transform: scale(1.04); }

.ikg-news-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ikg-news-card-meta {
  font-size: .78rem;
  color: var(--ikg-text-muted);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ikg-news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ikg-text);
  margin-bottom: .5rem;
  line-height: 1.35;
  text-decoration: none;
  display: block;
}
.ikg-news-card-title:hover { color: var(--ikg-green); }
.ikg-news-card-excerpt {
  font-size: .875rem;
  color: var(--ikg-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.ikg-news-card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ikg-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
}
.ikg-news-card-link:hover { color: var(--ikg-green-dark); gap: .5rem; }

/* Featured card (first article) */
.ikg-news-card.featured {
  grid-column: span 3;
  flex-direction: row;
}
.ikg-news-card.featured .ikg-news-card-img {
  width: 48%;
  flex-shrink: 0;
  aspect-ratio: auto;
  min-height: 240px;
}
.ikg-news-card.featured .ikg-news-card-title { font-size: 1.3rem; }
@media (max-width: 767px) {
  .ikg-news-card.featured { flex-direction: column; grid-column: span 1; }
  .ikg-news-card.featured .ikg-news-card-img { width: 100%; min-height: 200px; }
}
@media (max-width: 991px) {
  .ikg-news-card.featured { grid-column: span 2; }
}
@media (max-width: 575px) {
  .ikg-news-card.featured { grid-column: span 1; }
}

/* ================================================================
   ARTICLE / POST PAGE – dwukolumnowy layout
================================================================ */

/* Dwukolumnowy grid: treść (lewo) + galeria (prawo) */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 1199px) { .art-layout { grid-template-columns: 1fr 340px; gap: 2.5rem; } }
@media (max-width: 991px)  {
  .art-layout { grid-template-columns: 1fr; gap: 0; }
  .art-gallery-col { order: -1; margin-bottom: 2rem; }
}

/* Sticky galeria na desktop */
.art-gallery-col { position: sticky; top: calc(var(--ikg-nav-h) + 1rem); }
@media (max-width: 991px) { .art-gallery-col { position: static; } }

/* Meta */
.ikg-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  font-size: .82rem;
  color: var(--ikg-text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--ikg-green-border);
}
.ikg-post-meta span { display: flex; align-items: center; gap: .3rem; }

/* Tytuł */
.ikg-post-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--ikg-text);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* Treść – justowanie */
.ikg-post-body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ikg-text);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  text-align-last: left;
}
.ikg-post-body p { margin-bottom: 1.25rem; }
.ikg-post-body p:last-child { margin-bottom: 0; }
.ikg-post-body strong { font-weight: 700; color: var(--ikg-text); }
.ikg-post-body h2 { font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 .6rem; color: var(--ikg-green); text-align: left; }
.ikg-post-body h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 .5rem; text-align: left; }
.ikg-post-body ul, .ikg-post-body ol { padding-left: 1.4em; margin-bottom: 1.25rem; text-align: left; }
.ikg-post-body li { margin-bottom: .35rem; }
.ikg-post-body blockquote {
  border-left: 3px solid var(--ikg-green);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--ikg-green-light);
  border-radius: 0 6px 6px 0;
  text-align: left;
}

/* ================================================================
   KARUZELA ZDJĘĆ
================================================================ */
.arc-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}

/* Główne zdjęcie */
.arc-stage {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: zoom-in;
}
.arc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.arc-slide.active { opacity: 1; }
.arc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Strzałki */
.arc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,.52);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ikg-trans);
  line-height: 1;
}
.arc-btn:hover { background: rgba(46,125,50,.85); }
.arc-prev { left: 10px; }
.arc-next { right: 10px; }

/* Licznik */
.arc-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .75rem;
  padding: .2rem .55rem;
  border-radius: 20px;
  z-index: 2;
}

/* Miniatury */
.arc-thumbs {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 6px;
  background: #1a1a1a;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ikg-green) #333;
  line-height: 0;
  font-size: 0;
}

/* wrapper div – eliminuje problemy z vertical-align na img */
.arc-thumb-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: .55;
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: opacity .2s, border-color .2s;
}
.arc-thumb-wrap.active {
  opacity: 1;
  border-color: var(--ikg-green-accent);
}
.arc-thumb-wrap:hover { opacity: .85; }
.arc-thumb-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  vertical-align: top;
}

/* Dots (gdy brak miniatur dla 1 zdjęcia) */
.arc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
  background: #1a1a1a;
}
.arc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.arc-dot.active { background: var(--ikg-green-accent); }

/* ================================================================
   LIGHTBOX
================================================================ */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  display: block;
}
.lb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.lb-nav:hover { background: rgba(46,125,50,.7); }
.lb-nav-prev { left: 16px; }
.lb-nav-next { right: 16px; }
.lb-counter {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  z-index: 9001;
  background: rgba(0,0,0,.4);
  padding: .25rem .8rem;
  border-radius: 20px;
}

/* ================================================================
   SERVICE CARDS  (Wynajem / Sprzedaż / Serwis)
================================================================ */
.ikg-service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  border-top: 4px solid var(--ikg-green);
  transition: box-shadow var(--ikg-trans), transform var(--ikg-trans);
}
.ikg-service-card:hover {
  box-shadow: 0 8px 24px rgba(46,125,50,.15);
  transform: translateY(-3px);
}
.ikg-service-icon {
  font-size: 2.5rem;
  color: var(--ikg-green);
  margin-bottom: 1rem;
}
.ikg-service-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ikg-text);
  margin-bottom: .5rem;
}
.ikg-service-card p { font-size: .9rem; color: var(--ikg-text-muted); margin: 0; }

/* ================================================================
   CONTACT FORM OVERRIDES
================================================================ */
.ikg-contact-section { background: var(--ikg-gray-bg); }

.form-input {
  border: 1.5px solid var(--ikg-green-border);
  border-radius: 4px;
  transition: border-color var(--ikg-trans);
}
.form-input:focus { border-color: var(--ikg-green); outline: none; }

.button-secondary,
.button.button-secondary {
  background: var(--ikg-green) !important;
  border-color: var(--ikg-green) !important;
}
.button-secondary:hover {
  background: var(--ikg-green-dark) !important;
  border-color: var(--ikg-green-dark) !important;
}

/* ================================================================
   FLOATING BUTTON
================================================================ */
#floatingButton {
  background: var(--ikg-green);
  border-color: var(--ikg-green);
}
#floatingButton:hover { background: var(--ikg-green-dark); }

/* ================================================================
   MISC UTILITIES
================================================================ */
.ikg-divider {
  border: none;
  border-top: 2px solid var(--ikg-green-border);
  margin: 3rem 0;
}
.text-ikg-green { color: var(--ikg-green) !important; }
.bg-ikg-light   { background: var(--ikg-green-light) !important; }
