/* ==========================================================================
   0. WEBFONTY — Myriad Pro (vlastní soubory)
   ========================================================================== */

@font-face {
  font-family: "Myriad Pro";
  src: url("../fonts/font-webfont.eot");
  src:
    url("../fonts/font-webfont.eot?#iefix") format("embedded-opentype"),
    url("../fonts/font-webfont.woff") format("woff"),
    url("../fonts/font-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Myriad Pro";
  src: url("../fonts/myriadpro-semibold-webfont.eot");
  src:
    url("../fonts/myriadpro-semibold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/myriadpro-semibold-webfont.woff") format("woff"),
    url("../fonts/myriadpro-semibold-webfont.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* ==========================================================================
   BIOS AGRIFOREST — Hlavní stylesheet
   Verze: 2.0

   OBSAH:
   1.  Proměnné a barevné téma (pageAgri / pageForest)
   2.  Reset a základní styly
   3.  Topbar
   4.  Navbar
   5.  Hero sekce
   6.  Tlačítka
   7.  Breadcrumb
   8.  Obecné sekce (section-label, section-title)
   9.  Stripe (ikonový pruh)
   10. Kartičky služeb — PŘEHLED (sluzby.php)
   11. Detail služby (sluzba-detail.php)
   12. Kontakt (kontakt-agri.php / kontakt-forest.php)
   13. Stroje (machines)
   14. Footer
   ========================================================================== */

/* ==========================================================================
   1. PROMĚNNÉ A BAREVNÉ TÉMA
   ========================================================================== */

:root {
  --red: #ff0000;
  --dark: #111;

  /* Výchozí doplňková barva — přebije ji třída na body */
  --accent: #c0d109;
  --accent-dark: #9ea800;
  --accent-light: #d4e80a;
}

/* --- Zemědělský web (BIOS agri) --- */
body.pageAgri {
  --accent: #c0d109;
  --accent-dark: #9ea800;
  --accent-light: #d4e80a;
}

/* --- Lesnický web (BIOS forest) --- */
body.pageForest {
  --accent: #006634;
  --accent-dark: #004d26;
  --accent-light: #1a8a4a;
}

/* ==========================================================================
   2. RESET A ZÁKLADNÍ STYLY
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #fff;
  color: #111;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Myriad Pro", "Myriad", sans-serif;
}

.bcgWhite {
  background-color: #fff;
}

/* ==========================================================================
   3. TOPBAR
   ========================================================================== */

.topbar {
  background: #fff;
  font-size: 13px;
  color: var(--dark);
  padding: 9px 0;
}
.topbar a {
  color: var(--dark);
  text-decoration: none;
}
.topbar a:hover {
  color: black;
}
.topbar .sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

/* ==========================================================================
   4. NAVBAR
   ========================================================================== */

.navbar-bios {
  background: var(--red);
  padding: 0;
  min-height: 72px;
}
.navbar-bios .navbar-brand {
  padding: 0 0;
}
.topLogo img {
  max-width: 130px;
}
.navbar-bios .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 26px 16px !important;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.navbar-bios .nav-link:hover,
.navbar-bios .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--accent);
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}
.navbar-toggler-icon {
  filter: invert(1);
}

/* ==========================================================================
   5. HERO SEKCE
   ========================================================================== */

.hero {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: bottom center;
  background-image: url(../img/bg-1.jpg);
  display: flex;
}
.hero-small {
  min-height: 250px;
}
.hero1 {
  background-image: url(../img/bg-1.jpg);
}
.hero2 {
  background-image: url(../img/bg-2.jpg);
}
.hero3 {
  background-position: center center;
  background-image: url(../img/bg-3.jpg);
}
.hero4 {
  background-image: url(../img/bg-4.jpg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 90px;
  color: #fff;
}
.hero-small .hero-content {
  padding-top: 50px;
  padding-bottom: 20px;
}
.hero-content h1,
.hero-content p {
  color: #fff;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}
.hero h1 {
  font-family: "Myriad Pro", sans-serif;
  font-size: clamp(52px, 8vw, 84px);
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 480px;
}
.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #1a1f00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.hero-stat-num {
  font-family: "Myriad Pro", sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero slider */
.hero-slider {
  position: relative;
}
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slide {
  min-height: 720px;
}
.hero-slide {
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}
.hero-indicators {
  bottom: 24px;
  z-index: 5;
}
.hero-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 6px;
  border: 0;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 60px;
}
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-size: 100% 100%;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

@media (max-width: 991.98px) {
  .hero-slider .carousel,
  .hero-slider .carousel-inner,
  .hero-slider .carousel-item,
  .hero-slide {
    min-height: 560px;
  }
  .hero-content {
    padding-top: 80px;
    padding-bottom: 70px;
  }
}
@media (max-width: 767.98px) {
  .hero-slider .carousel,
  .hero-slider .carousel-inner,
  .hero-slider .carousel-item,
  .hero-slide {
    min-height: 500px;
  }
  .hero-content {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-content h1 br {
    display: none;
  }
}

.service-card {
  background: #fff;
  padding: 36px 30px;
  border-top: 3px solid var(--accent);
  transition: all 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.service-num {
  font-family: "Myriad Pro", sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.07);
  line-height: 1;
  margin-bottom: -8px;
}
.service-title {
  font-weight: 800;
  font-size: 17px;
  color: #111;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   6. TLAČÍTKA
   ========================================================================== */

.btn-bios-primary {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--red);
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-bios-primary:hover {
  background: #c00510;
  border-color: #c00510;
  color: #fff;
}
.btn-bios-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-bios-outline:hover {
  border-color: #fff;
  color: #fff;
}
.btn-bios-outline2 {
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.4);
}
.btn-bios-outline2:hover {
  border-color: #000;
  color: #000;
}

/* ==========================================================================
   7. BREADCRUMB
   ========================================================================== */

.bcg-breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid #e8e8e8;
}
.bios-breadcrumb {
  padding: 10px 0;
  font-size: 12px;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.bios-breadcrumb a {
  color: var(--red);
  text-decoration: none;
}
.bios-breadcrumb a:hover {
  text-decoration: underline;
}
.bc-sep {
  margin: 0 8px;
  color: #bbb;
}

/* ==========================================================================
   8. OBECNÉ SEKCE
   ========================================================================== */

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 52px);
  text-transform: uppercase;
  line-height: 1;
  color: #111;
}

/* ==========================================================================
   9. STRIPE (ikonový pruh pod hero)
   ========================================================================== */

.stripe {
  background: var(--red);
}
.stripe-item {
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}
.stripe-item:last-child {
  border-right: none;
}
.stripe-icon {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  /*background: rgba(255, 255, 255, 0.14);*/
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stripe-title {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}
.stripe-sub {
  font-size: 12px;
  color: #fff;
  margin-top: 1px;
}

/* ==========================================================================
   10. KARTIČKY SLUŽEB — PŘEHLED (sluzby.php)
   ========================================================================== */

.scard-link {
  text-decoration: none;
  display: block;
  height: 100%;
}
.scard {
  background: #fff;
  border: 1px solid #ebebeb;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.scard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}
.scard-img {
  position: relative;
  height: 180px;
  height: 210px;
  overflow: hidden;
  background: #f0f0f0;
}
.scard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.scard-placeholder .material-icons {
  font-size: 64px;
  color: rgba(192, 209, 9, 0.25); /* fallback — přebito témou níže */
  transition: color 0.25s;
}
.scard:hover .scard-placeholder .material-icons {
  color: rgba(192, 209, 9, 0.55);
}
/* Ikony dle tématu */
body.pageAgri .scard-placeholder .material-icons {
  color: rgba(192, 209, 9, 0.25);
}
body.pageAgri .scard:hover .scard-placeholder .material-icons {
  color: rgba(192, 209, 9, 0.55);
}
body.pageForest .scard-placeholder .material-icons {
  color: rgba(0, 102, 52, 0.35);
}
body.pageForest .scard:hover .scard-placeholder .material-icons {
  color: rgba(0, 102, 52, 0.65);
}

.scard-num {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 52px;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}
.scard-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.scard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.scard-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(254, 0, 0, 0.07);
  padding: 3px 8px;
  border-radius: 2px;
}
.scard-title {
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
  margin-bottom: 10px;
}
.scard-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 16px;
}

.scard-desc p {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}

.scard-desc p strong {
  font-size: 13px;
  color: black;
}

.scard-arrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  border-top: 1px solid #ebebeb;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scard:hover .scard-arrow span {
  transform: translateX(4px);
  display: inline-block;
  transition: transform 0.2s;
}

/* CTA banner na konci přehledu */
.svc-cta {
  background: #111;
  padding: 70px 0;
  padding: 3px 8px;
  border-radius: 2px;
}

.scard-title {
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
  margin-bottom: 10px;
}
.scard-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 16px;
}
.scard-arrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  border-top: 1px solid #ebebeb;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scard:hover .scard-arrow span {
  transform: translateX(4px);
  display: inline-block;
  transition: transform 0.2s;
}

/* CTA banner na konci přehledu */
.svc-cta {
  background: #111;
  padding: 70px 0;
}

/* ==========================================================================
   11. DETAIL SLUŽBY (sluzba-detail.php)
   ========================================================================== */

/* Galerie */
.det-gallery-main {
  margin-bottom: 10px;
}
.det-img-placeholder {
  background: linear-gradient(135deg, #1c1c1c 0%, #2e2e2e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.det-img-placeholder .material-icons {
  font-size: 72px;
  color: rgba(192, 209, 9, 0.2);
}
body.pageForest .det-img-placeholder .material-icons {
  color: rgba(0, 102, 52, 0.3);
}

.det-img-main {
  height: 380px;
  border-radius: 2px;
}
.det-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.det-img-thumb {
  height: 110px;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.det-img-thumb:hover {
  opacity: 0.8;
}
.det-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 20px 12px 8px;
  text-align: left;
}
.det-img-thumb .det-img-caption {
  font-size: 10px;
  padding: 10px 8px 6px;
}
.det-img-thumb .material-icons {
  font-size: 36px;
}

/* Stats bar */
.det-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #ebebeb;
  border-radius: 2px;
  overflow: hidden;
}
.det-stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #ebebeb;
}
.det-stat:last-child {
  border-right: none;
}
.det-stat-value {
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--red);
  line-height: 1;
}
.det-stat-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-top: 4px;
}

/* Popis */
.det-desc p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Kontaktní box v sidebaru */
.det-contact-box {
  background: var(--red);
  padding: 28px;
  border-radius: 2px;
}
.det-contact-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}
.det-contact-title {
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}
.det-contact-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.det-contact-box .btn-bios-primary {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}
.det-contact-box .btn-bios-primary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}
.btn-bios-outline2-dark {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-bios-outline2-dark:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* Sidebar boxy */
.det-sidebar-box {
  background: #fff;
  border: 1px solid #ebebeb;
  padding: 24px;
  border-radius: 2px;
}
.det-sidebar-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* Seznam strojů */
.det-machine-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.det-machine-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.det-machine-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.det-machine-name {
  font-weight: 800;
  font-size: 14px;
  color: #111;
  margin-bottom: 2px;
}
.det-machine-spec {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

/* Další služby v sidebaru */
.det-other-services {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.det-other-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  transition:
    background 0.15s,
    color 0.15s;
}
.det-other-item:hover {
  background: #f8f8f8;
  color: var(--red);
}
.det-other-icon {
  font-size: 18px;
  color: var(--accent-dark);
}
.det-other-arr {
  margin-left: auto;
  font-size: 14px;
  color: #ccc;
}
.det-other-item:hover .det-other-arr {
  color: var(--red);
}

/* ==========================================================================
   12. KONTAKT (kontakt-agri.php / kontakt-forest.php)
       Barvy se řídí třídou na body: .pageAgri nebo .pageForest
   ========================================================================== */

/* Rychlý pruh s kontaktními info */
.k-strip {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
}
.k-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-right: 1px solid #ebebeb;
}
.k-strip-last {
  border-right: none;
}
.k-strip-icon {
  font-size: 22px;
  color: var(--red);
  flex-shrink: 0;
}
/* Forest varianta: ikony zelené */
body.pageForest .k-strip-icon {
  color: var(--accent);
}

.k-strip-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2px;
}
.k-strip-val {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}
a.k-strip-val:hover {
  color: var(--accent);
}

/* Hlavní sekce */
.k-main {
  padding: 60px 0 80px;
  background: #f7f7f5;
}
body.pageForest .k-main {
  background: #f5f7f5;
}

/* Kartička firmy */
.k-company-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 3px solid var(--accent);
  overflow: hidden;
}
.k-company-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid #f0f0f0;
}
.k-company-row-last {
  border-bottom: none;
}
.k-company-row .material-icons {
  font-size: 20px;
  color: var(--accent-dark);
  margin-top: 2px;
  flex-shrink: 0;
}
.k-company-field-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 3px;
}
.k-company-field-val {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  line-height: 1.5;
}
a.k-link {
  text-decoration: none;
  color: var(--accent-dark);
}
a.k-link:hover {
  text-decoration: underline;
}

/* Social tlačítka */
.k-social {
  display: flex;
  gap: 10px;
}
.k-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
}
.k-social-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
body.pageAgri .k-social-btn:hover {
  color: #1a1f00;
} /* tmavý text na žluté */
body.pageForest .k-social-btn:hover {
  color: #fff;
}

/* Mapa */
.k-map {
  position: relative;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}
.k-map iframe {
  display: block;
}
.k-map-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.2s;
}
body.pageForest .k-map-btn {
  background: #1e2e1f;
}
.k-map-btn:hover {
  color: #fff;
}

/* Formulář — tmavé pozadí */
.k-form-wrap {
  background: #111;
  padding: 44px 44px 48px;
}
body.pageForest .k-form-wrap {
  background: #1a2b1c;
}

.k-form-header {
  margin-bottom: 32px;
}
.k-form-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

/* section-label uvnitř formuláře */
.k-form-wrap .section-label {
  color: var(--accent-light);
}

.k-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 7px;
}
.k-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 2px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
  appearance: none;
}
.k-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.k-input:focus {
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.09);
}
.k-select {
  cursor: pointer;
}
.k-select option {
  background: #222;
  color: #fff;
}
body.pageForest .k-select option {
  background: #1a2b1c;
}
.k-textarea {
  resize: vertical;
  min-height: 130px;
}

.k-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.k-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-light);
  flex-shrink: 0;
}
.k-consent span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}
.k-consent-link {
  color: var(--accent-light);
  text-decoration: none;
}
.k-consent-link:hover {
  text-decoration: underline;
}

/* Odeslat tlačítko — barva dle tématu */
.k-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 32px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 2px;
  width: 100%;
  justify-content: center;
}
.k-submit:hover {
  background: #c0000e;
}
.k-submit .material-icons {
  font-size: 18px;
}

/* Forest: zelené odesílací tlačítko */
body.pageForest .k-submit {
  background: var(--accent);
  color: #fff;
}
body.pageForest .k-submit:hover {
  background: var(--accent-dark);
}

/* ==========================================================================
   13. STROJE (machines section)
   ========================================================================== */

.machines-section {
  background: #111;
}
.machines-section .section-label {
  color: var(--accent);
}
.machines-section .section-title {
  color: #fff;
}

.machine-card {
  background: #1c1c1c;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}
.machine-card:hover {
  background: #242424;
  transform: translateY(-3px);
}
.machine-thumb {
  height: 250px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.machine-arrow-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.machine-card:hover .machine-arrow-badge {
  opacity: 1;
}
.machine-body {
  padding: 20px;
}
.machine-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.machine-name {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.machine-tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  padding: 3px 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

footer {
  background: #000;
}

.footerLogo {
  max-width: 125px;
  margin-bottom: 15px;
}

.footer-bios {
  font-weight: 900;
  font-size: 26px;
  color: #fff;
}
.footer-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-desc {
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  line-height: 1.7;
}
.footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   15. PŘEHLED STROJŮ (stroje.php)
   ========================================================================== */

/* Filtr tlačítka */
.mfilter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mfilter-btn {
  background: transparent;
  border: 1px solid var(--accent-light);
  color: var(--accent-dark);
  background-color: var(--accent-light);
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.mfilter-btn:hover,
.mfilter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}
body.pageForest .mfilter-btn:hover,
body.pageForest .mfilter-btn.active {
  color: #fff;
}

/* Skrytí při filtraci */
.mcard-wrap {
  transition: opacity 0.25s;
}
.mcard-wrap.hidden {
  display: none;
}

/* Kartička stroje */
.mcard {
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.mcard:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Obrázek / placeholder */
.mcard-img {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.mcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #161616 0%, #252525 100%);
}
.mcard-placeholder .material-icons {
  font-size: 60px;
  color: rgba(255, 255, 255, 0.06);
  transition: color 0.25s;
}
.mcard:hover .mcard-placeholder .material-icons {
  color: rgba(255, 255, 255, 0.12);
}

/* Číslo v rohu */
.mcard-num {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* Kategorie štítek */
.mcard-kat {
  position: absolute;
  top: 12px;
  left: 0;
  background: var(--accent);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
}
body.pageForest .mcard-kat {
  color: #fff;
}

/* Tělo kartičky */
.mcard-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 2px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s;
}
.mcard:hover .mcard-body {
  border-top-color: var(--accent);
}

.mcard-title {
  font-family: "Myriad Pro", sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* Seznam modelů */
.mcard-modely {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  flex: 1;
}
.mcard-modely li {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 0 4px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.mcard-modely li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.mcard-modely li:last-child {
  border-bottom: none;
}

/* Technická specifikace */
.mcard-spec {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.55;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   RESPONZIVITA
   ========================================================================== */

@media (max-width: 767px) {
  .k-form-wrap {
    padding: 28px 22px 32px;
  }
  .k-strip-item {
    padding: 14px 16px;
  }
  .k-strip-last {
    border-right: none;
    border-top: 1px solid #ebebeb;
  }
  .det-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .det-gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .mfilter {
    justify-content: flex-start;
  }
}

/* ===== Kontaktní formulář – stavy ===== */

.k-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  gap: 12px;
}

.k-success-icon {
  font-size: 56px;
  color: #2e6e2e; /* nebo tvá proměnná --color-success */
  line-height: 1;
}

.k-success-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #fff; /* k-form-wrap má tmavé pozadí */
}

.k-success-text {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 420px;
}

.k-error-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ff8080;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.k-error-msg .material-icons {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
