/**
 * Coflow landing page
 * Doplňkový stylesheet ke style.css webu Coprosys
 * Autor: Coprosys
 */

/* =====================================================
   1) HERO sekce
===================================================== */
.coflow-hero {
  background-color: #0e0e0e;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(207,16,8,0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(207,16,8,0.10) 0%, transparent 45%),
    linear-gradient(180deg, #0e0e0e 0%, #1a1a1a 100%);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}
.coflow-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.coflow-hero .container {
  position: relative;
  z-index: 2;
}
.coflow-hero .brand-name {
  font-family: 'Exo', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #cf1008;
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.coflow-hero h1 {
  font-family: 'Exo', sans-serif;
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 25px;
}
.coflow-hero h1 span {
  color: #cf1008;
}
.coflow-hero .hero-lead {
  font-size: 16px;
  font-weight: 400;
  color: #d8d8d8;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 90%;
}
.coflow-hero .hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.coflow-hero .hero-list li {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 2.1;
  display: flex;
  align-items: center;
}
.coflow-hero .hero-list i {
  color: #cf1008;
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}
.coflow-hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}
.coflow-hero .hero-cta button {
  margin: 0;
}
.coflow-hero .btn-red-outline {
  font-family: 'Readex Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: transparent;
  border: 2px solid #cf1008;
  border-radius: 7px;
  padding: 16px 35px;
  text-transform: uppercase;
  transition: .4s;
}
.coflow-hero .btn-red-outline:hover {
  background-color: #cf1008;
  color: #fff;
}
.coflow-hero .btn-white {
  text-transform: uppercase;
  padding: 18px 40px;
  background-color: #cf1008;
}
.coflow-hero .btn-white:hover {
  background-color: #fff;
  color: #000;
}
.coflow-hero .hero-microtext {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #8d8d8d;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  max-width: 85%;
}

/* Formulářová karta */
.hero-form-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 45px 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
.hero-form-card h2 {
  font-family: 'Exo', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.25;
}
.hero-form-card p {
  font-size: 14px;
  color: #5d5d5d;
  margin-bottom: 25px;
}
.coflow-form input {
  display: block;
  width: 100%;
  height: 50px;
  border: 1.5px solid #e9e9e9;
  border-radius: 6px;
  padding: 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #000;
  margin-bottom: 12px;
  transition: border-color .3s;
}
.coflow-form input:focus {
  outline: none;
  border-color: #cf1008;
}
.coflow-form .btn-form-red {
  display: block;
  width: 100%;
  background-color: #cf1008;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 16px 25px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 5px 0 0;
  transition: .4s;
  cursor: pointer;
}
.coflow-form .btn-form-red:hover {
  background-color: #000;
}

/* Dekorativní šipka mezi sloupci */
.hero-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 60px;
  transform: translate(-50%, 25%);
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

/* Responsive HERO */
@media (max-width: 1199px) {
  .coflow-hero h1 { font-size: 42px; }
  .coflow-hero .brand-name { font-size: 34px; }
}
@media (max-width: 991px) {
  .coflow-hero { padding: 140px 0 70px; }
  .coflow-hero h1 { font-size: 36px; }
  .coflow-hero .brand-name { font-size: 30px; }
  .coflow-hero .hero-lead { max-width: 100%; }
  .hero-form-card { padding: 35px 25px; }
  .hero-arrow { display: none !important; }
}
@media (max-width: 575px) {
  .coflow-hero { padding: 120px 0 50px; }
  .coflow-hero h1 { font-size: 28px; }
  .coflow-hero .brand-name { font-size: 26px; }
  .coflow-hero .hero-cta { flex-direction: column; }
  .coflow-hero .hero-cta button { width: 100%; }
  .hero-form-card h2 { font-size: 22px; }
}

/* =====================================================
   3) Tři hlavní karty (na červeném pruhu)
===================================================== */
.coflow-procnas {
  background-color: #cf1008;
  padding: 60px 0;
  position: relative;
}
.coflow-procnas .procbox {
  background-color: #fff;
  border-radius: 10px;
  padding: 35px 30px 30px;
  text-align: center;
  height: 100%;
  transition: transform .4s ease, box-shadow .4s ease;
  position: relative;
  overflow: hidden;
}
.coflow-procnas .procbox:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  background: #fff;
}
.coflow-procnas .procbox::before {
  display: none;
}
.coflow-procnas .procbox .border-height {
  background-color: #cf1008;
  width: 100px;
  height: 4px;
  margin: 0 auto 25px;
}
.coflow-procnas .procbox .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.coflow-procnas .procbox .icon i {
  width: 70px;
  height: 70px;
  background-color: #fceff0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #cf1008;
  padding: 0;
  transition: .4s;
}
.coflow-procnas .procbox:hover .icon i {
  background-color: #cf1008;
  color: #fff;
  transform: rotate(360deg);
}
.coflow-procnas .procbox .desc h3 {
  font-family: 'Exo', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #000;
  text-transform: none;
  padding-bottom: 15px;
  line-height: 1.3;
  margin: 0;
}
.coflow-procnas .procbox .desc h3 span {
  font-family: 'Readex Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #cf1008;
  text-transform: lowercase;
  display: block;
  margin-top: 6px;
}
.coflow-procnas .procbox .desc p {
  font-size: 14px;
  font-weight: 400;
  color: #5d5d5d;
  line-height: 1.6;
  margin-bottom: 0;
  min-height: 70px;
}
.coflow-procnas .procbox:hover .desc h3,
.coflow-procnas .procbox:hover .desc p {
  color: inherit;
}
.coflow-procnas .procbox:hover .desc h3 { color: #000; }
.coflow-procnas .procbox:hover .desc p { color: #5d5d5d; }
.coflow-procnas .procbox:hover .desc h3 span { color: #cf1008; }
.card-cta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
}
.card-cta a {
  font-family: 'Readex Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #cf1008;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .3s;
}
.card-cta a:hover {
  color: #000;
}
.card-cta a i {
  font-size: 12px;
  transition: transform .3s;
}
.card-cta a:hover i {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .coflow-procnas { padding: 40px 0; }
  .coflow-procnas .procbox .desc p { min-height: auto; }
}

/* =====================================================
   4–7) Feature sekce (Fleet, Optimalizace, Elektromobil)
===================================================== */
.coflow-feature {
  padding: 80px 0;
  background-color: #fff;
}
.coflow-feature.alt {
  background-color: #fafafa;
}
.feature-eyebrow {
  font-family: 'Readex Pro', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #cf1008;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}
.coflow-feature h2 {
  font-family: 'Exo', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
  margin-bottom: 20px;
}
.coflow-feature > .container > .row > [class*="col-"] > p {
  font-size: 15px;
  color: #5d5d5d;
  line-height: 1.7;
  margin-bottom: 25px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}
.feature-list li {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  line-height: 2;
  display: flex;
  align-items: center;
}
.feature-list i {
  color: #cf1008;
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Mockup laptop */
.mockup-laptop {
  position: relative;
  width: 100%;
}
.mockup-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Univerzální styl pro <img> mockupy (laptop, mapa, mobily, karty) */
.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}
/* Drobné stínování pod větší mockupy (laptop, mapa) */
.mockup-laptop .mockup-img,
.mockup-route > .mockup-img {
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Mockup route - floating karta */
.mockup-route {
  width: 100%;
}
.route-card {
  position: absolute;
  right: 0;
  bottom: -25px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  padding: 22px 25px;
  width: 230px;
  font-family: 'Poppins', sans-serif;
}
.route-card h4 {
  font-family: 'Exo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin: 0 0 15px;
}
.route-card .route-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
}
.route-card .route-row span {
  color: #888;
}
.route-card .route-row strong {
  color: #000;
  font-weight: 700;
  font-size: 13px;
}
.route-card .route-row strong.green {
  color: #2c6df4;
}
.route-card .route-saving {
  background-color: #e8f8ec;
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 14px;
}
.route-card .route-saving span {
  font-size: 11px;
  color: #1d7a31;
  font-weight: 600;
}
.route-card .route-saving strong {
  font-size: 13px;
  color: #1d7a31;
  font-weight: 800;
}
.route-card .btn-route {
  width: 100%;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0;
}
.route-card .btn-route:hover {
  background-color: #1d7a31;
}

/* Mockup telefonu */
.mockup-phone {
  max-width: 280px;
  width: 100%;
}
.mockup-phone-small {
  max-width: 240px;
  margin: 0 auto;
}
.mockup-card-ai,
.mockup-card-workflow {
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .coflow-feature h2 { font-size: 32px; }
}
@media (max-width: 991px) {
  .coflow-feature { padding: 60px 0; }
  .coflow-feature h2 { font-size: 28px; }
  .route-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -30px auto 0;
    width: 90%;
    max-width: 280px;
  }
}
@media (max-width: 575px) {
  .coflow-feature h2 { font-size: 24px; }
}

/* =====================================================
   3 moduly (Navigace, AI, Workflow)
===================================================== */
.coflow-three-modules {
  padding: 80px 0;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
}
.coflow-three-modules h3 {
  font-family: 'Exo', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #000;
  line-height: 1.25;
  margin-bottom: 15px;
  min-height: 60px;
}
.coflow-three-modules p {
  font-size: 14px;
  color: #5d5d5d;
  line-height: 1.65;
  margin-bottom: 25px;
  min-height: 84px;
}
.coflow-three-modules .col-md-12 p {
  min-height: auto;
}
.coflow-three-modules .mockup-phone-small,
.coflow-three-modules .mockup-card-ai,
.coflow-three-modules .mockup-card-workflow {
  margin: 0 auto 20px;
  display: block;
}

@media (max-width: 991px) {
  .coflow-three-modules { padding: 60px 0; }
  .coflow-three-modules h3 { min-height: auto; font-size: 22px; }
  .coflow-three-modules p { min-height: auto; }
}

/* =====================================================
   10) Provozní úspory
===================================================== */
.coflow-savings {
  padding: 70px 0;
  background-color: #f6f6f6;
}
.savings-header .feature-eyebrow {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #cf1008;
}
.saving-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid #ececec;
}
.saving-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.saving-card .icon {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border: 1.5px solid #cf1008;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #cf1008;
  margin-bottom: 18px;
}
.saving-card h4 {
  font-family: 'Exo', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #000;
  margin-bottom: 10px;
}
.saving-card p {
  font-size: 13.5px;
  color: #5d5d5d;
  line-height: 1.6;
  margin: 0;
}
.saving-card.with-cta {
  background-color: #fff;
}
.btn-red-small {
  display: block;
  background-color: #cf1008;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 15px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 18px 0 0;
  cursor: pointer;
  transition: .4s;
  line-height: 1.3;
}
.btn-red-small:hover {
  background-color: #000;
}

/* =====================================================
   Tři sloupce (Pro koho, Model, Demo)
===================================================== */
.coflow-three-cols {
  padding: 80px 0;
  background-color: #fff;
}
.coflow-three-cols h3 {
  font-family: 'Exo', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #000;
  line-height: 1.25;
  margin-bottom: 25px;
  min-height: 65px;
}

/* Pro koho - mřížka oborů */
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 25px;
}
.branch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 10px;
  border-radius: 8px;
  background-color: #fafafa;
  transition: .3s;
}
.branch-item:hover {
  background-color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.branch-item i {
  font-size: 22px;
  color: #cf1008;
  margin-bottom: 10px;
}
.branch-item span {
  font-size: 12.5px;
  color: #000;
  font-weight: 500;
  line-height: 1.35;
}

/* Model služby - ceník */
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-top: 1px solid #ececec;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid #ececec;
}
.price-list li span {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  flex: 1;
  min-width: 60%;
}
.price-list li strong {
  font-family: 'Exo', sans-serif;
  font-size: 14px;
  color: #cf1008;
  font-weight: 800;
  text-align: right;
}
.price-note {
  font-size: 12.5px;
  color: #8a8a8a;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Demo - kroky */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  counter-reset: step;
}
.steps-list li {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
}
.steps-list .step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #cf1008;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Exo', sans-serif;
  font-size: 16px;
  font-weight: 800;
}
.steps-list h5 {
  font-family: 'Exo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 4px 0 6px;
}
.steps-list p {
  font-size: 13px;
  color: #5d5d5d;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 991px) {
  .coflow-three-cols { padding: 60px 0; }
  .coflow-three-cols h3 { min-height: auto; font-size: 22px; }
}
@media (max-width: 575px) {
  .branch-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   14) Závěrečný CTA
===================================================== */
.coflow-final-cta {
  background-color: #cf1008;
  padding: 60px 0 50px;
  color: #fff;
}
.coflow-final-cta h2 {
  font-family: 'Exo', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 15px;
}
.coflow-final-cta p {
  font-size: 15px;
  color: #fff;
  line-height: 1.65;
  margin-bottom: 0;
  opacity: 0.95;
}
.final-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.btn-black {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 7px;
  padding: 16px 35px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  transition: .4s;
  cursor: pointer;
}
.btn-black:hover {
  background-color: #fff;
  color: #000;
}
.btn-red-outline-white {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 7px;
  padding: 16px 35px;
  font-family: 'Readex Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  transition: .4s;
  cursor: pointer;
}
.btn-red-outline-white:hover {
  background-color: #fff;
  color: #cf1008;
}
.final-contacts {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.final-contacts a {
  color: #fff;
  font-family: 'Readex Pro', sans-serif;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .3s;
}
.final-contacts a:hover {
  color: #000;
  text-decoration: none;
}
.grant-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .coflow-final-cta h2 { font-size: 28px; }
  .final-buttons,
  .final-contacts {
    justify-content: flex-start;
  }
}
@media (max-width: 575px) {
  .coflow-final-cta h2 { font-size: 22px; }
  .final-buttons { flex-direction: column; }
  .btn-black, .btn-red-outline-white { width: 100%; }
  .final-contacts { flex-direction: column; gap: 12px; }
}

/* =====================================================
   Drobné úpravy obecné
===================================================== */
section { overflow: visible; }

/* Lepší zalamování dlouhých nadpisů */
h1, h2, h3, h4, h5 {
  overflow-wrap: break-word;
}