﻿/* =========================================================
   howitworks.css (page-scoped)
   Neuthinking — How It Works Page
   Goal: match Specialist Profile "clean" cards:
   - No "box inside a box"
   - Inner content is flat with divider lines only
   Scope: .nt-how only
   ========================================================= */

.nt-how {
    font-family: "Rubik", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    /* inherit tokens from site.css/core */
    --nt-brand: var(--dv-primary, #2E86E6);
    --nt-brand-ink: var(--nt-blue-ink, #1F6EC4);
    /* fallbacks + derived */
    --nt-soft: rgba(46,134,230,.10);
    --nt-soft2: rgba(46,134,230,.06);
    --nt-ring: rgba(46,134,230,.22);
    --nt-soft2: color-mix(in srgb, var(--nt-brand) 6%, transparent);
    --nt-ring: color-mix(in srgb, var(--nt-brand) 22%, transparent);
    --nt-ink: rgba(15,23,42,0.92);
    --nt-ink2: rgba(15,23,42,0.78);
    --nt-muted: rgba(15,23,42,0.55);
    --nt-border: rgba(15,23,42,0.10);
    --nt-divider: rgba(15,23,42,0.08);
    color: var(--nt-ink);
}

.nt-how-container {
    position:relative;
    padding-left:0;
    padding-right:0;
}

/* =========================================================
   HERO
   ========================================================= */

.nt-how-hero {
    padding: 0px 0 10px;
}

.nt-how-hero-card
{
    border-radius:14px;
}

.nt-how-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: start;
}

.nt-how-title {
    font-weight: 950;
    font-size: 2.05rem;
    letter-spacing: -0.35px;
    margin: 0 0 10px;
}

.nt-how-subtitle {
    color: var(--nt-muted);
    line-height: 1.6;
    margin: 0 0 14px;
    font-size: 1rem;
}

.nt-how-hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.nt-how-btn {
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    min-width: 160px;
}

.nt-how-btn-outline {
    background: transparent;
}

.nt-how-trust {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.nt-how-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--nt-ink2);
    font-weight: 750;
    font-size: .95rem;
    padding-top:8px;
}

.nt-how-trust-ic {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: rgba(15,23,42,.65);
}

.nt-how-hero-body {
    padding: 18px 18px;
}

.nt-how-hero-left {
    min-width: 0;
}

.nt-how-hero-right {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.nt-how-hero-imgwrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.nt-how-hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin-top:5px;
}

/* Slightly reduce on smaller desktop widths */
@media (max-width: 1199.98px) {
    .nt-how-hero-imgwrap {
    }
}

/* Mobile: stacks already due to your existing hero-grid media query */
@media (max-width: 991.98px) {
    .nt-how-hero-right {
        justify-content: flex-start;
    }

    .nt-how-hero-imgwrap {
        max-width: 100%;
    }
}

/* =========================================================
   SECTION + CARD (match profile feel)
   ========================================================= */

.nt-how-section {
    padding: 12px 0;
}

.nt-how-card,
.nt-how-cta-card {
    overflow: hidden;
    background: #fff;
}

.nt-how-card-head {
    background: #fff;
    border-bottom: 1px solid var(--nt-border);
    padding: 14px 18px;
}

.nt-how-card-title {
    font-weight: 950;
    font-size: 1.4rem;
    line-height: 1.15;
    letter-spacing: -0.2px;
}

.nt-how-card-sub {
    color: var(--nt-muted);
    font-size: .95rem;
    margin-top: 4px;
    line-height: 1.5;
}

.nt-how-card-body {
    padding: 16px 18px;
}

/* =========================================================
   CLEAN INNER GRIDS (no mini boxes; only dividers)
   ========================================================= */

.nt-how-grid {
    display: grid;
    gap: 0;
    background: #fff;
}

/* 4-column + dividers (like your flat testimonials grid) */
.nt-how-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nt-how-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-how-cell {
    padding: 14px 16px;
    min-height: 86px;
}

/* vertical dividers */
.nt-how-grid-4 .nt-how-cell + .nt-how-cell,
.nt-how-grid-3 .nt-how-cell + .nt-how-cell {
    border-left: 1px solid var(--nt-divider);
}

/* Booking flow: slightly tighter min height */
.nt-how-grid.nt-how-grid-4 .nt-how-cell {
    min-height: 92px;
}

/* Cell top */
.nt-how-cell-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.nt-how-num {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 1px solid rgba(15,23,42,0.10);
    background: rgba(15,23,42,0.02);
    display: grid;
    place-items: center;
    font-weight: 950;
    color: rgba(15,23,42,0.72);
    font-size: 1.2rem;
}

.nt-how-cell-title {
    font-weight: 900;
    font-size: .98rem;
    color: rgba(15,23,42,0.88);
}

.nt-how-cell-text {
    color: rgba(15,23,42,0.72);
    line-height: 1.6;
    font-size: .95rem;
}

.nt-how-mini-title {
    font-weight: 950;
    margin-bottom: 8px;
    color: rgba(15,23,42,0.86);
}

/* Session types “featured” middle pane: tint only (NOT a box) */
.nt-how-types .nt-how-cell-featured {
    background: var(--nt-soft2);
}

/* type head */
.nt-how-type-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.nt-how-type-title {
    font-weight: 950;
    font-size: 1.05rem;
    color: rgba(15,23,42,0.90);
}

.nt-how-type-sub {
    color: rgba(15,23,42,0.55);
    font-weight: 750;
    font-size: .95rem;
}

/* Bullets inside panes (no outer box) */
.nt-how-bullets {
    margin: 0;
    padding-left: 1.05rem;
}

    .nt-how-bullets li {
        padding: 4px 0;
        line-height: 1.65;
        color: rgba(15,23,42,0.72);
    }

/* Note row (single clean band, not a nested box) */
.nt-how-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--nt-divider);
    color: rgba(15,23,42,0.62);
    font-size: .95rem;
}

/* =========================================================
   BEFORE YOUR SESSION (clean rows; no inner bordered container)
   ========================================================= */

.nt-how-list {
    display: flex;
    flex-direction: column;
}

.nt-how-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    color: rgba(15,23,42,0.76);
    line-height: 1.6;
    font-size: .98rem;
}

    .nt-how-row + .nt-how-row {
        border-top: 1px solid var(--nt-divider);
    }

.nt-how-row-ic {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: rgba(15,23,42,.65);
    transform: translateY(2px);
}

/* =========================================================
   FINAL CTA (matches profile CTA style)
   ========================================================= */

.nt-how-final {
    padding: 12px 0 28px;
}

.nt-how-cta-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.nt-how-cta-title {
    font-weight: 950;
    font-size: 1.35rem;
    letter-spacing: -0.2px;
    color: rgba(15,23,42,.90);
}

.nt-how-cta-sub {
    margin-top: 5px;
    font-size: 0.95rem;
}

.nt-how-cta-actions {
    display: flex;
    gap: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
    .nt-how-hero-grid {
        grid-template-columns: 1fr;
    }

    /* stack grids to single column */
    .nt-how-grid-4,
    .nt-how-grid-3 {
        grid-template-columns: 1fr;
    }

        /* remove vertical dividers, use horizontal */
        .nt-how-grid-4 .nt-how-cell + .nt-how-cell,
        .nt-how-grid-3 .nt-how-cell + .nt-how-cell {
            border-left: 0;
            border-top: 1px solid var(--nt-divider);
        }

    .nt-how-cta-body {
        flex-direction: column;
        align-items: stretch;
    }

    .nt-how-cta-actions {
        width: 100%;
    }

    .nt-how-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .nt-how-card-body {
        padding: 14px 14px;
    }

    .nt-how-card-head {
        padding: 14px 14px;
    }

    .nt-how-title {
        font-size: 1.65rem;
    }
}
