/* =========================================================
   Bridgewell Urban Group — main.css
   Portable, framework-free stylesheet for WordPress import.
   Palette: teal + gold. Generous whitespace throughout
   (sitewide whitespace pass, 2026-08-14).
   ========================================================= */

:root{
  --teal-900:#0b3d3a;
  --teal-800:#0e4a45;
  --teal-700:#125c55;
  --teal-600:#166f66;
  --teal-500:#1c8a7d;
  --teal-100:#e3f2ef;
  --gold-600:#a97e1a;
  --gold-500:#c9a227;
  --gold-400:#dab94a;
  --gold-100:#faf3dd;
  --cream:#f8f6ef;
  --ink:#1c2b28;
  --ink-soft:#4a5a56;
  --white:#ffffff;
  --border:#e1ddd0;
  --danger-bg:#fff4e5;
  --danger-border:#e0a640;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;

  --space-1:.5rem;
  --space-2:1rem;
  --space-3:1.75rem;
  --space-4:2.75rem;
  --space-5:4.5rem;
  --space-6:6.5rem;

  --max-width:1180px;
  --shadow-sm:0 1px 3px rgba(11,61,58,.08);
  --shadow-md:0 8px 30px rgba(11,61,58,.10);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--teal-900);
  line-height:1.25;
  margin:0 0 var(--space-2);
}
h1{font-size:clamp(2.2rem,4vw,3.4rem); letter-spacing:-.01em;}
h2{font-size:clamp(1.7rem,3vw,2.4rem);}
h3{font-size:1.35rem;}
p{margin:0 0 var(--space-2); color:var(--ink-soft);}
a{color:var(--teal-700); text-decoration:none;}
a:hover{color:var(--gold-600);}
img{max-width:100%; display:block;}
ul{padding-left:1.25rem;}
li{margin-bottom:.5rem; color:var(--ink-soft);}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 var(--space-3);
}
section{padding:var(--space-6) 0;}
section.tight{padding:var(--space-5) 0;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  padding:1rem 2rem;
  border-radius:999px;
  font-weight:600;
  font-size:1rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary{background:var(--gold-500); color:var(--teal-900);}
.btn-primary:hover{background:var(--gold-400); color:var(--teal-900); transform:translateY(-2px); box-shadow:var(--shadow-md);}
.btn-outline{background:transparent; border-color:var(--white); color:var(--white);}
.btn-outline:hover{background:rgba(255,255,255,.12); color:var(--white); transform:translateY(-2px);}
.btn-teal{background:var(--teal-700); color:var(--white);}
.btn-teal:hover{background:var(--teal-600); color:var(--white); transform:translateY(-2px); box-shadow:var(--shadow-md);}
.btn-block{display:block; width:100%; text-align:center;}
.btn-row{display:flex; gap:var(--space-2); flex-wrap:wrap; margin-top:var(--space-3);}

/* ---------- Nav ---------- */
header.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:1.1rem var(--space-3);
  max-width:var(--max-width); margin:0 auto;
  gap:var(--space-2);
}
.brand{display:flex; align-items:center; gap:.6rem; font-family:Georgia,serif; font-weight:700; color:var(--teal-900); font-size:1.2rem;}
.brand .mark{
  width:36px; height:36px; border-radius:10px;
  background:linear-gradient(135deg,var(--teal-700),var(--teal-500));
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-400); font-weight:800; font-family:Georgia,serif;
}
.brand-logo{height:52px; width:auto; display:block;}
@media (max-width:960px){ .brand-logo{height:44px;} }

/* ---------- Prominent brand mark section (homepage) ---------- */
.brand-showcase{padding:var(--space-5) 0; background:var(--white); text-align:center;}
.brand-showcase img{max-width:380px; width:100%; margin:0 auto; display:block;}
.brand-showcase p{max-width:600px; margin:var(--space-2) auto 0; color:var(--ink-soft);}
nav.main-nav{display:flex; align-items:center; gap:var(--space-2); flex-wrap:wrap;}
nav.main-nav a{
  color:var(--teal-900); font-weight:600; font-size:.95rem; padding:.5rem .3rem; white-space:nowrap;
}
nav.main-nav a.cta-give{color:var(--gold-600);}
nav.main-nav a.active, nav.main-nav a:hover{color:var(--gold-600);}
.nav-toggle{display:none; background:none; border:none; font-size:1.6rem; color:var(--teal-900); cursor:pointer;}

.region-toggle{
  display:inline-flex; align-items:center; background:var(--teal-100); border-radius:999px; padding:.25rem;
  font-size:.85rem; font-weight:700; gap:.15rem;
}
.region-toggle button{
  border:none; background:transparent; padding:.5rem 1rem; border-radius:999px; cursor:pointer; color:var(--teal-800);
}
.region-toggle button.active{background:var(--teal-700); color:var(--white);}

@media (max-width:960px){
  nav.main-nav{
    display:none; position:absolute; top:100%; left:0; right:0; background:var(--white);
    flex-direction:column; align-items:flex-start; padding:var(--space-2) var(--space-3);
    box-shadow:var(--shadow-md); border-bottom:1px solid var(--border);
  }
  nav.main-nav.open{display:flex;}
  .nav-toggle{display:block;}
}

/* ---------- Hero ---------- */
.hero{
  background:radial-gradient(120% 140% at 10% 0%, var(--teal-700), var(--teal-900) 65%);
  color:var(--white);
  padding:var(--space-6) 0;
}
.hero .eyebrow{color:var(--gold-400); text-transform:uppercase; letter-spacing:.14em; font-weight:700; font-size:.8rem; margin-bottom:var(--space-2);}
.hero h1{color:var(--white); max-width:820px;}
.hero p.lead{color:#dfeeeb; font-size:1.15rem; max-width:640px; margin-top:var(--space-2);}

/* ---------- Cards / Grids ---------- */
.grid{display:grid; gap:var(--space-3);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:900px){ .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;} }

.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:var(--space-4);
  box-shadow:var(--shadow-sm);
}
.card h3{margin-bottom:var(--space-1);}
.card.featured{border:2px solid var(--gold-500);}
.tag{
  display:inline-block; background:var(--teal-100); color:var(--teal-800);
  font-size:.75rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  padding:.35rem .75rem; border-radius:999px; margin-bottom:var(--space-2);
}

/* ---------- Tabs (Partners tiers) ---------- */
.tabs{display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:var(--space-4); border-bottom:1px solid var(--border); padding-bottom:var(--space-2);}
.tab-btn{
  background:var(--white); border:1px solid var(--border); color:var(--teal-800);
  padding:.85rem 1.5rem; border-radius:999px; font-weight:700; cursor:pointer; font-size:.95rem;
}
.tab-btn.active{background:var(--teal-700); color:var(--white); border-color:var(--teal-700);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}

/* ---------- Breakdown list (church stipend, itemized totals) ---------- */
.breakdown-list{
  background:var(--teal-100);
  border-radius:var(--radius-md);
  padding:var(--space-3) var(--space-4);
  margin:var(--space-3) 0;
}
.breakdown-list .line{
  display:flex; justify-content:space-between; gap:var(--space-2);
  padding:.9rem 0; border-bottom:1px dashed rgba(11,61,58,.18);
}
.breakdown-list .line:last-of-type{border-bottom:none;}
.breakdown-list .line .label{color:var(--teal-900); font-weight:600;}
.breakdown-list .line .value{color:var(--teal-900); font-weight:700; white-space:nowrap;}
.breakdown-list .total{
  display:flex; justify-content:space-between; gap:var(--space-2);
  margin-top:var(--space-2); padding-top:var(--space-3);
  border-top:2px solid var(--teal-700);
  font-family:Georgia,serif; font-size:1.3rem; color:var(--teal-900); font-weight:700;
}
.breakdown-note{font-size:.9rem; color:var(--ink-soft); margin-top:var(--space-2);}

/* ---------- Forms ---------- */
.form-card{background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:var(--space-5); box-shadow:var(--shadow-sm);}
.field{margin-bottom:var(--space-3);}
.field label{display:block; font-weight:700; color:var(--teal-900); margin-bottom:.5rem;}
.field input, .field select, .field textarea{
  width:100%; padding:.9rem 1rem; border:1px solid var(--border); border-radius:var(--radius-sm);
  font-size:1rem; font-family:inherit; background:var(--white); color:var(--ink);
}
.field textarea{min-height:120px; resize:vertical;}
.field .hint{font-size:.85rem; color:var(--ink-soft); margin-top:.35rem;}
fieldset{border:1px solid var(--border); border-radius:var(--radius-md); padding:var(--space-3); margin:0 0 var(--space-3);}
legend{font-weight:700; color:var(--teal-900); padding:0 .5rem;}
.checkbox-row{display:flex; align-items:flex-start; gap:.6rem; margin-bottom:.75rem;}
.checkbox-row input{width:auto; margin-top:.3rem;}

/* ---------- Disclosure / compliance box ---------- */
.disclosure-box{
  background:var(--danger-bg); border:1px solid var(--danger-border); border-radius:var(--radius-md);
  padding:var(--space-3) var(--space-4); margin:var(--space-4) 0;
}
.disclosure-box h4{color:#8a5a10; margin-bottom:.5rem;}
.disclosure-box p{color:#6b4a12; margin-bottom:0;}

/* ---------- Progress / thermometer ---------- */
.progress-wrap{background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:var(--space-4); box-shadow:var(--shadow-sm);}
.progress-track{background:var(--teal-100); border-radius:999px; height:22px; overflow:hidden; margin:var(--space-2) 0;}
.progress-fill{background:linear-gradient(90deg,var(--gold-500),var(--gold-400)); height:100%; border-radius:999px; transition:width .4s ease;}
.progress-meta{display:flex; justify-content:space-between; font-weight:700; color:var(--teal-900); font-size:.95rem;}

/* ---------- FAQ accordion ---------- */
.faq-item{border-bottom:1px solid var(--border); padding:var(--space-2) 0;}
.faq-q{display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:700; color:var(--teal-900); padding:.5rem 0;}
.faq-a{display:none; padding:.5rem 0 var(--space-2); color:var(--ink-soft);}
.faq-item.open .faq-a{display:block;}
.faq-item.open .faq-q .chevron{transform:rotate(180deg);}
.chevron{transition:transform .2s ease; color:var(--gold-600);}

/* ---------- Region-scoped content ---------- */
[data-region]{display:none;}
[data-region].region-active{display:block;}
.region-inline{display:none;}
.region-inline.region-active{display:inline;}

/* ---------- Footer ---------- */
footer.site-footer{background:var(--teal-900); color:#cfe4e0; padding:var(--space-5) 0 var(--space-3);}
footer.site-footer h4{color:var(--white); font-size:1rem; margin-bottom:var(--space-2);}
footer.site-footer a{color:#cfe4e0;}
footer.site-footer a:hover{color:var(--gold-400);}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:var(--space-4); margin-bottom:var(--space-4);}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12); padding-top:var(--space-3); font-size:.85rem; color:#9fc0ba; display:flex; justify-content:space-between; flex-wrap:wrap; gap:var(--space-2);}

/* ---------- Misc utility ---------- */
.text-center{text-align:center;}
.muted{color:var(--ink-soft);}
.gold{color:var(--gold-600);}
.section-head{max-width:720px; margin:0 auto var(--space-5); text-align:center;}
.section-head.left{text-align:left; margin-left:0;}
.badge-list{display:flex; gap:var(--space-2); flex-wrap:wrap; margin:var(--space-3) 0;}
.badge{background:var(--teal-100); color:var(--teal-800); padding:.5rem 1rem; border-radius:999px; font-size:.85rem; font-weight:700;}
table.compare{width:100%; border-collapse:collapse; margin:var(--space-3) 0;}
table.compare th, table.compare td{padding:1rem; border-bottom:1px solid var(--border); text-align:left;}
table.compare th{color:var(--teal-900); font-family:Georgia,serif;}

/* ---------- Merchandise cart drawer ---------- */
.shop-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-3);}
@media (max-width:900px){.shop-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.shop-grid{grid-template-columns:1fr;}}
.shop-card{background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:var(--space-3); text-align:center; box-shadow:var(--shadow-sm);}
.shop-thumb{
  height:150px; border-radius:var(--radius-sm); margin-bottom:var(--space-2);
  background:linear-gradient(135deg,var(--teal-100),var(--gold-100));
  display:flex; align-items:center; justify-content:center; color:var(--teal-700); font-weight:700; font-size:.85rem;
}
.shop-price{font-weight:700; color:var(--teal-900); margin:.5rem 0 var(--space-2);}
.shop-thumb.branded{
  position:relative; flex-direction:column; gap:.5rem; overflow:hidden;
  background:linear-gradient(135deg,var(--teal-700),var(--teal-900));
}
.shop-thumb.branded.gold{background:linear-gradient(135deg,var(--gold-600),var(--gold-500));}
.shop-thumb.branded::after{
  content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
}
.brand-stamp{
  position:relative; z-index:1;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.14); border:2px solid var(--gold-400);
  display:flex; align-items:center; justify-content:center;
}
.shop-thumb.branded.gold .brand-stamp{border-color:var(--teal-900);}
.brand-stamp .mark{
  width:auto; height:auto; background:none; color:var(--gold-400);
  font-family:Georgia,serif; font-weight:800; font-size:1.3rem;
}
.shop-thumb.branded.gold .brand-stamp .mark{color:var(--teal-900);}
.brand-wordmark{
  position:relative; z-index:1;
  color:var(--white); font-size:.68rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; text-align:center; padding:0 var(--space-2);
}
.shop-thumb.branded.gold .brand-wordmark{color:var(--teal-900);}
#cart-drawer{
  position:fixed; top:0; right:-380px; width:340px; height:100%; background:var(--white);
  box-shadow:-6px 0 30px rgba(11,61,58,.18); padding:var(--space-4); z-index:200; transition:right .25s ease;
  overflow-y:auto;
}
#cart-drawer.open-cart{right:0;}
.cart-fab{
  position:fixed; bottom:var(--space-3); right:var(--space-3); background:var(--teal-800); color:var(--white);
  border-radius:999px; padding:1rem 1.4rem; font-weight:700; box-shadow:var(--shadow-md); z-index:150; border:none; cursor:pointer;
}

/* ---------- Stat grid ---------- */
.stat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-3);}
@media (max-width:900px){.stat-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.stat-grid{grid-template-columns:1fr;}}
.stat-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:var(--space-4) var(--space-3); text-align:center; box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease;
}
.stat-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-md);}
.stat-card .stat-num{
  font-family:Georgia,serif; font-size:2.4rem; font-weight:700; color:var(--gold-600); line-height:1;
  margin-bottom:.5rem; display:block;
}
.stat-card .stat-label{font-weight:700; color:var(--teal-900); margin-bottom:.35rem;}
.stat-card .stat-desc{font-size:.88rem; color:var(--ink-soft); margin:0;}
.stat-card.on-dark{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14);}
.stat-card.on-dark .stat-label{color:var(--white);}
.stat-card.on-dark .stat-desc{color:#cfe4e0;}

/* ---------- Numbered step list (process) ---------- */
.step-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-3);}
@media (max-width:900px){.step-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.step-grid{grid-template-columns:1fr;}}
.step-card{background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:var(--space-4); box-shadow:var(--shadow-sm); position:relative;}
.step-num{
  width:48px; height:48px; border-radius:50%; background:var(--teal-700); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family:Georgia,serif; font-weight:700; font-size:1.3rem;
  margin-bottom:var(--space-2);
}

/* ---------- Team / avatar cards ---------- */
.team-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:var(--space-3);}
.team-card{background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:var(--space-3); text-align:center; box-shadow:var(--shadow-sm);}
.avatar-circle{
  width:64px; height:64px; border-radius:50%; margin:0 auto var(--space-2);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:1.1rem; color:var(--white);
  background:linear-gradient(135deg,var(--teal-600),var(--teal-800));
}
.avatar-circle.well{background:linear-gradient(135deg,var(--gold-500),var(--gold-600)); color:var(--teal-900);}
.team-card .name{font-weight:700; color:var(--teal-900); margin-bottom:.15rem;}
.team-card .role{font-size:.85rem; color:var(--ink-soft); margin-bottom:.5rem;}

/* ---------- Checklist (icon bullets) ---------- */
.checklist{list-style:none; padding:0; margin:var(--space-2) 0;}
.checklist li{
  display:flex; align-items:flex-start; gap:.65rem; padding:.6rem 0;
  border-bottom:1px solid var(--border); color:var(--ink-soft);
}
.checklist li:last-child{border-bottom:none;}
.checklist li::before{
  content:"\2713"; flex-shrink:0; width:24px; height:24px; border-radius:50%;
  background:var(--teal-100); color:var(--teal-700); font-weight:700; font-size:.8rem;
  display:flex; align-items:center; justify-content:center; margin-top:.1rem;
}

/* ---------- Vision / phase timeline ---------- */
.phase-list{display:flex; flex-direction:column; gap:var(--space-3);}
.phase-card{
  display:flex; gap:var(--space-3); background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:var(--space-4); box-shadow:var(--shadow-sm); align-items:flex-start;
}
.phase-num{
  flex-shrink:0; width:56px; height:56px; border-radius:50%; background:var(--gold-100); color:var(--gold-600);
  display:flex; align-items:center; justify-content:center; font-family:Georgia,serif; font-weight:700; font-size:1.4rem;
}

/* ---------- Pricing cards (enhanced tier cards) ---------- */
.pricing-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:var(--space-3);}
@media (max-width:800px){.pricing-grid{grid-template-columns:1fr;}}
.pricing-card{
  position:relative; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:var(--space-4); box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.pricing-card.recommended{border:2px solid var(--gold-500); box-shadow:var(--shadow-md);}
.ribbon{
  position:absolute; top:-14px; left:var(--space-3); background:var(--gold-500); color:var(--teal-900);
  font-size:.72rem; font-weight:700; letter-spacing:.05em; padding:.35rem .85rem; border-radius:999px;
}
.pricing-card .price-line{display:flex; align-items:baseline; gap:.4rem; margin:var(--space-2) 0;}
.pricing-card .price-num{font-family:Georgia,serif; font-size:2rem; font-weight:700; color:var(--teal-900);}
.pricing-card .price-unit{color:var(--ink-soft); font-size:.9rem;}

/* ---------- Icon badge (small circular icon container) ---------- */
.icon-badge{
  width:52px; height:52px; border-radius:14px; background:var(--teal-100); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:var(--space-2);
}

/* ---------- Donation progress thermometer ---------- */
.donation-progress-track{max-width:600px; margin:var(--space-3) auto; height:22px; border-radius:var(--radius-lg); background:var(--border); overflow:hidden;}
.donation-progress-fill{height:100%; background:var(--gold-500); border-radius:var(--radius-lg);}
.donation-progress-label{font-weight:700; color:var(--teal-900); margin-top:var(--space-2);}
