/* BASE */
body {
    background: #f2faf8;
    color: #1a1a1a;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: #135a52;
    font-weight: 700;
}

/* HERO */
.hero {
    background: #ffffff;
    padding: 80px 20px;
    border-bottom: 1px solid #d5ece6;
}

/* CTA BUTTON — PREMIUM FLAT */
.cta-btn {
    background: #169b88;
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px; /* меньше скругление */
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background .22s ease, transform .22s ease;
}

.cta-btn:hover {
    background: #0f7f6f;
    transform: translateY(-1px);
}

/* CARD — FLAT, PREMIUM */
.card {
    border: 1px solid #d5ece6;
    border-radius: 6px;
    background: #ffffff;
}

/* TOC */
#toc a {
    text-decoration: none;
    color: #169b88;
    font-weight: 500;
}

#toc a:hover {
    text-decoration: underline;
}

/* FLOW BLOCK — PREMIUM */
.orlistat-flow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.orlistat-flow .flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #f7fbfd;
    border: 1px solid #dbe6ef;
    position: relative;
}

.orlistat-flow .flow-icon {
    font-size: 24px;
    flex-shrink: 0;
    opacity: 0.85;
}

.orlistat-flow .flow-text strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
}

.orlistat-flow .flow-text span {
    display: block;
    font-size: 0.85rem;
    color: #4b5a6a;
}

/* ARROWS — FLAT, LESS GLOW */
.orlistat-flow .flow-arrow {
    width: 2px;
    height: 22px;
    margin: 0 auto;
    background: #4a90e2;
    opacity: 0.55;
}

.orlistat-flow .flow-arrow::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #4a90e2;
}

.orlistat-flow .flow-arrow.blocked {
    background: #e24a4a;
}

.orlistat-flow .flow-arrow.blocked::after {
    border-top-color: #e24a4a;
}

/* CTA BIG — PREMIUM, LESS CARTOON */
.cta-btn-big {
    display: inline-block;
    background: #ffd93b;
    color: #000;
    padding: 18px 38px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    transition: background .22s ease, transform .22s ease;
}

.cta-btn-big:hover {
    background: #ffe067;
    transform: translateY(-2px);
}

/* STICKY CTA — PREMIUM */
.sticky-cta-wide {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    background: #ffd93b;
    color: #000;
    padding: 18px 32px 20px;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    cursor: pointer;
    text-decoration: none;
    transition: background .22s ease, transform .22s ease;
    font-family: inherit;
}

.sticky-cta-wide .sticky-line-1 {
    font-size: 1.22rem;
    font-weight: 800;
    text-align: center;
}

.sticky-cta-wide .sticky-line-2 {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 4px;
    opacity: 0.85;
}

.sticky-cta-wide:hover {
    background: #ffe067;
    transform: translateY(-2px);
}

/* Hidden */
.sticky-cta-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid #d5ece6;
    border-radius: 6px;
    background: #ffffff;
    padding: 0;
    transition: background .22s ease, border-color .22s ease;
}

.faq-item[open] {
    background: #f9fdfc;
    border-color: #cfe4dd;
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #135a52;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Chevron */
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #169b88;
    border-bottom: 2px solid #169b88;
    transform: translateY(-50%) rotate(45deg);
    transition: transform .22s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(-135deg);
}

.faq-item p {
    padding: 0 20px 18px;
    font-size: 0.95rem;
    color: #3a4a4a;
    line-height: 1.55;
}

/* SECTION */
.related-section {
    background: #eef7f4; /* чуть насыщеннее, чем #f2faf8 */
}

.related-title {
    color: #0f4f47; /* насыщеннее #135a52 */
    font-weight: 800;
    margin-bottom: 28px;
    text-align: left;
}

/* GRID */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

/* TILE */
.related-tile {
    display: block;
    background: #ffffff;
    border: 1px solid #c8e3dc; /* насыщеннее #d5ece6 */
    border-radius: 6px;
    padding: 22px 24px;
    text-decoration: none;
    transition: background .22s ease, transform .22s ease, border-color .22s ease;
}

.related-tile:hover {
    background: #f3faf7; /* чуть более зелёный оттенок */
    border-color: #b7d8cf; /* насыщеннее */
    transform: translateY(-2px);
}

/* TITLE */
.related-tile-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f4f47; /* насыщеннее */
    margin-bottom: 8px;
}

/* TEXT */
.related-tile-text {
    font-size: 0.95rem;
    color: #2f3f3f; /* чуть темнее */
    line-height: 1.55;
}

.page-img {
    max-width: 360px;
}

@media (max-width: 768px) {
    .page-img {
        float: none !important;
        display: block !important;
        margin: 0 auto 24px auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* TRUST PILLS — PREMIUM MEDICAL STYLE */
.trust-pill {
    display: inline-block;
    background: #eef7f4; /* мягкий зелёный, как related-section */
    border: 1px solid #c8e3dc; /* тот же тон, что у плиток */
    padding: 6px 14px;
    border-radius: 6px; /* как у карточек */
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.trust-pill:hover {
    background: #f3faf7; /* чуть светлее, премиум */
    border-color: #b7d8cf;
    transform: translateY(-1px);
}

.trust-pill-link {
    text-decoration: none;
    color: #0f4f47; /* насыщенный зелёный, как заголовки */
    font-weight: 600;
    font-size: 0.92rem;
}

/* FOOTER — PREMIUM, MINIMAL, MEDICAL */
.orlilab-footer {
    background: #eef7f4; /* мягкий зелёный, как related-section */
    border-top: 1px solid #d5ece6; /* тонкая медицинская линия */
}

.orlilab-footer-text {
    font-size: 0.78rem; /* меньше, чем обычный текст */
    color: #3a4a4a; /* спокойный серо-зелёный */
    margin: 0;
    opacity: 0.85; /* делает текст менее заметным */
}

/* SOURCE PILLS — PREMIUM MEDICAL STYLE */
.source-pill {
    display: inline-block;
    background: #eef7f4; /* мягкий зелёный, как related-section */
    border: 1px solid #c8e3dc; /* тот же тон, что у плиток */
    padding: 6px 14px;
    border-radius: 6px; /* как у карточек */
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.source-pill:hover {
    background: #f3faf7; /* чуть светлее */
    border-color: #b7d8cf;
    transform: translateY(-1px);
}

.source-pill-link {
    text-decoration: none;
    color: #0f4f47; /* насыщенный зелёный */
    font-weight: 600;
    font-size: 0.92rem;
}
