/* =========================================================
   NerveCalm — Custom Stylesheet
   Mobirise structure preserved, ZERO Mobirise dependencies
   - Blue title sections (info3 bands)
   - iOS/iPhone optimized (safe-area, no zoom, smooth scroll)
   - Mobile-first responsive
   ========================================================= */

:root {
    --nv-primary:    #0d4f8b;
    --nv-primary-d:  #093a68;
    --nv-primary-l:  #1a6bb0;
    --nv-secondary:  #ff8a00;
    --nv-secondary-d:#e07700;
    --nv-warning:    #ffb800;
    --nv-warning-d:  #e0a200;
    --nv-danger:     #e53e2c;
    --nv-success:    #2ea54a;
    --nv-text:       #232323;
    --nv-text-soft:  #4f5460;
    --nv-muted:      #6f7689;
    --nv-bg-soft:    #f4f7fb;
    --nv-bg-card:    #ffffff;
    --nv-border:     #e2e6ee;
    --nv-blue-band:  linear-gradient(90deg, #0d4f8b 0%, #1a6bb0 50%, #0d4f8b 100%);
}

* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* iOS no auto zoom */
    text-size-adjust: 100%;
}
body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--nv-text);
    line-height: 1.65;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    padding-bottom: 70px;
    overflow-x: hidden;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

/* iOS safe area for sticky CTA */
@supports (padding: env(safe-area-inset-bottom)) {
    .sticky-cta {
        padding-bottom: calc(0.6rem + env(safe-area-inset-bottom)) !important;
    }
}

img { max-width: 100%; height: auto; }
a { transition: color 0.2s ease; }

/* Mobirise utility helpers */
.mbr-fonts-style { font-family: 'Jost', sans-serif; }
.display-1 { font-size: 2.6rem; font-weight: 700; line-height: 1.2; }
.display-2 { font-size: 2rem;   font-weight: 700; line-height: 1.25; }
.display-3 { font-size: 1.6rem; font-weight: 600; line-height: 1.3; }
.display-4 { font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.display-5 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.display-7 { font-size: 1.05rem; font-weight: 400; line-height: 1.7; }
@media (max-width: 991px) {
    .display-1 { font-size: 2.1rem; }
    .display-2 { font-size: 1.6rem; }
    .display-5 { font-size: 1.25rem; }
}
@media (max-width: 576px) {
    .display-1 { font-size: 1.75rem; }
    .display-2 { font-size: 1.35rem; }
    .display-5 { font-size: 1.1rem; }
    .display-7 { font-size: 1rem; }
}

.align-center { text-align: center; }
.align-left { text-align: left; }
.text-primary { color: var(--nv-primary) !important; }
.text-white { color: #fff !important; }
.mbr-white { color: #fff; }
.mbr-text { color: var(--nv-text); }
.w-100 { width: 100%; }
.mbr-iconfont { font-style: normal; }
.mbr-iconfont-btn { margin-right: 0.45rem; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-block;
    border-radius: 50px;
    padding: 0.75rem 1.7rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.5;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.btn-primary {
    background: var(--nv-primary);
    border-color: var(--nv-primary);
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--nv-primary-d);
    border-color: var(--nv-primary-d);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 79, 139, 0.35);
}
.btn-primary-outline {
    background: transparent;
    border-color: var(--nv-primary);
    color: var(--nv-primary) !important;
}
.btn-primary-outline:hover, .btn-primary-outline:focus {
    background: var(--nv-primary);
    color: #fff !important;
    transform: translateY(-1px);
}
.btn-warning {
    background: linear-gradient(135deg, var(--nv-warning) 0%, var(--nv-secondary) 100%);
    border-color: var(--nv-secondary);
    color: #1a1a1a !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.25);
}
.btn-warning:hover, .btn-warning:focus {
    background: linear-gradient(135deg, var(--nv-secondary) 0%, var(--nv-secondary-d) 100%);
    border-color: var(--nv-secondary-d);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.45);
}
.btn-danger {
    background: var(--nv-danger);
    border-color: var(--nv-danger);
    color: #fff !important;
    font-weight: 700;
}
.btn-danger:hover, .btn-danger:focus {
    background: #c92e1e;
    border-color: #c92e1e;
    color: #fff;
    transform: translateY(-1px);
}
.mbr-section-btn { display: inline-block; }
.mbr-section-btn .btn { margin: 0.25rem 0.4rem 0.25rem 0; }
.navbar-buttons.mbr-section-btn { display: flex; }

/* =========================================================
   NAVBAR (menu menu2)
   ========================================================= */
.menu.menu2 {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
}
.navbar-dropdown {
    background: #fff;
    border-bottom: 1px solid var(--nv-border);
    padding: 0.85rem 0;
    box-shadow: 0 2px 8px rgba(13, 79, 139, 0.06);
    transition: box-shadow 0.25s ease;
}
.navbar-dropdown.scrolled { box-shadow: 0 4px 14px rgba(13, 79, 139, 0.12); }
.navbar-dropdown .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.navbar-brand { flex-shrink: 0; margin: 0; padding: 0; }
.navbar-brand .navbar-caption {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 1.6rem !important;
    color: var(--nv-primary) !important;
    text-decoration: none;
    letter-spacing: -0.5px;
    line-height: 1;
}
.navbar-brand .navbar-caption:hover { color: var(--nv-primary-d) !important; }

.navbar-collapse {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}
.navbar-nav.nav-dropdown {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item .nav-link {
    color: var(--nv-text) !important;
    font-weight: 600;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    display: block;
}
.nav-item .nav-link:hover {
    color: var(--nv-primary) !important;
    background: rgba(13, 79, 139, 0.06);
}
.nav-item .nav-link.active { color: var(--nv-primary) !important; }
.nav-item .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--nv-primary);
    border-radius: 2px;
}

.navbar-toggler {
    display: none;
    border: none;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.hamburger { width: 26px; height: 22px; position: relative; display: block; }
.hamburger span {
    display: block; position: absolute; height: 3px; width: 100%;
    background: var(--nv-primary); border-radius: 2px; left: 0;
    transition: 0.25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2), .hamburger span:nth-child(3) { top: 9px; }
.hamburger span:nth-child(4) { top: 18px; }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(1),
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(4) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(2) { transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .hamburger span:nth-child(3) { transform: rotate(-45deg); }

.navbar-buttons.mbr-section-btn {
    display: flex;
    flex-shrink: 0;
    margin-left: 0.5rem;
}
.navbar-buttons .btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.92rem;
}

@media (max-width: 1199px) {
    .nav-item .nav-link { padding: 0.5rem 0.65rem !important; font-size: 0.9rem !important; }
}
@media (max-width: 991px) {
    .navbar-toggler { display: block; }
    .navbar-dropdown .container { flex-wrap: wrap; }
    .navbar-collapse {
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        margin-top: 0.5rem;
    }
    .navbar-collapse.show {
        max-height: 600px;
        opacity: 1;
        padding: 0.85rem 0 0.25rem;
        border-top: 1px solid var(--nv-border);
    }
    .navbar-nav.nav-dropdown { flex-direction: column; width: 100%; gap: 0; }
    .navbar-nav.nav-dropdown .nav-item { width: 100%; border-bottom: 1px solid var(--nv-border); }
    .navbar-nav.nav-dropdown .nav-item:last-child { border-bottom: none; }
    .nav-item .nav-link {
        padding: 0.85rem 0.5rem !important;
        font-size: 1rem !important;
        border-radius: 0;
    }
    .nav-item .nav-link:hover { background: var(--nv-bg-soft); }
    .nav-item .nav-link.active::after { display: none; }
    .navbar-buttons.mbr-section-btn { margin: 0.85rem 0 0.25rem; width: 100%; }
    .navbar-buttons .btn { width: 100%; padding: 0.75rem 1rem; }
}

/* =========================================================
   OFFER BANNER (after menu)
   ========================================================= */
.offer-banner {
    background: linear-gradient(90deg, #ffb800 0%, #ff8a00 100%);
    padding: 0.7rem 1rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.offer-banner a { color: #1a1a1a; text-decoration: underline; }
@media (max-width: 576px) {
    .offer-banner { font-size: 0.82rem; padding: 0.55rem 0.75rem; }
}

/* =========================================================
   HEADER14 — Hero
   ========================================================= */
.header14 {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #f4f8fc 0%, #e8f1fa 100%);
}
.header14 .image-wrapper { text-align: center; }
.header14 .image-wrapper img {
    max-width: 100%;
    border-radius: 14px;
}
.header14 .text-wrapper { padding: 0 1rem; }
.header14 h1.mbr-section-title {
    color: var(--nv-primary-d);
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}
.header14 h2.mbr-section-title {
    color: var(--nv-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.header14 .mbr-text {
    color: var(--nv-text-soft);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.header14 .mbr-text strong { color: var(--nv-text); }
.hero-rating {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.7);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    border: 1px solid var(--nv-border);
}
.hero-rating .stars { color: var(--nv-warning); letter-spacing: 0.15em; font-size: 1.05rem; }
.hero-rating strong { color: var(--nv-primary-d); }
@media (max-width: 991px) {
    .header14 { padding: 2rem 0; }
    .header14 .image-wrapper { margin-bottom: 1.5rem; }
    .header14 .image-wrapper img { max-width: 320px; margin: 0 auto; }
    .header14 .text-wrapper { padding: 0; text-align: center; }
}

/* =========================================================
   CONTENT4 — TITLE SECTION (BLUE BAND for all titles)
   ========================================================= */
.content4 {
    background: var(--nv-blue-band);
    padding: 2.5rem 0;
}
.content4 .mbr-section-title {
    color: #fff !important;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    letter-spacing: -0.3px;
    margin: 0;
    text-align: center;
}
.content4 .mbr-section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 2px;
    margin: 0.85rem auto 0;
}
.content4 .mbr-section-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
    margin-top: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.content4 strike { color: rgba(255,255,255,0.6); }
.content4 .btn { margin-top: 0.5rem; }
@media (max-width: 768px) {
    .content4 { padding: 1.75rem 0; }
    .content4 .mbr-section-title { font-size: 1.4rem; }
}

/* =========================================================
   TEAM1 — Trust badges + Reviews
   ========================================================= */
.team1 { padding: 3rem 0; background: var(--nv-bg-soft); }
.team1 .card-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--nv-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(13,79,139,0.04);
}
.team1 .card-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(13, 79, 139, 0.10);
}
.team1 .image-wrap { margin-bottom: 1rem; }
.team1 .image-wrap img {
    max-height: 110px;
    margin: 0 auto;
    object-fit: contain;
    display: block;
}
.team1 .card-title {
    color: var(--nv-primary);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.team1 .card-text {
    font-size: 0.95rem;
    color: var(--nv-text-soft);
    margin: 0;
}
.team1 .col-sm-6, .team1 .col-lg-3 { margin-bottom: 1.25rem; }

/* Reviews testimonial style (#team1-1i overrides) */
.JCB { padding: 0; }
.mbr-testimonial {
    margin-bottom: 1.5rem;
}
.panel-item.JCB_User {
    background: #fff;
    border: 1px solid var(--nv-border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(13,79,139,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.panel-item.JCB_User:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(13,79,139,0.10);
}
.testimonial-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--nv-primary);
    padding: 3px;
    background: #fff;
}
.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.StarBox { margin-bottom: 0.5rem; }
.StarBox img {
    max-height: 24px;
    width: auto;
}
.panel-item .mbr-text {
    color: var(--nv-text-soft);
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 1rem;
}
.card-footer {
    text-align: center;
    border-top: 1px solid var(--nv-border);
    padding-top: 0.75rem;
    background: transparent;
}
.mbr-author-name {
    color: var(--nv-primary-d);
    font-weight: 700;
    font-size: 0.95rem;
}

/* =========================================================
   HEADER11 — image+text rows (What is, Guarantee)
   ========================================================= */
.header11 {
    padding: 3rem 0;
    background: #fff;
}
.header11 .image-wrapper { text-align: center; }
.header11 .image-wrapper img {
    max-width: 100%;
    border-radius: 14px;
}
.header11 .text-wrapper { padding: 0 1rem; }
.header11 .mbr-text {
    color: var(--nv-text-soft);
    line-height: 1.75;
    text-align: left;
}
.header11 .mbr-text b, .header11 .mbr-text strong { color: var(--nv-primary-d); }
.header11 .mbr-text a { color: var(--nv-primary); text-decoration: underline; }

/* Guarantee block variant */
#header11-j {
    background: linear-gradient(135deg, #fff 0%, #fff8e6 100%);
    border-top: 1px solid var(--nv-border);
    border-bottom: 1px solid var(--nv-border);
}
#header11-j .image-wrapper img {
    max-width: 260px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 20px rgba(13, 79, 139, 0.18));
    border-radius: 0;
}
@media (max-width: 991px) {
    .header11 .text-wrapper { padding-top: 1.5rem; text-align: center; }
    .header11 .text-wrapper .mbr-text { text-align: center; }
}

/* =========================================================
   CONTENT5 — Long content (How It Works)
   ========================================================= */
.content5 {
    padding: 2.5rem 0 3rem;
    background: #fff;
}
.content5 .mbr-text {
    color: var(--nv-text-soft);
    line-height: 1.8;
    font-size: 1.05rem;
}
.content5 .mbr-text strong { color: var(--nv-primary-d); }
.content5 a { color: var(--nv-primary); text-decoration: underline; }

/* =========================================================
   CONTENT8 — Lists (Ingredients, Pricing details)
   ========================================================= */
.content8 {
    padding: 1.5rem 0 3rem;
    background: #fff;
}
.content8 .mbr-text { font-size: 1.05rem; line-height: 1.8; }
.content8 .mbr-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.content8 .mbr-text ul li {
    background: var(--nv-bg-soft);
    border-left: 4px solid var(--nv-primary);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.85rem;
    color: var(--nv-text-soft);
    line-height: 1.7;
}
.content8 .mbr-text ul li strong {
    color: var(--nv-primary-d);
    font-weight: 700;
}

/* =========================================================
   IMAGE3 — Pricing image (clickable, opens /order)
   ========================================================= */
.image3 {
    padding: 1.5rem 0 2rem;
    background: var(--nv-bg-soft);
}
.image3 .image-wrapper {
    text-align: center;
    position: relative;
}
.image3 .image-wrapper a {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(13, 79, 139, 0.18);
}
.image3 .image-wrapper a:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(13, 79, 139, 0.28);
}
.image3 .image-wrapper img {
    max-width: 100%;
    display: block;
}
.image3 .pricing-cta-row {
    margin-top: 1.5rem;
    text-align: center;
}
.image3 .pricing-cta-row .btn { margin: 0.4rem; }

/* =========================================================
   CONTENT13 — Footer link section
   ========================================================= */
.content13 {
    padding: 2rem 0 1rem;
    background: #0a2c4d;
    color: #d4dfee;
}
.content13 .list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.content13 .list li {
    margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
}
.content13 .list li:last-child { border-bottom: none; }
.content13 .list li a {
    color: #d4dfee !important;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}
.content13 .list li a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* =========================================================
   FOOTER3
   ========================================================= */
.footer3 {
    background: #08233f;
    padding: 2rem 0 1.5rem;
    color: #98a8c0;
}
.footer3 .soc-item p {
    color: #98a8c0 !important;
    font-size: 0.85rem !important;
    line-height: 1.7;
    max-width: 950px;
    margin: 0 auto;
}
.footer3 .row-copirayt p { color: #98a8c0 !important; font-size: 0.92rem; margin-top: 1rem; }
.footer3 a { color: #d4dfee; }

/* =========================================================
   FAQ (content16-style — native details accordion)
   ========================================================= */
.content16 {
    padding: 1rem 0 4rem;
    background: var(--nv-bg-soft);
}
.faq-list-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}
.faq-card {
    background: #fff;
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(13,79,139,0.04);
}
.faq-card summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--nv-text);
    background: #fff;
    transition: background 0.2s ease, color 0.2s ease;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary:hover { background: var(--nv-bg-soft); color: var(--nv-primary); }
.faq-card[open] summary {
    background: var(--nv-primary);
    color: #fff;
}
.faq-plus {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--nv-primary);
    width: 24px;
    text-align: center;
}
.faq-card[open] .faq-plus {
    transform: rotate(45deg);
    color: #fff;
}
.faq-body {
    padding: 1.15rem 1.25rem 1.25rem;
    background: var(--nv-bg-soft);
    color: var(--nv-text-soft);
    line-height: 1.75;
    font-size: 1rem;
}
.faq-body p { margin: 0; }

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1029;
    padding: 0.6rem 0.85rem;
    background: rgba(15, 17, 21, 0.96);
    border-top: 1px solid rgba(255, 184, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sticky-cta .btn {
    width: 100%;
    border-radius: 50px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
}

/* =========================================================
   LEGAL & SUBPAGE CONTENT
   ========================================================= */
.legal-page, .subpage-content {
    padding: 3rem 0 4rem;
    background: var(--nv-bg-soft);
}
.legal-page h2, .subpage-content h2 {
    font-size: 1.4rem;
    color: var(--nv-primary-d);
    font-weight: 800;
    border-bottom: 2px solid var(--nv-primary);
    display: inline-block;
    padding-bottom: 0.3rem;
    margin: 1.75rem 0 0.75rem;
}
.legal-page h3, .subpage-content h3 {
    font-size: 1.15rem;
    color: var(--nv-primary);
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
}
.legal-page p, .subpage-content p {
    color: var(--nv-text-soft);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.legal-page ul, .subpage-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1.25rem;
}
.legal-page ul li, .subpage-content ul li {
    color: var(--nv-text-soft);
    margin-bottom: 0.5rem;
    line-height: 1.65;
}
.legal-page a, .subpage-content a {
    color: var(--nv-primary);
    text-decoration: underline;
    font-weight: 500;
}
.legal-page a:hover, .subpage-content a:hover { color: var(--nv-primary-d); }
.legal-updated {
    background: #fff;
    border-left: 4px solid var(--nv-primary);
    padding: 0.85rem 1.1rem;
    border-radius: 0 8px 8px 0;
    color: var(--nv-text);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 10px rgba(13,79,139,0.05);
}

/* Internal-link callout for cross-linking blogs/subpages */
.related-reads {
    background: #fff;
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    padding: 1.5rem 1.5rem;
    margin: 2.5rem 0 0;
    box-shadow: 0 4px 14px rgba(13,79,139,0.06);
}
.related-reads h3 {
    color: var(--nv-primary-d) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 1rem !important;
}
.related-reads ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.related-reads li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--nv-border);
}
.related-reads li:last-child { border-bottom: none; }
.related-reads li a {
    color: var(--nv-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.related-reads li a:hover {
    color: var(--nv-primary-d);
    padding-left: 4px;
    text-decoration: underline;
}
.related-reads li a::before {
    content: "→ ";
    color: var(--nv-secondary);
    margin-right: 0.25rem;
}

/* Blog index list */
.blog-index {
    padding: 3rem 0 4rem;
    background: var(--nv-bg-soft);
}
.blog-card {
    background: #fff;
    border: 1px solid var(--nv-border);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(13,79,139,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13,79,139,0.12);
}
.blog-card h3 { color: var(--nv-primary-d); font-weight: 700; font-size: 1.3rem; margin: 0 0 0.5rem; }
.blog-card .blog-meta {
    color: var(--nv-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.blog-card p { color: var(--nv-text-soft); margin: 0 0 1rem; }
.blog-card a.blog-cta {
    color: var(--nv-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--nv-primary);
    padding-bottom: 1px;
}
.blog-card a.blog-cta:hover { color: var(--nv-primary-d); border-color: var(--nv-primary-d); }

/* Fade-in */
.fade-init {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-init.is-visible { opacity: 1; transform: translateY(0); }

/* iOS smooth tap */
button, a, input { -webkit-tap-highlight-color: transparent; }

/* Scroll-to-top button */
.scrollToTop {
    position: fixed;
    bottom: 80px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: var(--nv-primary);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(13,79,139,0.35);
    z-index: 1028;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scrollToTop.is-visible { opacity: 1; visibility: visible; }
.scrollToTop:hover { background: var(--nv-primary-d); transform: translateY(-2px); }
.scrollToTop::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
    transform: rotate(-45deg);
    margin-top: 4px;
}
@media (min-width: 992px) {
    .scrollToTop { bottom: 24px; }
}
