/* =============================================================
   Lloyd Peace Consulting — Main Stylesheet
   Version: 1.0.0
   ============================================================= */

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Work+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
    --primary:        #1a2332;
    --accent:         #00A300;
    --accent-light:   #00A300;
    --accent-pale:    #e8f5f0;
    --bg:             #fff;
    --bg-warm:        #f9faf8;
    --bg-dark:        #1a2332;
    --text:           #2a3040;
    /* --text-light:     #657085; */
    --text-light:     #3a404c;
    --text-on-dark:   #e4e8ec;
    --text-muted-dark:#d9d9d9;
    --border:         #dfe3dd;
    --font-d:         'Cormorant Garamond', Georgia, serif;
    --font-b:         'Work Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
    font-family: var(--font-b);
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; display: block; }
a     { text-decoration: none; }
ul    { list-style: none; }

/* ── Option-tag (dev label) ── */
.option-tag {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 999;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
nav.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}
.nav-logo {
    text-decoration: none;
    color: var(--primary);
    font-family: var(--font-d);
    font-size: 1.8rem;
    font-weight: 500;
}
.nav-logo small {
    font-family: var(--font-b);
    font-size: .8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    display: block;
    font-weight: 500;
}
.nav-logo img {
    max-height: 48px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
/* WordPress nav menu overrides */
.nav-links ul,
.nav-links .menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a,
.nav-links .menu a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    transition: color .2s;
}
.nav-links a:hover,
.nav-links .menu a:hover { color: var(--primary); }
.nav-cta,
.nav-links .menu-item-cta > a {
    background: var(--accent) !important;
    color: #fff !important;
    padding: .8rem 1.2rem;
    border-radius: 4px;
    font-weight: 500 !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   SHARED SECTION UTILITIES
   ================================================================ */
section          { padding: 6rem 2rem; }
.inner           { max-width: 1100px; margin: 0 auto; }
.eyebrow         {
    display: block;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.stitle          {
    font-family: var(--font-d);
    font-size: clamp(2.1rem, 3.5vw, 2.8rem);
    color: var(--primary);
    line-height: 1.12;
    margin-bottom: .8rem;
    font-weight: 400;
}
.sdesc           {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 3rem;
    font-weight: 300;
}
.btn-p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: .95rem 2.2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all .25s;
}
.btn-p:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-s {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    padding: .95rem 2.2rem;
    border-radius: 4px;
    font-weight: 400;
    font-size: .88rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: all .25s;
}
.btn-s:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
  background: linear-gradient(180deg,rgba(26,35,50,.7) 0%,rgba(26,35,50,.85) 60%,rgba(26,35,50,.95) 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 2rem;
}
.hero-tag {
    display: inline-block;
    color: #00A300;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--accent);
    padding-top: 12px;
}
.hero h1 {
    font-family: var(--font-d);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--accent-light); }
.hero-sub {
    font-size: 1.05rem;
    color: #ffffff;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.85;
    font-weight: 300;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-metrics {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.metric-n {
    font-family: var(--font-d);
    font-size: 2.4rem;
    color: var(--accent-light);
    line-height: 1;
    font-weight: 500;
}
.metric-l {
    font-size: 1rem;
    color: #ffffff;
    margin-top: 6px;
    font-weight: 300;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services { background: #fff; }
.srv-banner {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    position: relative;
}
.srv-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.srv-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,35,50,.6) 0%, transparent 70%);
}
.srv-banner-text {
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
    z-index: 1;
}
.srv-banner-text h2 {
    font-family: var(--font-d);
    font-size: 2.2rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.15;
}
.srv-banner-text p {
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    font-weight: 300;
    margin-top: .3rem;
}
.srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.srv-card {
    background: var(--bg-warm);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
}
.srv-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.05); transform: translateY(-3px); }
.srv-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.srv-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 50%);
}
.srv-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.srv-body { padding: 1.8rem 1.5rem; }
.srv-body h3 {
    font-family: var(--font-d);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: .5rem;
    font-weight: 500;
}
.srv-body > p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 400;
}
.srv-list {
    list-style: none;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.srv-list li {
    font-size: 1rem;
    color: var(--text-light);
    padding: 3px 0 3px 16px;
    position: relative;
    font-weight: 400;
}
.srv-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 1px;
    background: var(--accent);
}
.srv-price {
    margin-top: 1.5rem;
    padding: .8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 400;
    background: #fff;
}
.srv-price strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 2px;
    font-weight: 500;
}

/* ================================================================
   ABOUT
   ================================================================ */
.about { background: var(--bg-warm); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 2rem;
}
.about-img {
    background-size: cover;
    background-position: center;
    min-height: 480px;
}
.about-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.about-content {
    background: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-content blockquote {
    font-family: var(--font-d);
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: 1.3rem;
    font-style: italic;
    font-weight: 400;
}
.about-content p {
    font-size: .92rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
}
.team-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.t-card {
    flex: 1;
    padding: 1.2rem;
    background: var(--bg-warm);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border);
}
.t-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-pale);
    margin: 0 auto .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-d);
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
    overflow: hidden;
}
.t-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.t-info h4 {
    font-family: var(--font-d);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 500;
}
.t-role {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.t-info p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.55;
    font-weight: 400;
    margin-top: 4px;
}
.t-info p.coming-soon { color: var(--accent); font-style: italic; }

/* ================================================================
   NETWORK
   ================================================================ */
.network {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    color: var(--text-on-dark);
}
.network-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .25;
}
.network-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .10;
}
.network .inner { position: relative; z-index: 1; }
.network .stitle { color: #fff; }
.network .sdesc  { color: var(--text-muted-dark); }
.net-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.net-card {
    padding: 2rem;
    border-radius: 10px;
    background: rgb(0 0 0 / 35%);
    border: 1px solid rgba(255, 255, 255, .06);
    transition: all .3s;
}
.net-card:hover { border-color: var(--accent);  background: rgb(0 0 0 / 45%); }
.net-card h4 {
    font-family: var(--font-d);
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: .4rem;
    font-weight: 500;
}
.net-card p {
    font-size: 1rem;
    color: var(--text-muted-dark);
    line-height: 1.65;
    font-weight: 300;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi { background: #fff; }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
    margin-top: 2rem;
}
.testi-card {
    background: var(--bg-warm);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border);
}
.testi-card > p {
    font-family: var(--font-d);
    font-size: 1.35rem;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 400;
}
.testi-author {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}
.testi-role {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ================================================================
   CTA
   ================================================================ */
.cta {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.cta-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,35,50,.85);
}
.cta .inner { position: relative; z-index: 1; }
.cta h2 {
    font-family: var(--font-d);
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: .8rem;
    font-weight: 400;
}
.cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .55);
    max-width: 480px;
    margin: 0 auto 2rem;
    font-weight: 400;
}
.cta .eyebrow { color: var(--accent-light); }

/* ================================================================
   FOOTER
   ================================================================ */
footer.site-footer {
    background: var(--bg-dark);
    padding: 2.5rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.foot-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.foot-brand {
    color: var(--text-on-dark);
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 500;
}
.foot-links {
    display: flex;
    gap: 1.5rem;
}
.foot-links a {
    color: var(--text-muted-dark);
    font-size: 1rem;
    text-decoration: none;
    transition: color .2s;
    font-weight: 400;
}
.foot-links a:hover { color: var(--accent-light); }
.foot-addr {
    font-size: 1rem;
    color: var(--text-muted-dark);
    font-style: normal;
    font-weight: 400;
}
.foot-copy {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-size: .73rem;
    color: var(--text-muted-dark);
}
/* Footer widget area */
.footer-widgets {
    max-width: 1100px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.footer-widgets .widget-title {
    font-family: var(--font-d);
    font-size: 1rem;
    color: var(--text-on-dark);
    margin-bottom: .8rem;
    font-weight: 500;
}
.footer-widgets .widget { color: var(--text-muted-dark); font-size: .82rem; font-weight: 300; }
.footer-widgets .widget a { color: var(--text-muted-dark); text-decoration: none; transition: color .2s; }
.footer-widgets .widget a:hover { color: var(--accent-light); }

/* ================================================================
   PAGE / SINGLE CONTENT
   ================================================================ */
.page-content,
.single-content {
    max-width: 780px;
    margin: 7rem auto 4rem;
    padding: 0 2rem;
}
.page-content h1,
.single-content h1 {
    font-family: var(--font-d);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.page-content h2,
.single-content h2 {
    font-family: var(--font-d);
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 400;
    margin: 2rem 0 .8rem;
}
.page-content p,
.single-content p {
    font-size: .95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 300;
}
.entry-thumbnail {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* ================================================================
   ARCHIVE
   ================================================================ */
.archive-wrap { max-width: 1100px; margin: 7rem auto 4rem; padding: 0 2rem; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.archive-card {
    background: var(--bg-warm);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .3s;
}
.archive-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.06); }
.archive-card-img { height: 180px; object-fit: cover; width: 100%; }
.archive-card-body { padding: 1.5rem; }
.archive-card-body h2 { font-family: var(--font-d); font-size: 1.2rem; color: var(--primary); font-weight: 500; margin-bottom: .5rem; }
.archive-card-body h2 a { color: inherit; text-decoration: none; }
.archive-card-body h2 a:hover { color: var(--accent); }
.archive-card-body p { font-size: .85rem; color: var(--text-light); font-weight: 300; }

/* ================================================================
   404 PAGE
   ================================================================ */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.error-404-inner { max-width: 520px; }
.error-404-inner .big-num {
    font-family: var(--font-d);
    font-size: 9rem;
    color: var(--accent-pale);
    line-height: 1;
    font-weight: 600;
    display: block;
}
.error-404-inner h1 {
    font-family: var(--font-d);
    font-size: 2.2rem;
    color: var(--primary);
    margin: 1rem 0;
    font-weight: 400;
}
.error-404-inner p {
    color: var(--text-light);
    font-size: .95rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
    .srv-grid,
    .testi-grid,
    .archive-grid  { grid-template-columns: 1fr; }
    .about-grid    { grid-template-columns: 1fr; }
    .about-img     { min-height: 280px; }
    .net-grid      { grid-template-columns: 1fr; }
    .hero-metrics  { flex-wrap: wrap; gap: 2rem; }
    .nav-links     { display: none; }
    .nav-toggle    { display: flex; }
    .team-row      { flex-direction: column; }

    /* Mobile nav open state */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        padding: 1.5rem 2rem;
        border-top: 1px solid var(--border);
        gap: 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }
    .nav-links.open ul,
    .nav-links.open .menu {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 600px) {
    section { padding: 4rem 1.25rem; }
    .foot-inner { flex-direction: column; text-align: center; }
    .foot-links { justify-content: center; }
}
