/*
Theme Name: Astra Child
Template: astra
Version: 1.1
*/

/* =========================================================
   TRAIL CAMERA / FOTOPAST.CLOUD - CLEAN CUSTOM CSS
   ========================================================= */
html {
  scroll-behavior: smooth;
}
:root {
  --fpc-green: #2f5637;
  --fpc-green-light: #6f7f58;
  --fpc-bg: #f5f7f2;
  --fpc-bg-soft: #eef3ea;
  --fpc-border: #e4e7df;
  --fpc-text: #3f4936;
  --fpc-muted: #6f7568;
  --fpc-white: #ffffff;
  --fpc-shadow: 0 14px 35px rgba(63, 73, 54, 0.10);
}

.fpc-section,
.fpc-steps {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: var(--fpc-text);
}

.fpc-section *,
.fpc-steps * {
  box-sizing: border-box;
}

.fpc-section {
  max-width: 1160px;
  margin: 30px auto;
  padding: 0 18px;
}

.fpc-section-head {
  text-align: center;
  margin-bottom: 24px;
}

.fpc-label {
  display: inline-block;
  padding: 5px 13px;
  margin-bottom: 12px;
  background: var(--fpc-bg-soft);
  color: var(--fpc-green-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.fpc-section-title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--fpc-text);
}

.fpc-section-text {
  margin: 0 auto;
  max-width: 650px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fpc-muted);
}

/* =========================================================
   HEADER - transparent nahoře, zelený po scrollu
   ========================================================= */

#masthead,
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: transparent !important;
  box-shadow: none !important;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

#masthead .ast-primary-header-bar,
#masthead .site-primary-header-wrap,
#masthead .ast-builder-grid-row,
.site-header .ast-primary-header-bar,
.site-header .site-primary-header-wrap,
.site-header .ast-builder-grid-row,
.main-header-bar {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transition: all .25s ease;
}

#masthead .ast-primary-header-bar,
#masthead .ast-builder-grid-row {
  min-height: 92px;
  transition: min-height .25s ease;
}

body {
  padding-top: 0 !important;
}

.site-logo-img img,
.custom-logo {
  transition: all .25s ease;
}

.main-header-menu .menu-link,
.ast-builder-menu .main-navigation > ul > li > a {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: all .25s ease;
}

.main-header-menu .menu-link:hover,
.ast-builder-menu .main-navigation > ul > li > a:hover {
  color: #ffdf45 !important;
}

body.fpc-header-scrolled #masthead,
body.fpc-header-scrolled .site-header {
  background: rgba(47, 86, 55, 0.96) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.fpc-header-scrolled #masthead .ast-primary-header-bar,
body.fpc-header-scrolled #masthead .site-primary-header-wrap,
body.fpc-header-scrolled #masthead .ast-builder-grid-row,
body.fpc-header-scrolled .site-header .ast-primary-header-bar,
body.fpc-header-scrolled .site-header .site-primary-header-wrap,
body.fpc-header-scrolled .site-header .ast-builder-grid-row,
body.fpc-header-scrolled .main-header-bar {
  background: rgba(47, 86, 55, 0.96) !important;
  background-color: rgba(47, 86, 55, 0.96) !important;
}

body.fpc-header-scrolled #masthead .ast-primary-header-bar,
body.fpc-header-scrolled #masthead .ast-builder-grid-row,
body.fpc-header-scrolled .site-header .ast-primary-header-bar,
body.fpc-header-scrolled .site-header .ast-builder-grid-row {
  min-height: 58px !important;
}

body.fpc-header-scrolled .site-logo-img img,
body.fpc-header-scrolled .custom-logo {
  max-height: 42px !important;
  width: auto !important;
}

body.fpc-header-scrolled .site-branding,
body.fpc-header-scrolled .ast-site-identity {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.fpc-header-scrolled .main-header-menu .menu-link,
body.fpc-header-scrolled .ast-builder-menu .main-navigation > ul > li > a {
  line-height: 58px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.ast-builder-menu {
  margin-right: 50px !important;
}

.gt_switcher_wrapper,
.gtranslate_wrapper,
.gt_float_switcher {
  position: fixed !important;
  top: 22px !important;
  right: 22px !important;
  z-index: 10000 !important;
  transition: top .25s ease;
}

body.fpc-header-scrolled .gt_switcher_wrapper,
body.fpc-header-scrolled .gtranslate_wrapper,
body.fpc-header-scrolled .gt_float_switcher {
  top: 13px !important;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 90px;
}

body.admin-bar #masthead,
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .gt_switcher_wrapper,
body.admin-bar .gtranslate_wrapper,
body.admin-bar .gt_float_switcher {
  top: 54px !important;
}

body.admin-bar.fpc-header-scrolled .gt_switcher_wrapper,
body.admin-bar.fpc-header-scrolled .gtranslate_wrapper,
body.admin-bar.fpc-header-scrolled .gt_float_switcher {
  top: 45px !important;
}

/* =========================================================
   JAK TO FUNGUJE - 3 kroky, bez šipek mezi kartami
   ========================================================= */

.fpc-steps {
  max-width: 1120px;
  margin: 42px auto 50px;
  padding: 0 18px;
}

.fpc-steps-head {
  text-align: center;
  margin-bottom: 30px;
}

.fpc-steps-head h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: #2f3a2a;
}

.fpc-steps-line {
  display: block;
  width: 72px;
  height: 3px;
  margin: 0 auto;
  background: #ffdf45;
  border-radius: 99px;
}

.fpc-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  align-items: stretch;
}

.fpc-step-card {
  position: relative;
  min-height: 286px;
  padding: 30px 28px 28px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(35, 43, 30, .08);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: visible;
}

.fpc-step-card:nth-child(1) {
  background: #ffffff;
  border: 1px solid #e4e7df;
}

.fpc-step-card:nth-child(2) {
  background: #f8faf5;
  border: 1px solid #dbe6d2;
}

.fpc-step-card:nth-child(3) {
  background: #f2f7ed;
  border: 1px solid #cfdbc5;
}

.fpc-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(35, 43, 30, .11);
}

.fpc-step-number {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #6f7f58;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(63, 73, 54, .18);
}

.fpc-step-card:nth-child(2) .fpc-step-number {
  background: #65764f;
}

.fpc-step-card:nth-child(3) .fpc-step-number {
  background: #5d7048;
}

.fpc-step-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: #f7f9f4;
  color: #2f3a2a;
  border: 1px solid #dfe7d5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.fpc-step-card:nth-child(2) .fpc-step-icon {
  background: #edf3e8;
  border-color: #cfdcc5;
}

.fpc-step-card:nth-child(3) .fpc-step-icon {
  background: #e7efdd;
  border-color: #c9d8bf;
}

.fpc-step-card h3 {
  margin: 0 0 11px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #2f3a2a;
}

.fpc-step-card p {
  max-width: 286px;
  margin: 0 auto;
  font-size: 15.4px;
  line-height: 1.6;
  color: #5f6659;
}

/* Důležité: žádné šipky ani spojovací linky mezi kartami */
.fpc-step-card::after,
.fpc-steps-grid::before {
  display: none !important;
  content: none !important;
}

/* =========================================================
   POROVNÁVACÍ TABULKA
   ========================================================= */

.fpc-compare-card {
  overflow-x: auto;
  background: var(--fpc-white);
  border: 1px solid var(--fpc-border);
  border-radius: 18px;
  box-shadow: var(--fpc-shadow);
}

.fpc-compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  color: #4f5749;
}

.fpc-compare-table th,
.fpc-compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid #eef0ea;
}

.fpc-compare-table th {
  background: var(--fpc-bg);
  color: var(--fpc-green-light);
  font-size: 15px;
}

.fpc-compare-table th:last-child {
  background: var(--fpc-green-light);
  color: var(--fpc-white);
}

.fpc-compare-table tr:last-child td {
  border-bottom: none;
}

.fpc-feature-name {
  font-weight: 700;
}

.fpc-bad {
  color: #7a625c;
}

.fpc-good {
  background: #f3f7ef;
  color: var(--fpc-text);
  font-weight: 700;
}

/* =========================================================
   INFOGRAFIKA - Z fotopasti až do mobilu
   ========================================================= */

.fpc-flow-box {
  background: var(--fpc-white);
  border: 1px solid var(--fpc-border);
  border-radius: 18px;
  box-shadow: var(--fpc-shadow);
  padding: 28px;
}

.fpc-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.fpc-flow-step {
  min-height: 132px;
  padding: 22px 18px;
  background: var(--fpc-bg);
  border: 1px solid #e1e6db;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fpc-flow-step-main {
  background: var(--fpc-green-light);
  border-color: var(--fpc-green-light);
  color: var(--fpc-white);
}

.fpc-flow-icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 12px;
}

.fpc-flow-name {
  font-size: 22px;
  font-weight: 700;
}

.fpc-flow-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fpc-muted);
}

.fpc-flow-step-main .fpc-flow-desc {
  color: rgba(255, 255, 255, .86);
}

.fpc-flow-arrow {
  min-width: 92px;
  text-align: center;
  color: var(--fpc-green-light);
  font-weight: 700;
}

.fpc-flow-arrow span {
  display: block;
  margin-bottom: 6px;
  color: #6b735f;
  font-size: 13px;
  white-space: nowrap;
}

.fpc-flow-arrow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--fpc-bg-soft);
  border-radius: 999px;
  font-size: 22px;
}

/* =========================================================
   BENEFITY + DOPORUČENÍ
   ========================================================= */

.fpc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.fpc-info-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(228,231,223,.9);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(35,43,30,.16);
  padding: 28px 30px;
  color: var(--fpc-text);
}

.fpc-info-card-head {
  text-align: center;
  margin-bottom: 22px;
}

.fpc-info-card h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1.18;
  font-weight: 700;
  color: var(--fpc-text);
}

.fpc-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fpc-info-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: start;
}

.fpc-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fpc-green-light);
  color: var(--fpc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin-top: 1px;
}

.fpc-info-item h4 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--fpc-text);
}

.fpc-info-item p {
  margin: 0;
  font-size: 15.3px;
  line-height: 1.55;
  color: var(--fpc-muted);
}

/* =========================================================
   CENÍK
   ========================================================= */

#cenik.fpc-section {
  max-width: 1260px;
}

.fpc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.fpc-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  margin-top: 18px;
  background: #d8f8df;
  color: #087a32;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.fpc-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--fpc-white);
  border: 1px solid #dfe4ea;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
}

.fpc-price-card-featured {
  border: 2px solid #18b954;
  box-shadow: 0 16px 36px rgba(24,185,84,.15);
}

.fpc-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: #12a64a;
  color: var(--fpc-white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.fpc-price-card-top {
  min-height: 170px;
  padding-bottom: 24px;
  border-bottom: 1px solid #edf0f2;
}

.fpc-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.fpc-plan-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  color: #061936;
  white-space: nowrap;
}

.fpc-save {
  padding: 5px 10px;
  background: #d8f8df;
  color: #0a8a3d;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.fpc-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 7px;
}

.fpc-price strong {
  font-size: 42px;
  line-height: .9;
  font-weight: 900;
  color: #061936;
}

.fpc-price span {
  padding-bottom: 3px;
  font-size: 16px;
  color: #64748b;
}

.fpc-billing,
.fpc-price-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #475569;
}

.fpc-price-desc {
  margin-top: 14px;
  font-size: 15px;
  color: #1f2f46;
}

.fpc-features-title {
  margin: 22px 0 14px;
  font-size: 12px;
  color: #9aa4b2;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.fpc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.fpc-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: #10233f;
}

.fpc-check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #d8f8df;
  color: #14a84a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.fpc-button {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 13px 18px;
  border: 1.5px solid #16a34a;
  border-radius: 11px;
  background: var(--fpc-white);
  color: #079136;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: all .2s ease;
}

.fpc-button:hover {
  background: #f0fbf4;
  transform: translateY(-1px);
}

.fpc-price-card-featured .fpc-button {
  background: #16a34a;
  color: var(--fpc-white);
  box-shadow: 0 10px 20px rgba(22,163,74,.25);
}

.fpc-pricing-note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #667085;
}

/* =========================================================
   CTA - Demo účet + Poptávka nastavení
   ========================================================= */

.fpc-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.fpc-cta-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(228,231,223,.9);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(35,43,30,.16);
  padding: 30px;
  color: var(--fpc-text);
  display: flex;
  flex-direction: column;
}

.fpc-cta-card-featured {
  border: 2px solid var(--fpc-green-light);
  background: rgba(245,247,242,.96);
}

.fpc-cta-top {
  text-align: center;
  margin-bottom: 22px;
}

.fpc-cta-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--fpc-green-light);
  color: var(--fpc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.fpc-cta-card h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  color: var(--fpc-text);
}

.fpc-cta-card p {
  margin: 0;
  font-size: 15.8px;
  line-height: 1.6;
  color: var(--fpc-muted);
  text-align: center;
}

.fpc-cta-text {
  margin-bottom: 26px;
}

.fpc-cta-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--fpc-green-light);
  color: var(--fpc-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  transition: all .2s ease;
}

.fpc-cta-button:hover {
  transform: translateY(-1px);
  background: var(--fpc-green);
  color: var(--fpc-white);
}

.fpc-cta-button-outline {
  background: var(--fpc-white);
  color: var(--fpc-green-light);
  border: 1.5px solid var(--fpc-green-light);
}

.fpc-cta-button-outline:hover {
  background: var(--fpc-bg-soft);
  color: var(--fpc-green);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .fpc-plan-row h3 {
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .fpc-info-grid,
  .fpc-pricing-grid,
  .fpc-cta-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .fpc-price-card-top {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .fpc-steps-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 520px;
    margin: 0 auto;
  }

  .fpc-step-card {
    min-height: auto;
  }

  .fpc-steps-head h2 {
    font-size: 29px;
  }
}

@media (max-width: 768px) {
  #masthead .ast-primary-header-bar,
  #masthead .ast-builder-grid-row {
    min-height: 78px;
  }

  body.fpc-header-scrolled #masthead .ast-primary-header-bar,
  body.fpc-header-scrolled #masthead .ast-builder-grid-row,
  body.fpc-header-scrolled .site-header .ast-primary-header-bar,
  body.fpc-header-scrolled .site-header .ast-builder-grid-row {
    min-height: 62px !important;
  }

  body.fpc-header-scrolled .site-logo-img img,
  body.fpc-header-scrolled .custom-logo {
    max-height: 38px !important;
  }

  body.fpc-header-scrolled .main-header-menu .menu-link,
  body.fpc-header-scrolled .ast-builder-menu .main-navigation > ul > li > a {
    line-height: 62px !important;
  }

  .ast-builder-menu {
    margin-right: 0 !important;
  }

  .gt_switcher_wrapper,
  .gtranslate_wrapper,
  .gt_float_switcher {
    top: 18px !important;
    right: 14px !important;
  }

  body.fpc-header-scrolled .gt_switcher_wrapper,
  body.fpc-header-scrolled .gtranslate_wrapper,
  body.fpc-header-scrolled .gt_float_switcher {
    top: 11px !important;
  }
}

@media (max-width: 767px) {
  .fpc-section-title {
    font-size: 27px;
  }

  .fpc-flow-box {
    padding: 20px;
  }

  .fpc-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fpc-flow-arrow {
    min-width: 0;
    padding: 2px 0;
  }

  .fpc-flow-arrow strong {
    transform: rotate(90deg);
  }

  .fpc-info-card,
  .fpc-price-card {
    padding: 24px 22px;
  }

  .fpc-info-card h3 {
    font-size: 26px;
  }

  .fpc-info-item h4 {
    font-size: 17px;
  }

  .fpc-cta-card {
    padding: 26px 22px;
  }

  .fpc-cta-card h3 {
    font-size: 25px;
  }
}
.fpc-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.fpc-cta-card {
  display: grid !important;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}

.fpc-cta-top {
  grid-row: 1;
}

.fpc-cta-text {
  grid-row: 2;
}

.fpc-cta-button {
  grid-row: 3;
  align-self: end;
}
@media (max-width: 767px) {

  /* Mobilní oprava pouze pro sekci Jak to funguje */
  #jak-to-funguje.fpc-steps {
    width: 100%;
    max-width: 100%;
    margin: 34px auto 42px !important;
    padding: 0 16px !important;
    box-sizing: border-box;
  }

  #jak-to-funguje .fpc-steps-head {
    text-align: center;
    margin-bottom: 24px !important;
  }

  #jak-to-funguje .fpc-steps-head h2 {
    margin: 0 0 12px !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #2f3a2a !important;
  }

  #jak-to-funguje .fpc-steps-line {
    display: block !important;
    width: 64px !important;
    height: 3px !important;
    margin: 0 auto !important;
    background: #ffdf45 !important;
    border-radius: 99px !important;
  }

  #jak-to-funguje .fpc-steps-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  #jak-to-funguje .fpc-step-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 26px 22px 24px !important;
    border-radius: 18px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #e4e7df !important;
    box-shadow: 0 12px 28px rgba(35, 43, 30, .08) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #jak-to-funguje .fpc-step-card:nth-child(2) {
    background: #f8faf5 !important;
    border-color: #dbe6d2 !important;
  }

  #jak-to-funguje .fpc-step-card:nth-child(3) {
    background: #f2f7ed !important;
    border-color: #cfdbc5 !important;
  }

  #jak-to-funguje .fpc-step-number {
    position: static !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto 14px !important;
    border-radius: 50% !important;
    background: #6f7f58 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 18px rgba(63, 73, 54, .16) !important;
  }

  #jak-to-funguje .fpc-step-icon {
    width: 70px !important;
    height: 70px !important;
    margin: 0 auto 18px !important;
    border-radius: 22px !important;
    background: #f5f7f2 !important;
    border: 1px solid #dfe7d5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    line-height: 1 !important;
  }

  #jak-to-funguje .fpc-step-card h3 {
    margin: 0 0 10px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #2f3a2a !important;
    text-align: center !important;
  }

  #jak-to-funguje .fpc-step-card p {
    margin: 0 auto !important;
    max-width: 320px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #5f6659 !important;
    text-align: center !important;
  }

  #jak-to-funguje .fpc-step-card::after,
  #jak-to-funguje .fpc-steps-grid::before {
    display: none !important;
    content: none !important;
  }
}
/* ================================
   MOBILNÍ HLAVIČKA - OPRAVA
   ================================ */

@media (max-width: 767px) {

  /* Header nahoře zůstane průhledný */
  #masthead,
  .site-header,
  #ast-mobile-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: transparent !important;
    box-shadow: none !important;
  }

  #ast-mobile-header .ast-primary-header-bar,
  #ast-mobile-header .ast-builder-grid-row,
  #masthead .ast-primary-header-bar,
  #masthead .ast-builder-grid-row {
    min-height: 66px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Zelené pozadí až po scrollu */
  body.fpc-header-scrolled #masthead,
  body.fpc-header-scrolled .site-header,
  body.fpc-header-scrolled #ast-mobile-header {
    background: rgba(47, 86, 55, 0.97) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body.fpc-header-scrolled #ast-mobile-header .ast-primary-header-bar,
  body.fpc-header-scrolled #ast-mobile-header .ast-builder-grid-row,
  body.fpc-header-scrolled #masthead .ast-primary-header-bar,
  body.fpc-header-scrolled #masthead .ast-builder-grid-row {
    background: rgba(47, 86, 55, 0.97) !important;
    min-height: 66px !important;
  }

  body {
    padding-top: 0 !important;
    overflow-x: hidden;
  }

  /* Logo nesmí být uříznuté */
  .ast-site-identity,
  .site-branding {
    max-width: none !important;
    overflow: visible !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .site-logo-img img,
  .custom-logo {
    max-height: 38px !important;
    width: auto !important;
  }

  .site-title,
  .site-title a {
    font-size: 20px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
  }

  /* Hamburger vpravo */
  .ast-mobile-menu-trigger-minimal,
  .menu-toggle,
  .ast-button-wrap .menu-toggle {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    margin-left: 8px !important;
  }

  /* Jazyk dáme pod header, aby neřezal logo */
  .gt_switcher_wrapper,
  .gtranslate_wrapper,
  .gt_float_switcher {
    position: fixed !important;
    top: 72px !important;
    right: 12px !important;
    z-index: 9998 !important;
    transform: scale(.82);
    transform-origin: top right;
  }

  body.fpc-header-scrolled .gt_switcher_wrapper,
  body.fpc-header-scrolled .gtranslate_wrapper,
  body.fpc-header-scrolled .gt_float_switcher {
    top: 72px !important;
    right: 12px !important;
  }

  [id] {
    scroll-margin-top: 82px;
  }
}
@media (max-width: 767px) {

  /* Demo účet + Poptávka nastavení pod sebe */
  .fpc-cta-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
  }

  .fpc-cta-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 26px 22px 24px !important;
    border-radius: 18px !important;
    text-align: center !important;
  }

  .fpc-cta-card h3 {
    font-size: 26px !important;
    line-height: 1.18 !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .fpc-cta-card p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .fpc-cta-icon {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: 16px !important;
  }

  .fpc-cta-button {
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* =================================
   POROVNÁNÍ - desktop tabulka + mobilní boxy
   ================================= */

.fpc-compare-desktop {
  display: block;
}

.fpc-compare-mobile {
  display: none;
}

/* Mobilní verze porovnání */
@media (max-width: 767px) {
  .fpc-compare-desktop {
    display: none !important;
  }

  .fpc-compare-mobile {
    display: block !important;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .fpc-compare-mobile-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
  }

  .fpc-compare-mobile-card {
    background: #ffffff;
    border: 1px solid #e4e7df;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(35, 43, 30, .08);
    overflow: hidden;
  }

  .fpc-compare-mobile-card-head {
    padding: 18px 20px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
  }

  .fpc-compare-mobile-card-email .fpc-compare-mobile-card-head {
    background: #f6f6f4;
    color: #6f7568;
    border-bottom: 1px solid #ecefe9;
  }

  .fpc-compare-mobile-card-cloud .fpc-compare-mobile-card-head {
    background: #6f7f58;
    color: #ffffff;
    border-bottom: 1px solid #6f7f58;
  }

  .fpc-compare-mobile-body {
    padding: 6px 0;
  }

  .fpc-compare-mobile-row {
    padding: 16px 20px;
    border-bottom: 1px solid #eef0ea;
  }

  .fpc-compare-mobile-row:last-child {
    border-bottom: none;
  }

  .fpc-compare-mobile-row strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.3;
    color: #3f4936;
  }

  .fpc-compare-mobile-row span {
    display: block;
    font-size: 16px;
    line-height: 1.55;
  }

  .fpc-compare-mobile-card-email .fpc-compare-mobile-row span {
    color: #7a625c;
  }

  .fpc-compare-mobile-card-cloud .fpc-compare-mobile-row span {
    color: #3f4936;
    font-weight: 700;
  }

  .fpc-vs-wrap {
    display: flex;
    justify-content: center;
    margin: -2px 0 -2px;
    position: relative;
    z-index: 2;
  }

  .fpc-vs-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffdf45;
    color: #3f4936;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(63, 73, 54, .15);
    border: 4px solid #f5f7f2;
  }
}
/* CTA tlačítka - menší vnitřní výška */
.fpc-cta-button {
  min-height: 46px !important;
  padding: 10px 18px !important;
  line-height: 1.2 !important;
  align-items: center !important;
}

/* Pokud Elementor/šablona přidává v tlačítku další vnitřní řádkování */
.fpc-cta-button span {
  line-height: 1.2 !important;
}
/* CTA tlačítka - přesné svislé zarovnání textu */
.fpc-cta-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 54px !important;
  padding: 0 20px !important;
  line-height: 1 !important;
}

/* Text a šipka uvnitř tlačítka */
.fpc-cta-button span,
.fpc-cta-button strong,
.fpc-cta-button em {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

/* Kdyby šipka byla jako samostatný span */
.fpc-cta-button span {
  transform: translateY(0) !important;
}
@media (max-width: 767px) {

  /* Základ mobilního tlačítka menu */
  .ast-button-wrap .menu-toggle {
    padding: 0 !important;
    line-height: 1 !important;
  }

  .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Když je menu zavřené: zobrazit hamburger, skrýt X */
  .ast-button-wrap .menu-toggle[aria-expanded="false"] .ast-mobile-svg.ast-menu-svg {
    display: block !important;
  }

  .ast-button-wrap .menu-toggle[aria-expanded="false"] .ast-mobile-svg.ast-close-svg {
    display: none !important;
  }

  /* Když je menu otevřené: skrýt hamburger, zobrazit X */
  .ast-button-wrap .menu-toggle[aria-expanded="true"] .ast-mobile-svg.ast-menu-svg {
    display: none !important;
  }

  .ast-button-wrap .menu-toggle[aria-expanded="true"] .ast-mobile-svg.ast-close-svg {
    display: block !important;
  }

  /* Jemné centrování samotného SVG */
  .ast-button-wrap .menu-toggle .ast-mobile-svg {
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
  }
}
/* CTA boxy Demo účet + Poptávka - širší na mobilu */
@media (max-width: 767px) {

  .fpc-cta-grid {
    width: 100% !important;
    max-width: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .fpc-cta-card {
    width: 100% !important;
    max-width: none !important;
    padding: 30px 24px 28px !important;
    box-sizing: border-box !important;
  }

  .fpc-cta-card h3 {
    max-width: 100% !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  .fpc-cta-card p {
    max-width: 100% !important;
    font-size: 20px !important;
    line-height: 1.55 !important;
  }

  .fpc-cta-button {
    max-width: 100% !important;
    width: 100% !important;
  }
}
/* CTA Demo + Poptávka - roztáhnout na mobilu přes šířku */
@media (max-width: 767px) {

  #demo-a-nastaveni.fpc-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
  }

  #demo-a-nastaveni .fpc-cta-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 22px !important;
    box-sizing: border-box !important;
  }

  #demo-a-nastaveni .fpc-cta-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 30px 24px 28px !important;
    box-sizing: border-box !important;
  }

  #demo-a-nastaveni .fpc-cta-card h3,
  #demo-a-nastaveni .fpc-cta-card p,
  #demo-a-nastaveni .fpc-cta-button {
    max-width: none !important;
    width: 100% !important;
  }
}
/* Kompaktní řádek hlavních výhod */
.fpc-benefit-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 1180px;
  margin: 24px auto;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--fpc-border, #e4e7df);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(35, 43, 30, 0.08);
  box-sizing: border-box;
}

.fpc-benefit-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  text-align: left;
}

.fpc-benefit-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fpc-bg-soft, #eef3ea);
  color: var(--fpc-green-light, #6f7f58);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.fpc-benefit-strip__text {
  color: var(--fpc-text, #3f4936);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 980px) {
  .fpc-benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fpc-benefit-strip__item:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .fpc-benefit-strip {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 20px auto;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .fpc-benefit-strip__item,
  .fpc-benefit-strip__item:last-child {
    grid-column: auto;
    justify-content: flex-start;
    padding: 9px 4px;
  }

  .fpc-benefit-strip__text {
    font-size: 15.5px;
  }
}
/* =========================================
   Nejnovější články – homepage
   Shortcode: [fpc_latest_posts]
   ========================================= */

.fpc-articles {
  width: 100%;
  max-width: 1260px;
  margin: 48px auto;
  padding: 0 18px;
  box-sizing: border-box;
  color: var(--fpc-text, #3f4936);
}

.fpc-articles *,
.fpc-articles *::before,
.fpc-articles *::after {
  box-sizing: border-box;
}

.fpc-articles__header {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.fpc-articles__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--fpc-bg-soft, #eef3ea);
  color: var(--fpc-green-light, #6f7f58);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.fpc-articles__title {
  margin: 0 0 10px;
  color: var(--fpc-text, #3f4936);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
}

.fpc-articles__intro {
  margin: 0;
  color: var(--fpc-muted, #6f7568);
  font-size: 16px;
  line-height: 1.6;
}

.fpc-articles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.fpc-article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--fpc-border, #e4e7df);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 43, 30, .08);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.fpc-article-card:hover {
  transform: translateY(-4px);
  border-color: #d5dfcc;
  box-shadow: 0 18px 38px rgba(35, 43, 30, .12);
}

.fpc-article-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eef3ea;
}

.fpc-article-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.fpc-article-card:hover .fpc-article-card__image {
  transform: scale(1.035);
}

.fpc-article-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #eef3ea 0%, #f7f9f4 100%);
  color: var(--fpc-green-light, #6f7f58);
  font-size: 36px;
}

.fpc-article-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.fpc-article-card__meta {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.fpc-article-card__category {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--fpc-bg-soft, #eef3ea);
  color: var(--fpc-green-light, #6f7f58);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.fpc-article-card__date {
  color: #8a9185;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.fpc-article-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.fpc-article-card__title a {
  color: var(--fpc-text, #3f4936);
  text-decoration: none;
}

.fpc-article-card__title a:hover {
  color: var(--fpc-green, #2f5637);
}

.fpc-article-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--fpc-muted, #6f7568);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fpc-article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--fpc-green-light, #6f7f58);
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
}

.fpc-article-card__link span {
  transition: transform .2s ease;
}

.fpc-article-card__link:hover {
  color: var(--fpc-green, #2f5637);
}

.fpc-article-card__link:hover span {
  transform: translateX(4px);
}

.fpc-articles__footer {
  margin-top: 28px;
  text-align: center;
}

.fpc-articles__all {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1.5px solid var(--fpc-green-light, #6f7f58);
  border-radius: 12px;
  background: #fff;
  color: var(--fpc-green-light, #6f7f58);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.fpc-articles__all:hover {
  transform: translateY(-1px);
  background: var(--fpc-bg-soft, #eef3ea);
  color: var(--fpc-green, #2f5637);
}

/* Tablet */
@media (max-width: 1024px) {
  .fpc-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobil */
@media (max-width: 600px) {
  .fpc-articles {
    margin: 38px auto;
    padding: 0 16px;
  }

  .fpc-articles__header {
    margin-bottom: 24px;
  }

  .fpc-articles__title {
    font-size: 29px;
  }

  .fpc-articles__intro {
    font-size: 15.5px;
  }

  .fpc-articles__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fpc-article-card__content {
    padding: 19px;
  }

  .fpc-article-card__title {
    font-size: 21px;
  }
}