/* ===================================
    Crafto - Bisiness
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam:wght@100;300;400;500;600;700;800&display=swap');
/* variable */
:root {     
    --base-color: #2892de;
    --dark-gray: #333333;
    --medium-gray:#494949;
    --primary-font: 'Be Vietnam', sans-serif;
    --alt-font: 'Sora', sans-serif;
}
/* reset */
body { 
    font-size: 17px;
    line-height: 32px;
}
/* header */
header .navbar-brand img {
    max-height: 26px;
}
.navbar .navbar-nav .nav-link {
    font-size: 17px;
    font-weight: 400;
}
.sticky .header-transparent .header-button .btn {
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}
.sticky .header-transparent .header-button .btn:hover {
    border-color: var(--dark-gray);
    color: var(--white);
    background:  var(--dark-gray);
}
header.sticky.sticky-active [data-header-hover="light"] .widget-text i {
    color: var(--white);
}
/* accordion style 02 */
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    background-color: var(--dark-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:hover a,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a{
    opacity: .5;
}
/* bg color */
.bg-gradient-sherpa-blue-black {
    background-image: linear-gradient(to top, #ffffff, #0051ff);
}
.bg-gradient-sherpa-black-blue {
    background-image: linear-gradient(to right top, #232323, #222226, #232348, #22236D, #23248C);
} 
/* bg transparent color */
.bg-base-color-transparent {
    background-color: rgba(87, 88, 214,.8);
}
/*  tabs style 05  */
.tab-style-05 .nav-tabs > li.nav-item {
    letter-spacing: -.5px;
}
/* accordion */
.accordion .accordion-item .accordion-header .accordion-title i {
    top: 52%;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {margin-bottom: 25px}

/*  progress bar style 01  */
.progress-bar-style-01 .progress .progress-bar-title {
    bottom: 15px;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 4.7rem;
    line-height: 4.7rem;
}
/* separator line */
.separator-line-9px {
    height: 9px;
}
/* tag */
.tag-cloud a { 
    padding-top: 5px;
    padding-bottom: 9px;
}
/* blog comment */ 
.blog-comment li .btn-reply {
    padding-top: 5px;
    padding-bottom: 7px;
}
/* number pagination style 01 */
.pagination-style-01 .page-item .page-link {
    line-height: 42px;
}
.pagination-style-01 .page-item.active .page-link {
    background: var(--dark-gray);
    color: var(--white);
}
/* top right bottom left */
footer {
    margin-top: 0; 
    margin-bottom: 0; 
    padding-top: 20px; 
    padding-bottom: 30px; 
}
.bottom-minus-45px {
    bottom: -45px;
}
.right-minus-45px {
    right: -45px;
}
/* footer */
footer .footer-logo img {
    max-height: 26px;
}
footer ul li {
    margin-bottom: 0;
}
.footer-dark a:hover {
    color: var(--white);
}
/* model popup */
.mfp-bg {
    background: #000000;
    opacity: 0.7;
}

/* media query responsive */
@media (max-width: 1499px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 15px;
        padding-right: 15px;
    } 
}
@media (max-width: 1399px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 13px;
        padding-right: 13px;
    }
    .sticky-wrap.shadow-in {
        left: 35px;
    }
}
@media (max-width: 1300px) {
    .sticky-wrap.shadow-in {
        left: 10px;
    }
}
@media (max-width: 991px) {
    .header-transparent .header-button .btn {
        color: var(--dark-gray);
        border-color: var(--dark-gray);
    }
    .header-transparent .header-button .btn:hover {
        border-color: var(--dark-gray);
        color: var(--white);
        background:  var(--dark-gray);
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        width: calc(100% + 30px) !important;
        margin-left: -15px;
        padding: 10px 45px;
        margin-bottom: 0;
        margin-right: -15px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:last-child a {
        padding-bottom: 17px;
    }
}
@media (max-width: 767px) {
    p {
        margin-bottom: 20px;
    }
    .page-title-extra-large h1 {
        font-size: 40px;
        line-height: 46px;
    }
}

/* Kontejner pro referenci (zachovává poměr stran 1:1) */
.reference-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;          /* Pro moderní prohlížeče zajistí čtvercový box */
    overflow: hidden;
    background: #ffffff;         /* Pokud chcete mít bílé pozadí boxu */
    text-align: center;
    border-radius: 15px;      /* Zaoblení rohů */
  }
  
  /* Logo, text, obrázek - umístěné absolutně na přesně definované pozice */
  .reference-item .client-logo,
  .reference-item .reference-text,
  .reference-item .reference-text2,
  .reference-item .client-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;         /* Nad kolečkem */
    width: 100%;     /* Aby se vše pěkně vešlo i na menších obrazovkách */
  }
  
  /* Logo u horního okraje (např. 10% odshora) */
  .reference-item .client-logo {
    top: 10%;
    width: 40%;
  }
  
  /* Text přesně uprostřed (50%), 
     posuneme ho i vertikálně o -50% vlastní výšky = dokonalé vystředění */
  .reference-item .reference-text {
    top: 31%;
    font-size: 26px; 
    color: rgb(29, 29, 29);
    font-weight: bold;
    line-height: 1.3;
  }
  
  /* Obrázek dolů (např. 10% odspodu) */
  .reference-item .client-image {
    bottom: 3%;
    transform: translateX(-50%); /* Vrátíme transform na X, aby se přesně středilo */
    max-width: 60%;             /* Může se lišit dle designu */
  }
  
  /* Kroužek v pozadí */
  .reference-item .circle-bg {
    position: absolute;
    bottom: -100px;                 /* Aby nebyl celý vidět */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: #de43283f;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.5s ease, bottom 0.4s ease;
    opacity: 0.9;
  }

  /* Kroužek v pozadí */
  .reference-item .circle-bg2 {
    position: absolute;
    bottom: -100px;                 /* Aby nebyl celý vidět */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: #e0ce675e;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.5s ease, bottom 0.4s ease;
    opacity: 0.9;
  }

  /* Kroužek v pozadí */
  .reference-item .circle-bg3 {
    position: absolute;
    bottom: -100px;                 /* Aby nebyl celý vidět */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: #2871de34;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.5s ease, bottom 0.4s ease;
    opacity: 0.9;
  }

  /* Kroužek v pozadí */
  .reference-item .circle-bg4 {
    position: absolute;
    bottom: -100px;                 /* Aby nebyl celý vidět */
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: #13920f3b;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.5s ease, bottom 0.4s ease;
    opacity: 0.9;
  }
  
  /* Efekt při hover (kolečko se posune a zvětší) */
  .reference-item:hover .circle-bg,
  .reference-item:hover .circle-bg2,
  .reference-item:hover .circle-bg3,
  .reference-item:hover .circle-bg4 {
    bottom: 0;
    transform: translateX(-50%) scale(4);
  }

  @media (max-width: 767px) {
    .reference-item .circle-bg,
    .reference-item .circle-bg2,
    .reference-item .circle-bg3,
    .reference-item .circle-bg4 {
        width: 250px;
        height: 250px;
    }
    .reference-item .reference-text {
        top: 32%;
        font-size: 24px; 
        color: rgb(49, 49, 49);
        font-weight: bold;
    }    
    }

    .clients-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* 5 sloupců */
        gap: 50px; /* Mezery mezi sloupci/řádky */
        max-width: 1200px; /* Příklad pro omezení šířky celé mřížky */
        margin: auto; /* Pro centrování mřížky */
        padding: 0px; /* Vlastní odsazení, podle potřeby */
        }

        .client-item img {
        width: 100%;
        height: auto;
        filter: grayscale(90%);
        transition: filter 0.3s ease; /* Plynulý přechod */
        }

        .client-item img:hover {
        filter: none; /* Při najetí plně barevné */
        }

/* Kontakt – fotka */
.contact-photo {
    object-fit: cover;
    max-width: 420px;
}

/* Úvod kontaktu */
.contact-intro .contact-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

/* Karty kontaktů */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.contact-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: rgba(40,146,222,0.35);
    background-color: #f9fbff;
}

.contact-icon {
    flex: 0 0 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(40,146,222,0.08);
    color: #2892de;
    font-size: 20px;
}

/* Obsah karty */
.contact-content {
    display: flex;
    flex-direction: column;
}

/* NOVÉ H2 uvnitř karet */
.contact-heading {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

/* hodnota (tel, email, IG, místo) */
.contact-value {
    font-size: 18px;
    font-weight: 500;
    font-family: inherit;
    color: #111;
    text-decoration: none;
    margin-bottom: 2px;
}

.contact-value:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 12px;
    color: #777;
    margin-top: 0;
}

/* Responsivita */
@media (max-width: 991.98px) {
    .contact-section {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .contact-card {
        padding: 16px 16px;
    }
}

@media (max-width: 575.98px) {
    .contact-card {
        flex-direction: row;
        align-items: center;
    }

    .contact-heading {
        font-size: 18px;
    }

    .contact-value {
        font-size: 16px;
    }
}

/* Karta v portfoliu */
.portfolio-item-card {
    padding: 26px 26px 30px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
    background: #ffffff;
    margin: 0 auto;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Jemný hover bez „vyskakování“ */
.portfolio-item-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: rgba(40,146,222,0.25);
    background-color: #f9fbff;
}

/* Textová část karty */
.portfolio-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Nadpis + tlačítko v jedné řádce */
.portfolio-header {
    display: flex;
    align-items: flex-start;   /* button bude o něco níž než nadpis */
    margin-bottom: 25px;       /* mezera pod řádkem s nadpisem */
}

/* H2 vlevo, roztáhne se */
.portfolio-header h2 {
    margin: 0;
}

/* Portfoliový button "Zobrazit web" */
.portfolio-btn {
    margin-left: auto;         /* odtlačí button na konec řádku */
    margin-top: 4px;           /* lehký „drop“, aby nebyl nalepený k nadpisu */

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(40,146,222,0.7);
    font-size: 14px;
    font-weight: 500;
    color: #2892de;
    text-decoration: none;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-btn i {
    font-size: 15px;
    line-height: 1;
    transition: none;
}

.portfolio-btn:hover {
    background-color: rgba(40,146,222,0.08);
    color: #1f78b4;
    border-color: rgba(40,146,222,0.9);
    text-decoration: none;
}


/* Meta štítky pod nadpisem */
.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 20px;
}

.portfolio-tag {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgb(40, 146, 222);
    color: #ffffff;
    font-weight: 600;
}

.portfolio-tag-light {
    background: rgba(0,0,0,0.04);
    color: #555;
}

/* trochu oddechu mezi kartami na mobilech */
@media (max-width: 991.98px) {
    .portfolio-item-card {
        padding: 22px 18px 24px;
    }
}

/* celý odkaz kolem karty */
.ref-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 26px 80px rgba(0,0,0,0.09);
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* UPRAVENÝ hover – bez jednotné barvy pozadí */
.ref-card:hover {
    box-shadow: 0 32px 90px rgba(0,0,0,0.13);
    /* žádný background-color tady */
}

/* LaP – jemně do červena/oranžova */
.ref-card--lap:hover {
    background-color: #fff4f1af;   /* můžeš ztmavit/zesvětlit podle oka */
}

/* Bartošová – jemně do „zlaté“ */
.ref-card--bartosova:hover {
    background-color: #fff9e886;
}

/* Říha – jemně do modra */
.ref-card--riha:hover {
    background-color: #f2f7ffa9;
}


/* logo nahoře */
.ref-card-logo img {
    max-height: 65px;
    width: auto;
    display: block;
}

/* text uprostřed */
.ref-card-text {
    display: flex;
    flex-direction: column;
    margin-top: 2%;
}

.ref-card-main {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.ref-card-sub {
    font-size: 15px;
    font-weight: 400;
    color: #555;
}

/* malá pilulka s doplňkovou informací (typ podnikání) */
.ref-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(40,146,222,0.06);
    color: #2892de;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ref-card-pill i {
    font-size: 16px;
}

/* spodní kruh s jemnou ikonou – čistě dekorace */
.ref-card-circle {
    width: 170px;
    height: 170px;
    border-radius: 999px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.95;
}

.ref-card-circle-icon {
    font-size: 46px;
    color: #ffffff;
}

/* responsivita */
@media (max-width: 1199.98px) {
    .ref-card {
        padding: 24px 20px 22px;
    }

    .ref-card-circle {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .ref-card {
        border-radius: 26px;
        padding: 22px 18px 20px;
    }

    .ref-card-main {
        font-size: 19px;
    }

    .ref-card-sub {
        font-size: 14px;
    }

    .ref-card-circle {
        width: 140px;
        height: 140px;
    }
}


/* Sekce kalkulačky */
.webcalc-section {
    padding-top: 150px;
    padding-bottom: 0px;
}

/* Karta / box kalkulačky */
.webcalc-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 28px 26px 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 26px 80px rgba(0,0,0,0.06);
}

/* Skupiny otázek */
.webcalc-group {
    margin-bottom: 3%;
}

/* Nadpis otázky */
.webcalc-label {
    font-weight: 600;
    font-size: 22px;
    color: var(--dark-gray);
    margin-bottom: 3%;
    text-align: center;
}

/* Nadpis odeslat */
.webcalc-odeslat {
    font-weight: 600;
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 3%;
    text-align: center;
}

.webcalc-required {
    color: #d9534f;
    font-weight: 700;
    margin-left: 3px;
}

/* Single/multi options wrapper */
.webcalc-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 768px) {
    .webcalc-options-multi {
        grid-template-columns: 1fr 1fr;
    }
}

/* Jednotlivá volba */
.webcalc-option {
    position: relative;
    cursor: pointer;
}

/* Input schováme, stylujeme span */
.webcalc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.webcalc-option-text {
    display: block;
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.08);
    background-color: #2892de0a;
    font-size: 16px;
    color: #000000;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

/* Hover */
.webcalc-option:hover .webcalc-option-text {
    border-color: rgba(40,146,222,0.45);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Checked stav */
.webcalc-option input:checked + .webcalc-option-text {
    background-color: #e7f1ff;
    border-color: #2892de;
    color: #0f2940;
    box-shadow: 0 10px 30px rgba(40,146,222,0.22);
}

/* Kontakt inputs */
.webcalc-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 16px;
    color: #000000;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #12a8331a;
}

.webcalc-input:focus {
    border-color: #12a832;
    box-shadow: 0 0 0 2px rgba(40,146,222,0.15);
}

/* Výsledek */
.webcalc-footer {
    margin-top: 26px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 18px;
}

.webcalc-result-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #777;
    margin-bottom: 4px;
}

.webcalc-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-gray);
}

.webcalc-note {
    font-size: 16px;
    color: var(--medium-gray);
    margin-top: 10px;
    line-height: 1.3;
}

/* Mobile tweak */
@media (max-width: 767.98px) {
    .webcalc-card {
        padding: 22px 18px 22px;
    }

    .webcalc-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* rozsah stránek – defaultně skrytý, ale s možností animace */
.webcalc-group-pages {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
    margin-top: 0;
    margin-bottom: 0;
}

/* po zobrazení – plynule „vyjede“ a zviditelní se */
.webcalc-group-pages.is-visible {
    max-height: 500px;       /* musí být větší než reálná výška obsahu */
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
    margin-bottom: 3%;
}

/* Mobilní úpravy kalkulačky */
@media (max-width: 767.98px) {

    /* menší mezera pod otázkou */
    .webcalc-label {
        margin-bottom: 5%;
        padding-top: 7%;
    }

    /* více vzduchu mezi jednotlivými možnostmi */
    .webcalc-option {
        margin-bottom: 5px;
    }

    /* text víc „uvnitř rámečku“ */
    .webcalc-option-text {
        display: block;          /* jistota přes celou šířku */
        padding: 10px 20px 10px 20px;      /* lehký vnitřní odsazení ze všech stran */
        text-align: center;
    }
    .webcalc-odeslat {
        padding-bottom: 5%;
    }

    .webcalc-input, .webcalc-result-label, .webcalc-price, .webcalc-note {
        text-align: center;
    }
}

/* Výchozí – desktop / větší displeje */
.first-section {
    padding-top: 150px !important; 
}

/* Tablety a menší notebooky */
@media (max-width: 991.98px) {
    .first-section {
        padding-top: 110px !important; 
    }
}

/* Mobily */
@media (max-width: 575.98px) {
    .first-section {
        padding-top: 100px !important; 
    }
}

/* Výchozí – desktop / větší displeje */
.hero-section {
    padding-top: 100px !important; 
    padding-bottom: 0 !important;
}

/* Tablety a menší notebooky */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 110px !important; 
    }
}

/* Mobily */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 100px !important; 
    }
}

/* Výchozí – desktop / větší displeje */
.classic-section {
    padding-top: 30px !important; 
    padding-bottom: 30px !important;
}

/* Tablety a menší notebooky */
@media (max-width: 991.98px) {
    .classic-section {
        padding-top: 30px !important; 
        padding-bottom: 0px !important; 
    }
}

/* Mobily */
@media (max-width: 575.98px) {
    .classic-section {
        padding-top: 40px !important; 
        padding-bottom: 0px !important; 
    }
}

/* Sekce konzultace – navázaná vizuálně na kalkulačku */
.consult-section {
    padding-top: 60px;
    padding-bottom: 0px !important
}

/* Karta / box konzultace – jako webcalc-card */
.consult-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 28px 26px 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 26px 80px rgba(0,0,0,0.06);
}

/* Obecné skupiny ve formuláři */
.consult-card .row > [class*="col-"] {
    margin-bottom: 0px;
}

/* Popisky polí – jako webcalc-label, NA STŘED */
.consult-label {
    display: block;
    font-weight: 600;
    font-size: 22px;
    color: var(--dark-gray);
    margin-bottom: 2%;
    text-align: center;
}

/* Vstupy konzultace – vzhled jako webcalc-option-text, NA STŘED */
.consult-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.08);
    background-color: #2892de0a; /* jemná modrá jako u kalkulačky */
    font-size: 16px;
    color: #000000;
    outline: none;
    text-align: center; /* <<< důležité */
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                color 0.2s ease;
}

/* Textarea – jen větší, text také na střed */
.consult-textarea {
    min-height: 50px;
    resize: vertical;
    text-align: center;
}

/* Hover – stejný efekt jako na .webcalc-option:hover .webcalc-option-text */
.consult-input:hover {
    border-color: rgba(40,146,222,0.45);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Focus – podobný „checked“ stavu z kalkulačky */
.consult-input:focus {
    background-color: #e7f1ff;
    border-color: #2892de;
    color: #0f2940;
    box-shadow: 0 10px 30px rgba(40,146,222,0.22);
}

/* Spodní část – jako webcalc-footer */
.consult-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 18px;
}

/* Text se souhlasem (NECHÁME vlevo, ať zůstane „na místě“) */
.consult-consent {
    line-height: 1.4;
}

/* Mobilní úpravy konzultace */
@media (max-width: 767.98px) {
    .consult-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .consult-card {
        padding: 22px 18px 22px;
    }

    /* spodní část – na mobilu pod sebe, jako dřív */
    .consult-footer {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .consult-footer button {
        align-self: stretch;
        text-align: center;
    }
}

/* Úprava mezery mezi kontaktem a konzultací – jen tablet (md) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* stáhnout konzultační sekci výš */
    section.consult-section {
        margin-top: 0 !important;
        padding-top: 50px !important;  /* klidně si doladíš na 0 / 20px podle oka */
    }

    /* kdyby byl problém i zespodu kontakt sekce, můžeš zmenšit její spodek */
    section.first-section.bg-transparent.background-position-center-top.overlap-height {
        margin-bottom: 0 !important;
        padding-bottom: 10px !important;
    }
}

/* Sekce "Proč zrovna já" – navázaná na vizuál kalkulačky / referencí */
.why-me-section {
    padding-top: 80px;  /* můžeš doladit podle ostatních sekcí */
    padding-bottom: 40px;
}

/* Karta důvodu */
.why-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    padding: 22px 22px 20px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

/* jemný hover – sjednocený styl s kartami referencí / kalkulačky */
.why-card:hover {
    box-shadow: 0 26px 80px rgba(0,0,0,0.08);
    border-color: rgba(40,146,222,0.25);
    background-color: #f9fbff;
}

/* hlavička karty – číslo + titulek vedle sebe */
.why-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

/* číslování 01–04 */
.why-card-number {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #2892de;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--alt-font, inherit);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* titulek v kartě */
.why-card-title {
    font-size: 22px;
    color: var(--dark-gray);
}

/* text uvnitř karty */
.why-card-text {
    font-size: 17px;
    line-height: 1.5;
    color: var(--dark-gray)
}

/* mobilní úpravy */
@media (max-width: 767.98px) {
    .why-me-section {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .why-card {
        padding: 18px 18px 18px;
    }

    .why-card-header {
        align-items: flex-start;
    }

    .why-card-title {
        font-size: 22px;
    }

    .why-card-text {
        font-size: 18px;
    }
}

.box-blue-like-calc {
    display: flex;              /* ikona + text v řádku */
    align-items: center;               /* vertikální zarovnání */
    gap: 10px;                         /* mezera mezi ikonou a textem */
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.08);
    background-color: #2892de0a;
    font-size: 18px;
    color: #000000;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

/* Kolečko za ikonou */
.box-blue-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #2892de;         /* modrá, ať je bílá fajfka vidět */
    flex-shrink: 0;
}

/* Text – kdybys chtěl někdy stylovat zvlášť */
.box-blue-text {
    display: inline-block;
}

/* Hover efekt jako u kalkulačky */
.box-blue-like-calc:hover {
    border-color: rgba(40,146,222,0.45);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Skupina s URL – defaultně schovaná + animace */
.consult-website-group {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition:
        max-height 0.35s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
    margin-top: 0;
    margin-bottom: 0;
}

/* Po zobrazení „vyjede“ stejně jako v kalkulačce */
.consult-website-group.is-visible {
    max-height: 200px;      /* víc než reálná výška obsahu */
    opacity: 1;
    transform: translateY(0);
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Mobilní zarovnání footeru */
@media (max-width: 767px) {
    footer .lh-24.text-start,
    footer .lh-24.text-end {
        text-align: center !important;
    }
}

/* Mobilní top padding utility – pouze telefony */
@media (max-width: 767.98px) {

    .sm-pt-0  { padding-top: 0%  !important; }
    .sm-pt-1  { padding-top: 1%  !important; }
    .sm-pt-2  { padding-top: 2%  !important; }
    .sm-pt-3  { padding-top: 3%  !important; }
    .sm-pt-4  { padding-top: 4%  !important; }
    .sm-pt-5  { padding-top: 5%  !important; }
    .sm-pt-6  { padding-top: 6%  !important; }
    .sm-pt-7  { padding-top: 7%  !important; }
    .sm-pt-8  { padding-top: 8%  !important; }
    .sm-pt-9  { padding-top: 9%  !important; }
    .sm-pt-10 { padding-top: 10% !important; }
    .sm-pb-0  { padding-bottom: 0%  !important; }
}

/* Tablet top padding utility – pouze tablety */
@media (min-width: 768px) and (max-width: 991.98px) {

    .md-pt-0  { padding-top: 0%  !important; }
    .md-pt-1  { padding-top: 1%  !important; }
    .md-pt-2  { padding-top: 2%  !important; }
    .md-pt-3  { padding-top: 3%  !important; }
    .md-pt-4  { padding-top: 4%  !important; }
    .md-pt-5  { padding-top: 5%  !important; }
    .md-pt-6  { padding-top: 6%  !important; }
    .md-pt-7  { padding-top: 7%  !important; }
    .md-pt-8  { padding-top: 8%  !important; }
    .md-pt-9  { padding-top: 9%  !important; }
    .md-pt-10 { padding-top: 10% !important; }
}


/* Spodní část footeru – menší mezera nad dividerem a kolem obsahu */
footer .row.justify-content-center.align-items-center {
    padding-top: 15px !important;
    padding-bottom: 0px !important;
}

/* Divider – menší spodní mezera */
footer .row.justify-content-center.align-items-center .col-12.mb-30px {
    margin-bottom: 10px !important;
}

/* Odstavec ve footeru – zrušit zbytečný spodní margin */
footer p {
    margin-top: 0;
    margin-bottom: 4px;
}

/* Rozdělovník | jen mezi položkami menu (LG+) */
@media (min-width: 992px) {
  nav.navbar .navbar-nav .nav-item + .nav-item {
    position: relative;
    padding-left: 2px; /* prostor pro | */
    margin-left: 1px;  /* mezera za | */
  }

  nav.navbar .navbar-nav .nav-item + .nav-item::before {
    content: "|";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--base-color);
    font-weight: 700;
    opacity: 1;
    pointer-events: none;
  }
}

/* Pokud chceš na XXL trochu jiné rozestupy, můžeš jemně upravit */
@media (min-width: 1400px) {
  nav.navbar .navbar-nav .nav-item + .nav-item {
    padding-left: 2px;
    margin-left: 1px;
  }
}

/* aby kotva neskončila schovaná pod fixed menu */
#konzultace{
  scroll-margin-top: 100px; /* nastav podle výšky headeru */
}
html{
  scroll-behavior: smooth;
}

/* LG+ (≥ 992px) – zvětšení loga */
@media (min-width: 992px){
  nav.navbar .navbar-brand img.default-logo,
  nav.navbar .navbar-brand img.alt-logo{
    transform: scale(1.5);
  }
}
