/* ESG Mind — sdílené styly */

html { scroll-behavior: smooth; }
body { font-size: 17px; }

/* Rich text z CMS — Quill ukládá obsah zabalený v <p>, proto musí být
   obalovým prvkem <div>, ne <p> (jinak vzniká nevalidní vnořený odstavec). */
.rich-text > p { margin: 0 0 1em; }
.rich-text > p:last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { margin: 0 0 1em; padding-left: 1.25em; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text a { text-decoration: underline; }

/* Skrytý obsah pro čtečky (skip link, oddělovače sekcí) */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; top: 10px; left: 10px; z-index: 100;
    width: auto; height: auto; margin: 0; padding: 10px 18px;
    clip: auto; overflow: visible; white-space: normal;
    background: #1e1e1e; color: #fff; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none;
}

/* FAQ accordion */
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-chevron { transition: transform 0.35s ease; }
.faq-chevron.open { transform: rotate(180deg); }

/* Tlačítka */
.btn-brand {
    display: inline-block;
    background-color: #1e1e1e;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1em;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s, border-color 0.3s;
    text-decoration: none;
}
.btn-brand:hover { background-color: rgba(31,31,31,0.7); border-color: rgba(31,31,31,0.7); }

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: #1e1e1e;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1em;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}
.btn-outline:hover { background-color: #1e1e1e; color: #ffffff; }

/* Objednávkový modal */
#order-modal { display: none; }
#order-modal.open { display: flex; }
.modal-field label { display: block; font-size: 13px; font-weight: 500; color: #1e1e1e; margin-bottom: 5px; }
.modal-field input[type="text"],
.modal-field input[type="email"] {
    width: 100%; border: 1px solid rgba(0,0,0,0.15); border-radius: 6px;
    padding: 9px 12px; font-size: 14px; font-family: 'Inter', sans-serif;
    color: #1e1e1e; background: #fff; outline: none;
    transition: border-color 0.2s;
}
.modal-field input:focus { border-color: #1e1e1e; }
.modal-field input.error { border-color: #dc2626; }
.modal-field .field-hint { font-size: 12px; color: #6b7280; margin-top: 4px; }
.modal-field .field-error { font-size: 12px; color: #dc2626; margin-top: 4px; display: none; }
.modal-field .ares-loading { font-size: 12px; color: #6b7280; margin-top: 4px; display: none; }
#modal-global-error { display: none; }
#modal-success { display: none; }
#modal-form-wrap { display: block; }

/* Formulář modal (iframe) */
#form-modal { display: none; }
#form-modal.open { display: flex; }

