/* ==========================================================================
   Merit Access - Custom Styles
   Bootstrap 5.3.8 (jen CSS, od 2026-11-05; dřív 4.3.1) lokálně
   v assets/vendors/, žádný jQuery ani Bootstrap JS. Písmo Open Sans lokálně
   (stejné soubory jako merit.cz).
   ========================================================================== */

/* ===== Dorovnani Bootstrapu 4 (2026-11-05, prechod na 5.3.8 jako merit.cz) =====
   Vendor se nemeni; tady jen hodnoty BS4, na kterych vzhled webu stoji.
   Vlastni pravidla webu nize je prepisuji jako drive. */
/* kontejner: BS5 ma od 1400 px 1320 px, BS4 nejvys 1140 px */
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}
/* mezera sloupcu: BS5 24 px, BS4 30 px */
.container,
.row {
    --bs-gutter-x: 30px;
}
/* odkazy: BS5 podtrhava vzdy, BS4 jen pri najeti */
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.btn:hover {
    text-decoration: none;
}
/* BS4 .form-row (v BS5 neni) - odsazeni resi .form-access nize; sloupce
   uvnitr maji jako v BS4 sirku 100 % (col-md-6 od 768 px 50 % - :where
   nema specificitu, takze tridy sloupcu vyhravaji) */
.form-row {
    display: flex;
    flex-wrap: wrap;
}
:where(.form-row) > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}
/* BS5 dava vsem detem .row sirku 100 % a odsazeni - obrazek zamku ma
   zustat 156 px bez odsazeni */
.row > img {
    width: auto;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Pismo Open Sans - lokalne misto Google Fonts (GDPR: nepredava IP navstevnika
   Googlu). Variabilni font, jeden soubor pokryva tloustky 300-800. Stazeno
   z Google Fonts v44, licence OFL v assets/fonts/open-sans/OFL.txt. */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans/open-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Fade-in animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn-contact {
    border-radius: 8px;
    background-color: #181818;
    border: 2px solid #181818;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-contact:hover,
.btn-contact:focus,
.btn-contact:active,
.btn-contact.active {
    color: #ffffff;
    background-color: #2cc1a7;
    border-color: #2cc1a7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 193, 167, 0.3);
}
.btn-contact.disabled,
.btn-contact[disabled],
fieldset[disabled] .btn-contact {
    background-color: transparent;
    border-color: #fefefe;
}

/* ---------- Utility ---------- */
.text-green {
    color: #4db79e;
}
.text-justify {
    text-align: justify;
}

/* ---------- Global ---------- */
body {
    background-color: #f0f0f0;
    height: 100%;
}
* {
    font-family: "Open Sans", sans-serif;
}
p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
}
a {
    color: #2cc1a7;
    transition: color 0.2s ease;
}
a:hover {
    color: #000000;
}
h2 {
    margin-top: 20px;
    margin-bottom: 14px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

/* ---------- Header language switcher ---------- */
.header-lang-switcher {
    text-transform: uppercase;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
    font-size: 1.2rem;
    letter-spacing: 0.5rem;
}
.header-lang-switcher a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}
.header-lang-switcher a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ---------- Active language ---------- */
.header-lang-switcher a.active {
    color: #ffffff;
}

/* ---------- Lock icon (original) ---------- */
.lock-row {
    height: 50px;
}
.lock-icon {
    margin-top: -90px;
    transition: transform 0.3s ease;
}
.lock-icon:hover {
    transform: scale(1.05);
}

/* ---------- Header navigation buttons ---------- */
.header-nav {
    display: flex;
    gap: 10px;
}
.btn-nav {
    border-radius: 8px;
    background-color: #181818;
    border: 2px solid #181818;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-nav:hover {
    background-color: #2cc1a7;
    border-color: #2cc1a7;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 193, 167, 0.3);
}
.btn-nav.active {
    background-color: #2cc1a7;
    border-color: #2cc1a7;
    color: #ffffff;
}
@media (max-width: 575px) {
    .header-nav {
        justify-content: center;
        width: 100%;
    }
    .btn-nav {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
}

/* ---------- Inline style replacements ---------- */
.schema-img {
    width: 480px;
    max-width: 100%;
    transition: transform 0.3s ease;
}
.schema-img:hover {
    transform: scale(1.02);
}
.section-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 0 3rem;
}
.form-message {
    color: #d00;
}

/* ---------- Lists ---------- */
ul.benefits,
ul.references {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 15px;
    padding-top: 10px;
}
ul.benefits > li,
ul.references > li {
    line-height: 1.6;
    list-style-type: none;
    margin-bottom: 10px;
    position: relative;
    font-size: 0.9rem;
    color: #444;
    transition: transform 0.2s ease;
}
ul.benefits > li:hover,
ul.references > li:hover {
    transform: translateX(4px);
}
ul.benefits > li > a,
ul.references > li > a {
    color: #000000 !important;
    text-transform: uppercase;
}
ul.benefits {
    padding-left: 20px;
}
ul.references {
    padding-left: 30px;
}
ul.benefits li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #2cc1a7;
    border-radius: 50%;
    position: absolute;
    left: -18px;
    top: 8px;
    transition: transform 0.2s ease;
}
ul.benefits li:hover:before {
    transform: scale(1.4);
}
ul.references li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #2cc1a7;
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 8px;
    transition: transform 0.2s ease;
}
ul.references li:hover:before {
    transform: scale(1.4);
}

/* ---------- Banner ---------- */
.banner-access {
    background-image: url(../../images/pict2.png);
    position: relative;
    z-index: 100;
    overflow: hidden;
}
.banner-access .part-image {
    text-align: right;
    height: 250px;
}
.banner-access .part-image img {
    transition: transform 0.4s ease;
}
.banner-access:hover .part-image img {
    transform: scale(1.05) rotate(3deg);
}
.banner-access .part-text {
    color: #ffffff;
    font-style: italic;
    font-size: 1.75rem;
    padding-left: 20px;
    height: 250px;
}

/* ---------- Contact info ---------- */
@media (min-width: 992px) {
    .contact-info .or {
        max-width: 400px;
    }
}
.contact-table {
    padding: 2px 0;
}

/* ---------- Footer ---------- */
footer {
    background-color: #1b1b1b;
}
footer * {
    color: #646464;
}
footer .footer-cover-2 {
    padding-top: 30px;
    padding-bottom: 30px;
}
@media (max-width: 767px) {
    footer .footer-cover-2 {
        padding-left: 30px;
        padding-right: 30px;
    }
}
footer .footer-cover-2 > .container {
    padding-bottom: 30px;
    border-bottom: 1px solid #313131;
}
footer .footer-cover-2 .footer-cover-2-container {
    padding-top: 15px;
}
footer .footer-cover-2 .footer-budme {
    font-size: 1.5em;
    font-style: italic;
    font-weight: 600;
}
footer .footer-cover-2 .contact-title {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1px;
}
@media (max-width: 767px) {
    footer .footer-cover-2 .contact-title {
        margin-top: 20px;
        margin-bottom: 0;
        display: block !important;
    }
}
footer .footer-cover-2 .contact-value {
    color: #58dfc8;
    display: block;
    font-size: 1.3em;
    margin-top: 20px;
}
@media (max-width: 767px) {
    footer .footer-cover-2 .contact-value {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}
footer .footer-cover-2 .contact-value a {
    color: #58dfc8;
}
footer .footer-cover-2 .social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}
footer .footer-cover-2 .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8em;
    height: 1.8em;
    background: #58dfc8;
    border-radius: 50%;
    color: #1b1b1b;
    transition: all 0.3s ease;
}
footer .footer-cover-2 .social-icon:hover {
    background: #2cc1a7;
    color: #ffffff;
    transform: translateY(-2px);
}
footer .footer-cover-2 .social-icon svg {
    width: 1em;
    height: 1em;
}
footer .footer-cover-3 {
    padding-top: 0;
    padding-bottom: 30px;
}
@media (max-width: 767px) {
    footer .footer-cover-3 {
        padding-left: 30px;
        padding-right: 30px;
    }
}
footer .footer-cover-3 .footer-cover-3-left {
    margin-top: 10px;
}
footer .footer-cover-3 .footer-dcerinne {
    font-size: 1.5em;
    font-style: italic;
    font-weight: 600;
}
footer .footer-cover-3 .logo-mobile a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: inline-block;
}
footer .footer-cover-3 .logo-mobile a:hover {
    opacity: 1;
}
@media (max-width: 767px) {
    footer .footer-cover-3 .logo-mobile img:nth-child(1) {
        margin-top: 20px;
    }
    footer .footer-cover-3 .logo-mobile img:nth-child(2),
    footer .footer-cover-3 .logo-mobile img:nth-child(3) {
        margin-top: 30px;
    }
}
footer .footer-cover-4 {
    background-color: #141414;
    font-size: 0.92em;
    padding-bottom: 30px;
    padding-top: 30px;
    width: 100%;
}
footer .footer-cover-4 .row {
    display: block;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}
@media (max-width: 767px) {
    footer .footer-cover-4 {
        min-height: 100px;
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    footer .footer-cover-4 {
        min-height: 80px;
        padding-top: 10px;
    }
}
footer .footer-cover-4 a {
    transition: color 0.2s ease;
}
footer .footer-cover-4 a:hover {
    color: #888888;
}

/* ---------- Parallax / Header (čistý CSS, bez JS) ---------- */
.parallax {
    height: 526px;
    position: relative;
    z-index: 100;
}
.parallax-bg {
    background-color: #95958a;
    background-image: url("../../images/green.png"), url("../../images/access-header_wide.jpg");
    background-position: center top, right top;
    background-repeat: repeat-x, no-repeat;
    background-size: 100% 126px, auto 526px;
    background-blend-mode: multiply;
    height: 526px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 50;
}
.parallax-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    pointer-events: none;
}
@media (max-width: 767px) {
    .parallax-bg {
        background-image: none;
    }
}
.parallax-color {
    background-color: #95958a;
    height: 526px;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}
.claim-cover {
    padding-left: 0;
}
.claim-cover .claim {
    color: #fff;
    font-style: italic;
    font-size: 1.75rem;
    margin-top: 60px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 575px) {
    .claim-cover .claim {
        font-size: 1.35rem;
        margin-top: 20px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .claim-cover .claim {
        font-size: 1.25rem;
        margin-top: 40px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .claim-cover .claim {
        font-size: 1.5rem;
        margin-top: 40px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .claim-cover .claim {
        font-size: 1.75rem;
        margin-top: 60px;
        max-width: 540px;
    }
}
@media (min-width: 1200px) {
    .claim-cover .claim {
        font-size: 1.75rem;
        margin-top: 50px;
        max-width: 540px;
    }
}
@media (max-width: 767px) {
    .claim-cover .link-cover {
        display: block;
        text-align: center !important;
    }
    .claim-cover .link-cover .link-to-portfolio {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
.cover {
    background-repeat: no-repeat;
}

/* ---------- Wrapper / Content ---------- */
.wrapper {
    height: 100%;
    top: 400px;
}
.wrapper .content {
    position: relative;
    background-color: #fff;
    margin-top: -50px;
    margin-bottom: 0;
    z-index: 90;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.08);
}
.wrapper .content > .row:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* ---------- Form: Floating Labels ---------- */
.float-label {
    position: relative;
}
.float-label label {
    position: absolute;
    top: 11px;
    left: 16px;
    font-size: 0.85rem;
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 4px;
    margin: 0;
    z-index: 1;
    line-height: 1;
}
.float-label .form-control:focus ~ label,
.float-label .form-control:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 12px;
    font-size: 0.72rem;
    color: #2cc1a7;
    font-weight: 600;
    background: #fff;
}
.form-access .form-control {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-access .form-control:focus {
    border-color: #2cc1a7;
    box-shadow: 0 0 0 3px rgba(44, 193, 167, 0.15);
    outline: none;
}
.form-access .form-control::placeholder {
    color: transparent;
}
.form-access textarea.form-control {
    resize: vertical;
    min-height: 120px;
    padding: 10px 16px;
}
.form-access .form-group {
    margin-bottom: 1rem;
}
.form-access .form-row {
    margin-left: -8px;
    margin-right: -8px;
}
.form-access .form-row > .form-group {
    padding-left: 8px;
    padding-right: 8px;
}
.form-access .btn-contact {
    margin-top: 8px;
}

/* ---------- Ke stazeni: seznam dokumentu (2026-11-05) ----------
   karta = cely odkaz; ikona souboru v zelenem kruhu (jako zamek), tlacitko
   ve stylu .btn-nav; na sirokem displeji 2 sloupce, na mobilu tlacitko pod
   textem */
.download-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
@media (min-width: 1200px) {
    .download-list {
        grid-template-columns: 1fr 1fr;
    }
}
.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    color: #444;
    transition: all 0.3s ease;
}
.download-item:hover {
    color: #444;
    text-decoration: none;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(44, 193, 167, 0.3);
    transform: translateY(-1px);
}
.download-icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #2cc1a7;
    color: #ffffff;
}
.download-icon svg {
    width: 28px;
    height: 28px;
}
.download-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}
.download-name {
    color: #1b1b1b;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}
.download-desc {
    font-size: 0.9rem;
    line-height: 1.5;
}
.download-meta {
    margin-top: 4px;
    color: #4db79e;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.download-btn {
    flex: 0 0 auto;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #181818;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.download-item:hover .download-btn {
    background-color: #2cc1a7;
}
@media (max-width: 575px) {
    .download-item {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 10px 20px;
    }
    .download-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
    .download-icon svg {
        width: 20px;
        height: 20px;
    }
    .download-text {
        flex-basis: calc(100% - 60px);
    }
    .download-btn {
        margin-left: 60px;
    }
}

/* ---------- Zaslepený formulář (dočasně mimo provoz) ---------- */
.form-zaslepeno {
    margin: 0 0 15px;
    padding: 10px 15px;
    border-left: 3px solid #2cc1a7;
    background-color: #f6f6f6;
    color: #1b1b1b;
    font-size: 0.9em;
}
.form-control[disabled],
.btn[disabled] {
    cursor: not-allowed;
}

/* ==========================================================================
   Jednotný vzhled prvků podle merit.cz (vzor) - viz merit.cz
   _development/docs/SJEDNOCENI_WEBU.md. Hodnoty převzaté beze změny
   z .form-contact / .btn-partners / :focus-visible v merit.cz front.min.css.
   ========================================================================== */
.form-access .form-control {
  display: block;
  width: 100%;
  height: 38px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #000;
  background-color: #f7f7f7;
  background-image: none;
  border: 0;
  border-bottom: 1px solid #c0c0c0;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.form-access .form-control:hover {
  border-bottom-color: #888;
}
.form-access .form-control:focus {
  border-bottom-color: #2cc1a7;
  background-color: #fff;
  box-shadow: none;
  outline: none;
}
.form-access textarea.form-control {
  border: 1px solid #c0c0c0;
  border-radius: 0;
  height: auto;
  padding: 8px 14px;
  resize: vertical;
}
.form-access textarea.form-control:hover {
  border-color: #888;
}
.form-access textarea.form-control:focus {
  border-color: #2cc1a7;
  background-color: #fff;
  outline: none;
}
.btn-partners {
  border-radius: 60px;
  background-color: #F0F0F0;
  border: 1px solid #FEFEFE;
  box-shadow: 0px 7px 17px -8px rgba(0, 0, 0, 0.3);
  color: #1b1b1b;
  font-size: 15.4px; /* = 1.1em z 14 px jako na merit.cz (BS4 ma zaklad 16 px) */
  padding: 15px 60px;
  text-transform: uppercase;
}
.btn-partners:hover,
.btn-partners:focus,
.btn-partners:active,
.btn-partners.active {
  color: #000000;
  background-color: #fcfcfc;
}
.btn-partners.disabled,
.btn-partners[disabled] {
  background-color: #F0F0F0;
  border-color: #FEFEFE;
  color: #1b1b1b;
  opacity: 0.65;
}

/* Fokus - neramuje se pri kliknuti mysi, zustava pri ovladani klavesnici */
a:focus,
button:focus,
.btn:focus {
  outline: none;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #2cc1a7;
  outline-offset: 2px;
}
footer a:focus-visible {
  outline-color: #fff;
}

/* ==========================================================================
   Jednotný jazyk tlačítek produktových webů (msoc.cz, datacentrummoravia.cz,
   meritaccess.cz) - stejný blok na všech třech webech, hodnoty podle
   hlavního tlačítka msoc.cz/DCM (= rodina tlačítek merit.cz).
   Tmavé hlavní tlačítko: .btn-contact (výzva k poptávce), .btn-nav (navigace).
   Světlé tlačítko: .btn-partners (formuláře, doplňkové akce) - blok výše.
   ========================================================================== */
.btn-contact,
.btn-nav {
  display: inline-block;
  border-radius: 60px;
  background-color: #181818;
  border: 1px solid #181818;
  box-shadow: 0 23px 83px -15px rgba(0, 0, 0, 0.32);
  color: #ffffff;
  font-size: 15.4px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 22px; /* = Bootstrap 3 (15.4 px x 1.42857); BS4 na meritaccess by dal 23 px */
  padding: 15px 60px;
  text-transform: uppercase;
  transform: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.btn-contact:hover,
.btn-contact:focus,
.btn-contact:active,
.btn-contact.active,
.btn-nav:hover,
.btn-nav:focus,
.btn-nav.active {
  color: #ffffff;
  background-color: #4db79e;
  border-color: #4db79e;
  box-shadow: 0 23px 83px -15px rgba(0, 0, 0, 0.32);
  text-decoration: none;
  transform: none;
}
/* Světlé tlačítko stejné výšky jako tmavé (btn-lg / btn-xs / Bootstrap 4
   by jinak daly 53-55 px) */
.btn-partners,
.btn-partners-close {
  line-height: 22px;
}
/* Mobil: tlačítka užší, aby se dvě vešla vedle sebe (stejné na všech
   produktových webech) */
@media (max-width: 575px) {
  .btn-contact,
  .btn-nav,
  .btn-partners,
  .btn-partners-close {
    padding: 12px 24px;
    font-size: 13px;
    line-height: 18px;
    white-space: normal; /* dlouhy text se zalomi, nepretece displej */
    max-width: 100%;
  }
}
/* Přepínač jazyka - kolečko jako na merit.cz a datacentrummoravia.cz
   (hodnoty z #lang-box a v merit.cz) */
.header-lang-switcher .jazyk-kolecko {
  display: inline-block;
  vertical-align: middle;
  border: 2px solid #ffffff;
  border-radius: 60px;
  box-sizing: content-box;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  height: 20px;
  width: 20px;
  line-height: 20px;
  letter-spacing: normal;
  margin-left: 8px;
  padding: 3px;
  text-align: center;
}
.header-lang-switcher .jazyk-kolecko:hover {
  border-color: #fcfcfc;
  color: #fcfcfc;
  text-decoration: none;
}
/* aktivni jazyk: zelena vypln (2026-11-05 - zobrazuji se vsechny jazyky) */
.header-lang-switcher .jazyk-kolecko.aktivni,
.header-lang-switcher .jazyk-kolecko.aktivni:hover {
  background-color: #2cc1a7;
  border-color: #2cc1a7;
  color: #ffffff;
}

/* ===== Jednotna paticka podle merit.cz =====
   Stejny blok na vsech produktovych webech (msoc, DCM, meritaccess,
   meritautomatizace) - zmena = zmenit ve vsech stejne. Hodnoty z merit.cz
   v pevnych px, protoze Bootstrap 4 ma zaklad 16 px misto 14 px. Pruhy:
   kontakt / pribuzne stranky (#1b1b1b) a spodni pruh (#141414). */
footer {
  background-color: #1b1b1b;
  font-size: 14px;
  line-height: 20px;
}
footer * {
  color: #646464;
}
footer > div:first-child {
  padding-top: 30px;
}
/* Bootstrap 4: sloupce v .row by mely o 15 px mensi okraj nez merit.cz (BS3 bez .row) */
footer .container > .row {
  margin-left: 0;
  margin-right: 0;
}
footer .footer-cover-2,
footer .footer-cover-3 {
  padding: 0 0 30px;
}
footer > .footer-cover-2:first-child {
  padding-top: 30px;
}
footer .footer-cover-2 > .container {
  padding-bottom: 30px;
  border-bottom: 1px solid #313131;
}
footer .footer-cover-2 .footer-cover-2-container {
  padding-top: 15px;
}
footer .footer-budme,
footer .footer-dcerinne {
  display: block;
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  line-height: 30px;
}
footer .footer-dcerinne {
  padding-bottom: 0 !important;
}
footer .footer-cover-2 .contact-title {
  display: inline !important;
  margin: 0;
  font-size: 11.2px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 16px;
  text-transform: uppercase;
}
footer .footer-cover-2 .contact-value {
  display: block;
  margin: 10px 0 0;
  color: #58dfc8;
  font-size: 18.2px;
  line-height: 26px;
}
footer .footer-cover-2 .contact-value a {
  color: #58dfc8;
}
/* ikony site: kolecko 1.65em jako fa ikony merit.cz (SVG verze pro weby bez Font Awesome) */
footer .footer-cover-2 .social-icons {
  display: block;
}
footer .footer-cover-2 .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65em;
  height: 1.65em;
  vertical-align: middle;
  background: #58dfc8;
  border-radius: 60px;
  color: #1b1b1b;
  opacity: 1;
  transform: none;
}
footer .footer-cover-2 .social-icon + .social-icon {
  margin-left: 15px;
}
footer .footer-cover-2 .social-icon svg {
  width: 0.9em;
  height: 0.9em;
}
footer .footer-cover-2 .social-icon:hover,
footer .footer-cover-2 .contact-value i.fa:hover {
  background: #58dfc8;
  color: #1b1b1b;
  opacity: 0.8;
  transform: none;
  transition: opacity 0.7s;
}
footer .footer-cover-3 .footer-cover-3-left {
  margin-top: 10px;
}
footer .footer-cover-3 a {
  opacity: 1;
}
footer .footer-cover-3 img {
  max-width: 100%;
  margin: 0;
}
footer .third-logo {
  margin-top: 0;
}
footer .footer-cover-4 {
  min-height: 0;
  width: auto;
  padding: 30px 0;
  background-color: #141414;
  font-size: 12.88px;
  line-height: 18.4px;
  text-align: left;
}
footer .footer-cover-4 .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
footer .footer-cover-4 .ochrana-link {
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 20px;
  text-decoration: underline;
}
footer .footer-cover-4 a:hover {
  color: #888888;
}
@media (max-width: 767px) {
  footer .third-logo {
    margin-top: 20px;
  }
  footer .footer-dcerinne {
    padding-bottom: 20px !important;
  }
}

/* ==========================================================================
   Hlavicka roste s textem (2026-11-05, PL verze „rozbiji se hlavicka"):
   drive pevna vyska 526 px a pozadi v samostatnych vrstvach .parallax-bg
   a .parallax-color - delsi claim (PL, EN na mobilu) posunul tlacitka
   pres zamek. Pozadi je ted primo na hlavicce (::before / ::after), vyska
   min. 526 px, pod tlacitky vzdy stejne misto (viz padding), takze
   zamek a obsah se odsunou s hlavickou.
   ========================================================================== */
header.parallax {
    z-index: 80;	/* pod obsahem (.content 90) - zamek prekryva spodek hlavicky */
    box-sizing: border-box;
    height: auto;
    min-height: 526px;
    padding-bottom: 94px;	/* desktop: zamek mezi tlacitky jako drive (CS 526 px) */
}
/* pod 1200 px jsou tlacitka pod sebou/vlevo nebo u zamku a zamek by na ne najel -
   hlavicka o 56 px vyssi: zamek 20 px pod tlacitky */
@media (max-width: 1199px) {
    header.parallax {
        padding-bottom: 150px;
    }
}
header.parallax::before,
header.parallax::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
    pointer-events: none;
}
header.parallax::before {
    top: 0;
    bottom: 0;
    background-color: #95958a;
    background-image: url("../../images/green.png"), url("../../images/access-header_wide.jpg");
    background-position: center top, right top;
    background-repeat: repeat-x, no-repeat;
    background-size: 100% 126px, auto 526px;
    background-blend-mode: multiply;
}
header.parallax::after {
    bottom: 0;
    height: 160px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}
@media (max-width: 767px) {
    header.parallax::before {
        background-image: none;
    }
}
.parallax-bg,
.parallax-color {
    display: none;
}
/* claim od 992 px na 600 px JEN v PL: polsky text se vejde na 4 radky
   jako CS a EN; CS a EN zustavaji 540 px (puvodni zalomeni radku) */
@media (min-width: 992px) {
    html:lang(pl) .claim-cover .claim {
        max-width: 600px;
    }
}

/* ---------- Schema systemu jako SVG (2026-11-05, misto PNG) ----------
   popisky z lang.php (CS/EN/PL), barvy webu, pismo Open Sans */
.schema-svg {
    display: block;
    width: 480px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.schema-svg:hover {
    transform: scale(1.02);
}
.schema-svg text {
    font-family: "Open Sans", sans-serif;
    fill: #1b1b1b;
    text-anchor: middle;
}
.schema-svg .schema-nadpis {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}
.schema-svg .schema-text {
    font-size: 12.5px;
}
.schema-svg .schema-server {
    text-anchor: start;
}
.schema-svg .schema-ikona,
.schema-svg .schema-ikona * {
    fill: none;
    stroke: #2cc1a7;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.schema-svg .schema-ikona .schema-plna {
    fill: #2cc1a7;
    stroke: none;
}
.schema-svg .schema-carkovana {
    stroke-dasharray: 4 4;
}
.schema-svg .schema-spoj path {
    fill: none;
    stroke: #444;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-dasharray: 0.1 4;
}
.schema-svg .schema-odznak {
    fill: #2cc1a7;
}
.schema-svg .schema-pod-logem {
    fill: #ffffff;
}

/* ==========================================================================
   Krok 2 sjednoceni s merit.cz (2026-11-05): pismo, radek, odsazeni
   Pravidla z merit.cz _development/docs/STYL.md: vsechny texty 16 px,
   „mensi" 12 px, v souvislem textu radek 2, odstavce 20 px od sebe,
   texty doleva, obsah 20 px od kraje. Hodnoty v promennych - zmena na
   jednom miste. Paticka (spolecny blok produktovych webu) je krok 3.
   ========================================================================== */
:root {
    --pismo: 16px;
    --pismo-mensi: 12px;
    --vyska-radku-textu: 2;
    --odsazeni-panelu: 20px;
}
/* obsah 20 px od kraje (drive p-5 = 48 px) */
.content .p-5 {
    padding: var(--odsazeni-panelu) !important;
}
/* souvisly text: 16 px, radek 2, odstavce 20 px, doleva */
.content p,
ul.benefits > li,
ul.references > li {
    font-size: var(--pismo);
    line-height: var(--vyska-radku-textu);
}
.content p {
    margin-bottom: 20px;
}
.content p:last-child {
    margin-bottom: 0;
}
.text-justify {
    text-align: left;
}
/* tecka odrazky na stredu prvniho radku (polovina radku minus polovina tecky 8 px) */
ul.benefits li:before,
ul.references li:before {
    top: calc(var(--vyska-radku-textu) * 0.5em - 4px);
}
/* nadpisy sekci 16 px (drive 17 px) */
h2 {
    font-size: var(--pismo);
}
/* tlacitka a prvky formulare 16 px */
.btn-contact,
.btn-nav,
.btn-partners,
.download-btn,
.form-access .form-control,
.float-label label,
.form-zaslepeno,
.contact-table,
.download-name,
.download-desc {
    font-size: var(--pismo);
}
.btn-nav,
.btn-contact {
    line-height: 1.5;
}
@media (max-width: 575px) {
    .btn-nav {
        font-size: var(--pismo);
    }
    .claim-cover .claim {
        font-size: 20px;	/* drive 1.35rem = 21,6 px, mimo skalu */
    }
}
/* „mensi" 12 px: radek s udaji o dokumentu, popisek pole po vyplneni */
.download-meta,
.float-label .form-control:not(:placeholder-shown) ~ label {
    font-size: var(--pismo-mensi);
}

/* ==========================================================================
   Krok 3 (2026-11-05): paticka podle zmerene merit.cz (o-spolecnosti.php,
   1 400 px). SPOLECNY BLOK produktovych webu - stejne prevest na msoc,
   DCM a meritautomatizaci. merit.cz: vsechny texty 16/24 px, spodni pruh
   „mensi" 12/18 px (i Zasady ochrany soukromi), mezery 20 px (drive 30).
   Drive zde stare hodnoty merit.cz 21 / 18,2 / 11,2 / 12,88 / 14 px.
   ========================================================================== */
footer {
    font-size: var(--pismo);
    line-height: 24px;
}
footer .footer-cover-2 .footer-budme,
footer .footer-cover-2 .footer-dcerinne,
footer .footer-cover-3 .footer-budme,
footer .footer-cover-3 .footer-dcerinne,
footer .footer-cover-2 .contact-title,
footer .footer-cover-2 .contact-value {
    font-size: var(--pismo);
    line-height: 24px;
}
footer .footer-cover-2,
footer > .footer-cover-2:first-child {
    padding: 20px 0;
}
footer .footer-cover-2 > .container {
    padding-bottom: 20px;
}
footer .footer-cover-3 {
    padding: 0 0 20px;
}
footer .footer-cover-4 {
    padding: 20px 0;
    font-size: var(--pismo-mensi);
    line-height: 18px;
}
footer .footer-cover-4 .row,
footer .footer-cover-4 a,
footer .footer-cover-4 .ochrana-link {
    font-size: var(--pismo-mensi);
    line-height: 18px;
}

/* ==========================================================================
   Krok 4 (2026-11-05): ikonka u odkazu mimo web jako na merit.cz
   Interni odkazy jsou na webu relativni, absolutni adresa (http/https //)
   tedy vzdy miri ven. merit.cz pouziva fa-external-link z Font Awesome,
   meritaccess FA nema - stejny tvar jako SVG maska v CSS (barva = barva
   odkazu). Bez ikonky: odkazy s obrazkem nebo ikonou (loga, Facebook,
   LinkedIn) a tlacitka .btn (rozhodnuti uzivatele na merit.cz).
   ========================================================================== */
a:is([href^="http:"], [href^="https:"], [href^="//"]):not(.btn):not(:has(img, svg))::after {
    content: "";
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    margin-left: 0.35em;
    vertical-align: baseline;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5.5'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5.5'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3C/svg%3E") no-repeat center / contain;
}
