/* ============================================================
   BATHROOM MODIFICATION COST CALCULATOR — PAGE TEMPLATE STYLES
   Prefix: bmctp- (Bathroom Mod Calc Template Page)
   Color system: Sage green / warm sand — soft, spa-like wellness
   palette. Layout: centered "journal" cards — completely
   different from matp- (gradient hero), hmtp- (gradient hero),
   hsctp- (gradient hero), wrctp- (blueprint), wittp- (ocean
   two-column), sltp- (magazine masthead).
   ============================================================ */

.bmctp-page {
    --bmctp-sage:       #5f7461;
    --bmctp-sage-dark:  #455647;
    --bmctp-sage-light: #eef2ed;
    --bmctp-sand:       #c89b6f;
    --bmctp-sand-dark:  #a87c50;
    --bmctp-cream:      #faf7f2;
    --bmctp-text:       #2b2b27;
    --bmctp-muted:      #6e6a62;
    --bmctp-border:     #e3ddd1;
    --bmctp-white:      #ffffff;
    --bmctp-font:       'Inter', -apple-system, sans-serif;
    --bmctp-font-h:     'Lora', Georgia, serif;
}

/* ── TOP BAND — centered, no image, soft sage ────────────── */
.bmctp-topband {
    background: var(--bmctp-sage-light);
    padding: 18px 0;
    border-bottom: 1px solid var(--bmctp-border);
}

.bmctp-topband-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.bmctp-topband-text {
    font-size: 13px;
    color: var(--bmctp-sage-dark);
    font-weight: 600;
}

.bmctp-topband-icon { font-size: 15px; }

/* ── HERO — centered journal-style, no gradient ──────────── */
.bmctp-hero {
    background: var(--bmctp-cream);
    padding: 56px 0 0;
    text-align: center;
}

.bmctp-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.bmctp-hero-icon-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.bmctp-hero-icon-chip {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bmctp-white);
    border: 1.5px solid var(--bmctp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.bmctp-hero-h1 {
    font-family: var(--bmctp-font-h) !important;
    font-size: clamp(28px, 5vw, 42px) !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    line-height: 1.2 !important;
    margin: 0 0 18px !important;
    letter-spacing: -0.01em !important;
}

.bmctp-hero-h1 .bmctp-accent { color: var(--bmctp-sand-dark); }

.bmctp-hero-sub {
    font-size: 17px;
    color: var(--bmctp-muted);
    line-height: 1.8;
    margin: 0 auto 32px;
    max-width: 560px;
}

/* Pill stat row */
.bmctp-pill-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 48px;
}

.bmctp-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bmctp-white);
    border: 1.5px solid var(--bmctp-border);
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bmctp-text);
}

.bmctp-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bmctp-sand);
    flex-shrink: 0;
}

/* ── Curved divider between hero and content ─────────────── */
.bmctp-curve-divider {
    height: 50px;
    background: var(--bmctp-cream);
    position: relative;
    overflow: hidden;
}

.bmctp-curve-divider svg {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 50px;
}

/* ── Main wrapper ─────────────────────────────────────────── */
.bmctp-main { background: var(--bmctp-white); }

.bmctp-container {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── Opening — 2 paragraphs, journal entry style ─────────── */
.bmctp-journal-entry {
    padding: 8px 0 0;
}

.bmctp-journal-h2 {
    font-family: var(--bmctp-font-h) !important;
    font-size: clamp(23px, 4vw, 30px) !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    line-height: 1.3 !important;
    margin: 0 0 8px !important;
    text-align: center;
}

.bmctp-journal-sub {
    font-size: 14px;
    color: var(--bmctp-sand-dark);
    font-style: italic;
    text-align: center;
    margin: 0 0 32px;
    font-family: var(--bmctp-font-h);
}

.bmctp-journal-p {
    font-size: 16.5px;
    color: var(--bmctp-text);
    line-height: 1.95;
    margin: 0 0 22px;
}

.bmctp-journal-p strong { color: var(--bmctp-sage-dark); }
.bmctp-journal-p a { color: var(--bmctp-sand-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(168,124,80,0.4); text-underline-offset: 2px; }
.bmctp-journal-p a:hover { text-decoration-color: var(--bmctp-sand-dark); }

/* ── Tool embed — soft card, not full-bleed ──────────────── */
.bmctp-tool-card {
    background: var(--bmctp-sage-light);
    border-radius: 24px;
    padding: 40px 0;
    margin: 44px 0 0;
    border: 1px solid var(--bmctp-border);
}

.bmctp-tool-card-header {
    text-align: center;
    margin-bottom: 26px;
    padding: 0 24px;
}

.bmctp-tool-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bmctp-sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}

.bmctp-tool-card-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--bmctp-sage-dark);
    display: block;
    margin-bottom: 8px;
}

.bmctp-tool-card-h2 {
    font-family: var(--bmctp-font-h) !important;
    font-size: clamp(20px, 3.5vw, 25px) !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* ── Section pattern — centered icon badge + title ───────── */
.bmctp-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--bmctp-border);
}

.bmctp-section:last-child { border-bottom: none; }

.bmctp-section-head {
    text-align: center;
    margin-bottom: 30px;
}

.bmctp-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bmctp-sand);
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.bmctp-section-h2 {
    font-family: var(--bmctp-font-h) !important;
    font-size: clamp(21px, 3.5vw, 27px) !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.bmctp-body-p {
    font-size: 15.5px;
    color: var(--bmctp-text);
    line-height: 1.9;
    margin: 0 0 18px;
}

.bmctp-body-p:last-child { margin-bottom: 0; }
.bmctp-body-p strong { color: var(--bmctp-sage-dark); }
.bmctp-body-p a { color: var(--bmctp-sand-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(168,124,80,0.4); text-underline-offset: 2px; }
.bmctp-body-p a:hover { text-decoration-color: var(--bmctp-sand-dark); }

/* ── Modification cards — soft rounded, icon left ────────── */
.bmctp-mod-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.bmctp-mod-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bmctp-cream);
    border-radius: 16px;
    padding: 20px 22px;
    border: 1px solid var(--bmctp-border);
}

.bmctp-mod-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bmctp-white);
    border: 1.5px solid var(--bmctp-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.bmctp-mod-body { flex: 1; min-width: 0; }

.bmctp-mod-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.bmctp-mod-body h3 {
    font-family: var(--bmctp-font-h) !important;
    font-size: 16.5px !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}

.bmctp-mod-price {
    font-family: var(--bmctp-font-h);
    font-size: 15px;
    font-weight: 700;
    color: var(--bmctp-sand-dark);
    white-space: nowrap;
}

.bmctp-mod-body p {
    font-size: 14px !important;
    color: var(--bmctp-muted) !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}

/* ── Soft stat row — pill style, not card grid ───────────── */
.bmctp-stat-pills {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.bmctp-stat-pill {
    background: var(--bmctp-cream);
    border: 1px solid var(--bmctp-border);
    border-radius: 16px;
    padding: 22px 26px;
    text-align: center;
    min-width: 150px;
}

.bmctp-stat-pill-num {
    font-family: var(--bmctp-font-h);
    font-size: 26px;
    font-weight: 700;
    color: var(--bmctp-sand-dark);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.bmctp-stat-pill-lbl {
    font-size: 12.5px;
    color: var(--bmctp-muted);
    line-height: 1.5;
}

/* ── Callout — soft rounded, sage border ─────────────────── */
.bmctp-callout {
    background: var(--bmctp-sage-light);
    border: 1px solid var(--bmctp-sage);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 28px 0;
}

.bmctp-callout-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--bmctp-sage-dark);
    margin-bottom: 10px;
}

.bmctp-callout p {
    font-size: 15px !important;
    color: var(--bmctp-text) !important;
    line-height: 1.85 !important;
    margin: 0 !important;
}

.bmctp-callout p a { color: var(--bmctp-sand-dark); font-weight: 600; }

/* ── Internal link cluster — rounded chip list ───────────── */
.bmctp-link-cluster {
    background: var(--bmctp-cream);
    border-radius: 20px;
    padding: 30px 28px;
    margin: 36px 0;
    border: 1px solid var(--bmctp-border);
}

.bmctp-link-cluster-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--bmctp-sage-dark);
    margin-bottom: 18px;
}

.bmctp-link-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bmctp-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bmctp-white);
    border: 1.5px solid var(--bmctp-border);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bmctp-text);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.bmctp-link-chip:hover {
    border-color: var(--bmctp-sand);
    background: var(--bmctp-sand);
    color: #fff;
}

/* ── Dark-ish sage band — for stats/closing argument ─────── */
.bmctp-sage-band {
    background: var(--bmctp-sage-dark);
    padding: 60px 0;
}

.bmctp-sage-band .bmctp-section-badge { background: var(--bmctp-sand); }

.bmctp-sage-h2 {
    font-family: var(--bmctp-font-h) !important;
    font-size: clamp(21px, 3.5vw, 27px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.bmctp-sage-p {
    font-size: 15.5px;
    color: rgba(255,255,255,0.78);
    line-height: 1.9;
    margin: 24px 0 0;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.bmctp-sage-p a { color: var(--bmctp-sand); font-weight: 600; }

.bmctp-sage-stats {
    display: flex;
    justify-content: center;
    gap: 1px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 28px;
}

.bmctp-sage-stat {
    flex: 1;
    background: rgba(255,255,255,0.04);
    padding: 24px 16px;
    text-align: center;
}

.bmctp-sage-stat-num {
    font-family: var(--bmctp-font-h);
    font-size: 27px;
    font-weight: 700;
    color: var(--bmctp-sand);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.bmctp-sage-stat-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

/* ── Assistance — soft list cards ─────────────────────────── */
.bmctp-assist-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.bmctp-assist-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bmctp-cream);
    border-radius: 16px;
    padding: 18px 22px;
    border: 1px solid var(--bmctp-border);
}

.bmctp-assist-chip {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 11px;
    border-radius: 20px;
    white-space: nowrap;
    margin-top: 3px;
}

.bmctp-chip-state     { background:#ece4f7; color:#6d4ba8; }
.bmctp-chip-veterans  { background:#dde8f5; color:#2c5d96; }
.bmctp-chip-federal   { background:#f7eedd; color:#9a6b1f; }
.bmctp-chip-insurance { background:#e0f0e3; color:#357046; }
.bmctp-chip-tax       { background:#dcf0ed; color:#1c7567; }

.bmctp-assist-item h3 {
    font-family: var(--bmctp-font-h) !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    margin: 0 0 5px !important;
    line-height: 1.35 !important;
}

.bmctp-assist-item p {
    font-size: 13.5px !important;
    color: var(--bmctp-muted) !important;
    line-height: 1.75 !important;
    margin: 0 0 8px !important;
}

.bmctp-assist-item a {
    font-size: 13px;
    font-weight: 700;
    color: var(--bmctp-sand-dark) !important;
    text-decoration: underline !important;
}

/* ── FAQ — soft cream cards ───────────────────────────────── */
.bmctp-faq-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bmctp-faq-item {
    background: var(--bmctp-cream);
    border-radius: 14px;
    border: 1px solid var(--bmctp-border);
    overflow: hidden;
}

.bmctp-faq-q {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 19px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--bmctp-font-h);
    font-size: 16px;
    font-weight: 700;
    color: var(--bmctp-text);
    text-align: left;
    line-height: 1.4;
    transition: color 0.18s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.bmctp-faq-q:hover { color: var(--bmctp-sand-dark); }
.bmctp-faq-q[aria-expanded="true"] { color: var(--bmctp-sand-dark); }
.bmctp-faq-q:focus-visible { outline: 2px solid var(--bmctp-sage); outline-offset: -2px; }

.bmctp-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bmctp-white);
    color: var(--bmctp-sand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bmctp-faq-a { padding: 0 22px 22px; }
.bmctp-faq-a[hidden] { display: none; }

.bmctp-faq-a p {
    font-size: 14.5px !important;
    color: var(--bmctp-muted) !important;
    line-height: 1.85 !important;
    margin: 0 !important;
}

.bmctp-faq-cta {
    font-size: 15px;
    color: var(--bmctp-muted);
    text-align: center;
    padding: 24px 0 0;
}

.bmctp-faq-cta a { color: var(--bmctp-sand-dark); font-weight: 600; text-decoration: underline; }

/* ── Closing — soft rounded, sage button ─────────────────── */
.bmctp-closing {
    background: var(--bmctp-sage-light);
    border-radius: 24px;
    padding: 52px 44px;
    text-align: center;
    border: 1px solid var(--bmctp-border);
}

.bmctp-closing-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bmctp-sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.bmctp-closing-h2 {
    font-family: var(--bmctp-font-h) !important;
    font-size: clamp(22px, 3.5vw, 28px) !important;
    font-weight: 700 !important;
    color: var(--bmctp-text) !important;
    margin: 0 0 14px !important;
    line-height: 1.25 !important;
}

.bmctp-closing-p {
    font-size: 15.5px;
    color: var(--bmctp-muted);
    line-height: 1.8;
    margin: 0 0 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.bmctp-closing-btn {
    display: inline-block;
    background: var(--bmctp-sage);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15.5px;
    padding: 15px 38px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
}

.bmctp-closing-btn:hover {
    background: var(--bmctp-sage-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .bmctp-hero-inner    { padding: 0 20px; }
    .bmctp-stat-pills    { gap: 10px; }
    .bmctp-stat-pill     { min-width: 130px; padding: 18px 20px; }
    .bmctp-sage-stats    { flex-direction: column; }
    .bmctp-link-chips    { gap: 8px; }
    .bmctp-closing       { padding: 36px 24px; }
}

@media (max-width: 480px) {
    .bmctp-hero          { padding: 40px 0 0; }
    .bmctp-section       { padding: 40px 0; }
    .bmctp-mod-card      { flex-direction: column; gap: 10px; }
    .bmctp-mod-icon-circle { margin-bottom: 4px; }
    .bmctp-stat-pills    { flex-direction: column; align-items: stretch; }
    .bmctp-assist-item   { flex-direction: column; gap: 8px; }
}
