/* Biolos.ao — CMS public pages (About, Contact, Terms) */
.hero {
    /* background: linear-gradient(135deg, #0a4f3c 0%, #084734 50%, #0f7558 100%);
      padding: 4.5rem 0 5rem; */
    overflow: hidden;
}

.hero .inner-container {
    background: linear-gradient(135deg, #172538 0%, #1b2e48 100%);
    padding: 0 1.5rem 3rem;
    border-radius: 20px;
    margin: 1.5rem 0px;
}

.cms-hero {
    overflow: hidden;
}

.cms-hero .inner-container {
    position: relative;
    color: #fff;
    padding: 2.5rem 1.5rem 3rem;
}

.cms-hero .inner-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12) 0%, transparent 45%);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.cms-hero.has-image .inner-container {
    background-size: cover;
    background-position: center;
}

.cms-hero.has-image .inner-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #172538 0%, #1b2e48 100%);
    border-radius: inherit;
    z-index: 0;
}

.cms-hero .inner-container > * {
    position: relative;
    z-index: 1;
}

.cms-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: .75rem;
    line-height: 1.15;
}
.cms-hero-subtitle {
    font-size: 1.05rem;
    opacity: .9;
    line-height: 1.6;
    margin-bottom: 0;
}
.cms-breadcrumb {
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: .85rem;
    margin-bottom: 1.25rem;
    opacity: .85;
}
.cms-breadcrumb a { color: #fff; text-decoration: none; }
.cms-breadcrumb a:hover { text-decoration: underline; }

.cms-section { padding: 4rem 0; }
.cms-section.alt { background: #f8f8fa; }
.cms-intro {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.cms-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.cms-stat {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    min-width: 130px;
    text-align: center;
}
.cms-stat-value { font-size: 1.5rem; font-weight: 800; }
.cms-stat-label { font-size: .8rem; opacity: .85; }

.cms-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.cms-feature-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}
.cms-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.cms-feature-img {
    height: 180px;
    background: linear-gradient(135deg, #eae8f5, #d1d9eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cms-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.cms-feature-img .icon-fallback {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--green-brand);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
}
.cms-feature-body { padding: 1.35rem 1.5rem 1.5rem; }
.cms-feature-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; }
.cms-feature-desc { color: var(--text-muted); font-size: .925rem; line-height: 1.6; margin: 0; }

.cms-contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
@media (max-width: 991px) { .cms-contact-layout { grid-template-columns: 1fr; } }

.cms-info-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.cms-info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--green-icon-bg);
    color: var(--green-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.cms-info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: .15rem; }
.cms-info-value { font-weight: 600; font-size: .95rem; margin: 0; }

.cms-form-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.cms-form-card h3 { font-weight: 700; font-size: 1.25rem; margin-bottom: 1.25rem; }

.cms-legal {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.cms-legal h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: .75rem;
    color: var(--green-dark);
}
.cms-legal h3:first-child { margin-top: 0; }
.cms-legal p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }

.cms-topic-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
}
.cms-topic-card i { font-size: 1.5rem; color: var(--green-brand); margin-bottom: .75rem; display: block; }
.cms-topic-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.cms-topic-card p { font-size: .875rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

.cms-faq { max-width: 780px; margin: 0 auto; }
.cms-faq-item {
    border: 1px solid var(--border-light);
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden;
    background: #fff;
}
.cms-faq-item .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--green-dark);
    background: #fff;
    box-shadow: none;
    padding: 1.15rem 1.35rem;
}
.cms-faq-item .accordion-button:not(.collapsed) {
    background: var(--green-icon-bg);
    color: var(--green-dark);
}
.cms-faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.cms-faq-item .accordion-body {
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 1.35rem 1.25rem;
}
