/*
Theme Name: KMGMission Main
Theme URI: https://kgmgh.org
Description: Clean Astra child theme for the KMGMission main public site.
Author: KMGMission
Template: astra
Version: 1.0.0
Text Domain: kmgm-main
*/

:root{
    --kmgm-bg:#07111f;
    --kmgm-panel:#0f2134;
    --kmgm-green:#22c55e;
    --kmgm-green-light:#86efac;
    --kmgm-gold:#f59e0b;
    --kmgm-text:#0f172a;
    --kmgm-muted:#64748b;
    --kmgm-border:#e2e8f0;
    --kmgm-white:#ffffff;
}

body{
    margin:0;
    color:var(--kmgm-text);
}

.kmgm-shell{
    min-height:100vh;
    background:#fff;
}

.kmgm-container{
    width:min(1200px,calc(100% - 40px));
    margin:0 auto;
}

.kmgm-header{
    position:relative;
    z-index:100;
    background:var(--kmgm-bg);
    color:#fff;
}

.kmgm-header-inner{
    min-height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.kmgm-brand{
    color:#fff;
    text-decoration:none;
    font-size:23px;
    font-weight:900;
    letter-spacing:.01em;
}

.kmgm-nav ul{
    display:flex;
    align-items:center;
    gap:20px;
    list-style:none;
    margin:0;
    padding:0;
}

.kmgm-nav a{
    color:#e2e8f0;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}

.kmgm-nav a:hover,
.kmgm-nav .current-menu-item > a{
    color:var(--kmgm-green-light);
}

.kmgm-mobile-toggle{
    display:none;
    border:0;
    background:transparent;
    color:#fff;
    font-size:30px;
    cursor:pointer;
}

.kmgm-main{
    min-height:60vh;
}

.kmgm-footer{
    margin-top:80px;
    background:var(--kmgm-bg);
    color:#cbd5e1;
}

.kmgm-footer-inner{
    padding:42px 0;
    display:flex;
    justify-content:space-between;
    gap:30px;
    flex-wrap:wrap;
}

.kmgm-footer a{
    color:#fff;
    text-decoration:none;
}

@media(max-width:1100px){
    .kmgm-mobile-toggle{
        display:block;
    }

    .kmgm-nav{
        display:none;
        position:absolute;
        top:78px;
        left:0;
        right:0;
        padding:18px 20px 26px;
        background:var(--kmgm-bg);
        border-top:1px solid rgba(255,255,255,.1);
    }

    .kmgm-nav.is-open{
        display:block;
    }

    .kmgm-nav ul{
        flex-direction:column;
        align-items:flex-start;
        gap:0;
    }

    .kmgm-nav li{
        width:100%;
    }

    .kmgm-nav a{
        display:block;
        width:100%;
        padding:12px 0;
    }
}

/* ==========================================================
   KMGMISSION FINAL DESKTOP / MOBILE NAVIGATION
   ========================================================== */

.kmgm-nav-desktop{
    display:block;
}

.kmgm-nav-mobile{
    display:none;
}

@media(max-width:1100px){

    .kmgm-nav-desktop{
        display:none;
    }

    .kmgm-mobile-toggle{
        display:block;
        margin-left:auto;
    }

    .kmgm-nav-mobile{
        display:none;
        position:absolute;
        top:78px;
        left:0;
        right:0;
        padding:18px 20px 26px;
        background:#07111f;
        border-top:1px solid rgba(255,255,255,.12);
        box-shadow:0 18px 35px rgba(0,0,0,.18);
    }

    .kmgm-nav-mobile.is-open{
        display:block;
    }

    .kmgm-nav-mobile ul{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
    }

    .kmgm-nav-mobile li{
        width:100%;
    }

    .kmgm-nav-mobile a{
        display:block;
        width:100%;
        padding:12px 0;
    }
}

/* ==========================================================
   KMGMISSION MAIN — ENTERPRISE HOMEPAGE
   ========================================================== */

.kmgm-home-hero{
    padding:100px 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(34,197,94,.20),
            transparent 36%
        ),
        #07111f;
    color:#fff;
}

.kmgm-home-hero-grid{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:64px;
    align-items:center;
}

.kmgm-home-eyebrow{
    margin-bottom:15px;
    color:#86efac;
    font-size:13px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.kmgm-home-hero h1{
    max-width:760px;
    margin:0 0 24px;
    color:#fff;
    font-size:clamp(46px,7vw,78px);
    line-height:1.02;
}

.kmgm-home-hero h1 span{
    color:#86efac;
}

.kmgm-home-hero p{
    max-width:720px;
    margin:0 0 30px;
    color:#cbd5e1;
    font-size:19px;
    line-height:1.8;
}

.kmgm-home-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.kmgm-home-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 24px;
    border-radius:10px;
    text-decoration:none;
    font-weight:800;
}

.kmgm-home-btn-primary{
    background:#22c55e;
    color:#07111f;
}

.kmgm-home-btn-secondary{
    border:1px solid rgba(255,255,255,.5);
    color:#fff;
}

.kmgm-home-hero-panel{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.kmgm-home-hero-panel > div{
    padding:24px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:16px;
    background:rgba(255,255,255,.05);
}

.kmgm-home-hero-panel strong{
    display:block;
    margin-bottom:7px;
    color:#fff;
}

.kmgm-home-hero-panel span{
    color:#cbd5e1;
    line-height:1.6;
    font-size:14px;
}

.kmgm-home-section{
    padding:90px 0;
}

.kmgm-home-section-soft{
    background:#f8fafc;
}

.kmgm-home-heading{
    max-width:820px;
    margin-bottom:42px;
}

.kmgm-home-heading h2{
    margin:0 0 16px;
    font-size:clamp(34px,5vw,52px);
    line-height:1.1;
}

.kmgm-home-heading p{
    margin:0;
    color:#64748b;
    font-size:18px;
    line-height:1.75;
}

.kmgm-home-pathways,
.kmgm-main-live-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.kmgm-home-card,
.kmgm-main-live-card{
    display:block;
    padding:28px;
    border:1px solid #e2e8f0;
    border-radius:16px;
    background:#fff;
    color:#0f172a;
    text-decoration:none;
    box-shadow:0 10px 28px rgba(15,23,42,.04);
}

.kmgm-home-card h3,
.kmgm-main-live-card h3{
    margin:0 0 10px;
    font-size:21px;
}

.kmgm-home-card p,
.kmgm-main-live-card p{
    margin:0;
    color:#64748b;
    line-height:1.7;
}

.kmgm-main-live-label{
    margin-bottom:10px;
    color:#16a34a;
    font-size:12px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.kmgm-main-live-meta{
    margin-top:16px;
    color:#475569;
    font-size:14px;
    font-weight:700;
}

.kmgm-main-live-link{
    display:inline-block;
    margin-top:18px;
    color:#15803d;
    text-decoration:none;
    font-weight:800;
}

.kmgm-home-global,
.kmgm-home-final-cta{
    padding:90px 0;
    background:#0f2134;
    color:#fff;
}

.kmgm-home-global h2,
.kmgm-home-final-cta h2{
    max-width:780px;
    margin:0 0 18px;
    color:#fff;
    font-size:clamp(34px,5vw,54px);
}

.kmgm-home-global p,
.kmgm-home-final-cta p{
    max-width:720px;
    margin:0 0 28px;
    color:#cbd5e1;
    font-size:18px;
    line-height:1.75;
}

.kmgm-home-final-cta{
    margin-top:0;
    background:#07111f;
}

@media(max-width:950px){
    .kmgm-home-hero-grid{
        grid-template-columns:1fr;
    }

    .kmgm-home-pathways,
    .kmgm-main-live-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:620px){
    .kmgm-home-hero-panel,
    .kmgm-home-pathways,
    .kmgm-main-live-grid{
        grid-template-columns:1fr;
    }

    .kmgm-home-hero{
        padding:72px 0;
    }

    .kmgm-home-section,
    .kmgm-home-global,
    .kmgm-home-final-cta{
        padding:68px 0;
    }
}

/* ==========================================================
   KMGMISSION MAIN — NEWSLETTER SIGNUP
   ========================================================== */

.kmgm-newsletter-page .kmgm-home-section{
    background:#f8fafc;
}

.kmgm-newsletter-form{
    max-width:720px;
    padding:36px;
    border:1px solid #e2e8f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.04);
}

.kmgm-newsletter-form > p{
    margin:0 0 24px;
}

.kmgm-newsletter-form label{
    display:block;
    margin-bottom:8px;
    color:#0f172a;
    font-weight:800;
}

.kmgm-newsletter-form label span{
    color:#64748b;
    font-size:14px;
    font-weight:600;
}

.kmgm-newsletter-form input[type="text"],
.kmgm-newsletter-form input[type="email"]{
    display:block;
    width:100%;
    min-height:52px;
    padding:12px 14px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    background:#fff;
    color:#0f172a;
    font:inherit;
    box-sizing:border-box;
}

.kmgm-newsletter-form input[type="text"]:focus,
.kmgm-newsletter-form input[type="email"]:focus{
    border-color:#22c55e;
    outline:3px solid rgba(34,197,94,.16);
    outline-offset:1px;
}

.kmgm-newsletter-consent label{
    display:flex;
    gap:12px;
    align-items:flex-start;
    margin:0;
    color:#475569;
    font-weight:600;
    line-height:1.65;
}

.kmgm-newsletter-consent input[type="checkbox"]{
    flex:0 0 auto;
    width:18px;
    height:18px;
    margin-top:4px;
    accent-color:#22c55e;
}

.kmgm-newsletter-form button.kmgm-home-btn{
    border:0;
    cursor:pointer;
    font:inherit;
    font-weight:800;
}

.kmgm-newsletter-form button.kmgm-home-btn:hover{
    background:#16a34a;
}

.kmgm-newsletter-form button.kmgm-home-btn:focus-visible{
    outline:3px solid rgba(34,197,94,.28);
    outline-offset:3px;
}

.kmgm-newsletter-form button.kmgm-home-btn:disabled{
    cursor:wait;
    opacity:.65;
}

#kmgm-newsletter-status{
    min-height:24px;
    margin-top:18px;
    color:#475569;
    font-weight:700;
    line-height:1.5;
}

@media(max-width:620px){
    .kmgm-newsletter-form{
        padding:24px 20px;
    }

    .kmgm-newsletter-form button.kmgm-home-btn{
        width:100%;
    }
}

/* END KMGMISSION MAIN — NEWSLETTER SIGNUP */

/* KMGM MAIN ABOUT — BEGIN */

.kmgm-about-enterprise{
  --ka-ink:#10233f;
  --ka-muted:#5c6878;
  --ka-line:#dfe6ee;
  --ka-soft:#f5f8fb;
  --ka-deep:#071b35;
  --ka-accent:#c99a2e;
  color:var(--ka-ink);
  background:#fff;
  overflow:hidden;
}

.kmgm-about-enterprise *,
.kmgm-about-enterprise *::before,
.kmgm-about-enterprise *::after{box-sizing:border-box}

.kmgm-about-wrap{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}

.kmgm-about-section{
  padding:clamp(64px,8vw,104px) 0;
}

.kmgm-about-eyebrow{
  margin:0 0 14px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#8b691d;
}

.kmgm-about-enterprise h1,
.kmgm-about-enterprise h2,
.kmgm-about-enterprise h3{
  color:var(--ka-ink);
  line-height:1.08;
  letter-spacing:-.025em;
}

.kmgm-about-enterprise h1{
  max-width:930px;
  margin:0;
  font-size:clamp(2.65rem,6vw,5.5rem);
}

.kmgm-about-enterprise h2{
  margin:0 0 22px;
  font-size:clamp(2rem,4vw,3.35rem);
}

.kmgm-about-enterprise h3{
  margin:0 0 12px;
  font-size:1.25rem;
}

.kmgm-about-enterprise p{
  line-height:1.75;
}

.kmgm-about-hero{
  position:relative;
  padding:clamp(92px,12vw,160px) 0;
  background:
    radial-gradient(circle at 85% 20%,rgba(201,154,46,.20),transparent 28%),
    linear-gradient(135deg,#06172d,#0b3158);
}

.kmgm-about-hero .kmgm-about-eyebrow{color:#e4c575}

.kmgm-about-hero h1{
  color:#fff;
  text-wrap:balance;
}

.kmgm-about-lead{
  max-width:790px;
  margin:28px 0 0;
  color:rgba(255,255,255,.82);
  font-size:clamp(1.05rem,1.7vw,1.25rem);
}

.kmgm-about-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}

.kmgm-about-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:8px;
  font-weight:750;
  text-decoration:none!important;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.kmgm-about-btn:hover{transform:translateY(-2px)}

.kgmg-about-primary{
  background:#d1a23b;
  color:#10233f!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.kgmg-about-secondary{
  border-color:rgba(255,255,255,.42);
  color:#fff!important;
  background:rgba(255,255,255,.07);
}

.kgmg-about-intro,
.kgmg-about-narrow{max-width:850px}

.kgmg-about-intro>p:not(.kmgm-about-eyebrow){
  color:var(--ka-muted);
  font-size:1.08rem;
}

.kgmg-about-soft{background:var(--ka-soft)}

.kmgm-about-section-heading{
  max-width:790px;
  margin-bottom:38px;
}

.kmgm-about-section-heading>p:last-child{color:var(--ka-muted)}

.kmgm-about-two-grid,
.kmgm-about-connect-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.kmgm-about-card{
  position:relative;
  padding:34px;
  background:#fff;
  border:1px solid var(--ka-line);
  border-radius:16px;
  box-shadow:0 14px 40px rgba(16,35,63,.06);
}

.kmgm-about-card p{margin-bottom:0;color:var(--ka-muted)}

.kmgm-about-number{
  display:block;
  margin-bottom:26px;
  color:#a77b1e;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.14em;
}

.kgmg-about-calling{
  color:#fff;
  background:var(--ka-deep);
}

.kgmg-about-calling .kmgm-about-eyebrow{color:#e4c575}
.kgmg-about-calling h2{color:#fff}
.kgmg-about-calling p:last-child{
  max-width:850px;
  color:rgba(255,255,255,.78);
  font-size:1.08rem;
}

.kmgm-about-pillar-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.kmgm-about-pillar{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:24px;
  color:var(--ka-ink)!important;
  background:#fff;
  border:1px solid var(--ka-line);
  border-radius:12px;
  text-decoration:none!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.kmgm-about-pillar:hover{
  transform:translateY(-3px);
  border-color:#d3b05d;
  box-shadow:0 14px 34px rgba(16,35,63,.08);
}

.kmgm-about-pillar strong{font-size:1.08rem}
.kmgm-about-pillar span{color:var(--ka-muted);line-height:1.55}

.kmgm-about-service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.kmgm-about-service-grid article{
  padding:28px;
  background:#fff;
  border:1px solid var(--ka-line);
  border-radius:14px;
}

.kmgm-about-service-grid p{margin-bottom:0;color:var(--ka-muted)}

.kmgm-about-values{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--ka-line);
  border-radius:14px;
  background:var(--ka-line);
}

.kmgm-about-values>div{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:27px;
  background:#fff;
}

.kmgm-about-values strong{font-size:1.08rem}
.kmgm-about-values span{color:var(--ka-muted);line-height:1.55}

.kgmg-about-stones{
  color:#fff;
  background:linear-gradient(135deg,#0a2748,#07182d);
}

.kgmg-about-stones .kmgm-about-eyebrow{color:#e4c575}
.kgmg-about-stones h2{color:#fff}

.kgmg-about-stones blockquote{
  margin:28px 0;
  padding:0 0 0 24px;
  border-left:3px solid #d1a23b;
  color:#fff;
  font-size:clamp(1.25rem,2.5vw,1.8rem);
  line-height:1.5;
}

.kgmg-about-stones cite{
  display:block;
  margin-top:10px;
  color:rgba(255,255,255,.65);
  font-size:.85rem;
  font-style:normal;
}

.kgmg-about-stones>div>p:not(.kmgm-about-eyebrow){
  color:rgba(255,255,255,.78);
}

.kmgm-about-scripture{
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.kmgm-about-story{
  max-width:900px;
  color:var(--ka-muted);
  font-size:1.08rem;
}

.kgmg-about-join{
  text-align:center;
  background:var(--ka-soft);
}

.kgmg-about-join .kmgm-about-wrap{max-width:850px}
.kgmg-about-join .kmgm-about-actions{justify-content:center}
.kgmg-about-join .kgmg-about-secondary{
  border-color:#b9c4d0;
  color:var(--ka-ink)!important;
  background:#fff;
}

.kgmg-about-connect{
  color:#fff;
  background:#06172d;
}

.kmgm-about-connect-grid>div{padding:16px 0}
.kgmg-about-connect .kmgm-about-eyebrow{color:#e4c575}
.kgmg-about-connect h2{color:#fff;font-size:clamp(1.6rem,3vw,2.35rem)}
.kgmg-about-connect p:not(.kmgm-about-eyebrow){color:rgba(255,255,255,.72)}
.kgmg-about-connect a{
  color:#f0cd78!important;
  font-weight:750;
  text-decoration:none!important;
}

@media (max-width:820px){
  .kmgm-about-two-grid,
  .kmgm-about-pillar-grid,
  .kmgm-about-connect-grid{grid-template-columns:1fr}

  .kmgm-about-service-grid,
  .kmgm-about-values{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:560px){
  .kmgm-about-wrap{width:min(100% - 28px,1180px)}
  .kmgm-about-section{padding:58px 0}
  .kmgm-about-hero{padding:78px 0}
  .kmgm-about-service-grid,
  .kmgm-about-values{grid-template-columns:1fr}
  .kmgm-about-actions{flex-direction:column}
  .kmgm-about-btn{width:100%}
  .kmgm-about-card,
  .kmgm-about-service-grid article{padding:24px}
}

/* KMGM MAIN ABOUT — END */
