/* ============================================================
   ps-design-2026.css — Pensacola SEO Company design system
   Loaded AFTER css/styles.css. Additive overrides + components.
   Palette + patterns modeled on the /seo-packages landing page.
   ============================================================ */

:root {
  --ps-navy:        #0a2540;
  --ps-navy-deep:   #06182b;
  --ps-gold:        #c4a265;  /* accents + CTA fill */
  --ps-gold-bright: #d4b878;  /* eyebrows/accents on DARK only */
  --ps-gold-text:   #8a5d2a;  /* gold for TEXT on LIGHT (AA on cream) */
  --ps-cream:       #faf7f0;
  --ps-cream-deep:  #f3eddc;
  --ps-ink:         #1a1a1a;
  --ps-mute:        #5a5a5a;
  --ps-white:       #ffffff;
  --ps-line:        #e4dccb;

  /* Square everything that is token-driven (90° corners site-wide) */
  --radius-sm: 0; --radius-md: 0; --radius-lg: 0; --radius-pill: 2px;
}

/* ---- Base ---- */
body { color: var(--ps-ink); background: var(--ps-cream); }

/* ---- Global squaring: kill rounded corners + pills (keep explicit circles) ---- */
.btn, .rounded-pill, .rounded, .card, .badge,
.ps-card, .ps-btn, input, textarea, select, .form-control, img:not(.ps-keep-round) {
  border-radius: 0 !important;
}
/* but anything intentionally circular (avatars, the 70/100 dial) keeps its circle */
.rounded-circle, [style*="border-radius:50%"], [style*="border-radius: 50%"], .ps-circle { border-radius: 50% !important; }

/* ---- Eyebrow tagline (the /seo-packages signature) ---- */
.ps-eyebrow {
  display: block; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  font-size: 0.82rem; margin-bottom: 1rem; color: var(--ps-gold-text);
}

/* ---- Hero (navy gradient + radial gold glow) ---- */
.ps-hero {
  background: linear-gradient(135deg, var(--ps-navy) 0%, var(--ps-navy-deep) 100%);
  color: #fff; position: relative; overflow: hidden; padding: 4.5rem 0;
}
.ps-hero::before {
  content:''; position:absolute; top:-40%; right:-10%; width:60%; height:160%;
  background: radial-gradient(circle, rgba(196,162,101,0.18) 0%, transparent 60%); pointer-events:none;
}
.ps-hero .container { position: relative; z-index: 1; }
.ps-hero .ps-eyebrow { color: var(--ps-gold-bright); }
.ps-hero h1 { color:#fff; font-weight:800; font-size:2.6rem; line-height:1.14; margin-bottom:1.1rem; }
.ps-hero h1 .accent { color: var(--ps-gold-bright); }
.ps-hero .lead { color: rgba(255,255,255,0.9); font-size:1.18rem; max-width:600px; }
.ps-hero-photo { width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }

/* ---- Sections (alternating, contrasting) ---- */
.ps-section { padding: 4rem 0; }
.ps-section--cream      { background: var(--ps-cream); }
.ps-section--cream-deep { background: var(--ps-cream-deep); }
.ps-section--white      { background: var(--ps-white); }
.ps-section--navy       { background: var(--ps-navy); color:#fff; }
.ps-section h2 { color: var(--ps-navy); font-weight:800; font-size:1.9rem; margin-bottom:1rem; }
.ps-section--navy h2 { color:#fff; }
.ps-section--navy .ps-eyebrow { color: var(--ps-gold-bright); }
.ps-section h3 { color: var(--ps-navy); font-weight:700; }
.ps-section--navy h3 { color:#fff; }
.ps-section p { color: var(--ps-ink); }
.ps-section--navy p { color: rgba(255,255,255,0.88); }
.ps-narrow { max-width: 820px; margin: 0 auto; }

/* ---- Buttons (squared, gold) ---- */
.ps-btn {
  display:inline-block; background: var(--ps-gold); color: var(--ps-navy-deep) !important;
  font-weight:700; letter-spacing:0.5px; text-transform:uppercase; font-size:0.92rem;
  padding: 0.95rem 2.1rem; border:2px solid var(--ps-gold); text-decoration:none;
  transition: background .2s ease, transform .15s ease;
}
.ps-btn:hover { background: var(--ps-gold-bright); border-color: var(--ps-gold-bright); transform: translateY(-2px); color: var(--ps-navy-deep) !important; }
.ps-btn--outline { background: transparent; color: var(--ps-gold-text) !important; border-color: var(--ps-gold); }
.ps-section--navy .ps-btn--outline, .ps-hero .ps-btn--outline { color: var(--ps-gold-bright) !important; }
.ps-btn--outline:hover { background: var(--ps-gold); color: var(--ps-navy-deep) !important; }

/* ---- Cards (squared) ---- */
.ps-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap:1.25rem; }
.ps-card {
  display:flex; flex-direction:column; height:100%; background:#fff;
  border:1px solid var(--ps-line); padding:1.5rem 1.6rem; text-decoration:none;
  transition: box-shadow .25s ease, transform .2s ease, border-color .2s ease;
}
.ps-card:hover { box-shadow:0 10px 28px rgba(10,37,64,0.12); transform: translateY(-3px); border-color: var(--ps-gold); }
.ps-card .ps-card-icon { font-size:1.7rem; color: var(--ps-gold-text); margin-bottom:.55rem; }
.ps-card h3 { color: var(--ps-navy); font-size:1.1rem; margin:0 0 .4rem; }
.ps-card p { color: var(--ps-mute); font-size:.92rem; margin:0 auto 0 0; }
.ps-card .ps-card-more { color: var(--ps-gold-text); font-weight:700; font-size:.85rem; margin-top:.9rem; }

/* ---- Proof block (10k -> 30k) ---- */
.ps-proof { background: var(--ps-navy); color:#fff; padding:2.25rem 2rem; text-align:center; }
.ps-proof .ps-proof-num { font-size:2.4rem; font-weight:800; color: var(--ps-gold-bright); }
.ps-proof p { color: rgba(255,255,255,0.9); margin:.5rem 0 0; }

/* ---- FAQ (squared, closed by default) ---- */
.ps-faq details { background:#fff; border:1px solid var(--ps-line); padding:1rem 1.25rem; margin-bottom:.7rem; }
.ps-faq summary { font-weight:700; color: var(--ps-navy); cursor:pointer; list-style:none; }
.ps-faq summary::-webkit-details-marker { display:none; }
.ps-faq summary::after { content:'+'; float:right; color:var(--ps-gold-text); font-weight:700; }
.ps-faq details[open] summary::after { content:'\2013'; }
.ps-faq details p { color: var(--ps-mute); margin:.75rem 0 0; }

/* ---- Table of contents: collapsible, CLOSED by default site-wide ---- */
.ps-toc, nav.toc { background:#fff; border:1px solid var(--ps-line); padding: .25rem 1rem; }
nav.toc { } /* legacy TOC nav left intact; new TOCs use <details class="ps-toc"> closed */

/* ---- Author card (squared photo, consistent) ---- */
.author-bio-card { background: var(--ps-cream-deep); border:1px solid var(--ps-line); padding:1.5rem; margin:2.5rem 0 0; }
.author-bio-card .author-photo, .author-card-header .author-photo {
  border-radius: 0 !important; border:0; border-left:4px solid var(--ps-gold);
  width:88px; height:118px; object-fit:cover; object-position:top;
}
.author-card-info h4 { color: var(--ps-navy); }
.author-card-title { color: var(--ps-gold-text); font-weight:600; }

/* ---- Byline (article top) ---- */
.ps-byline { display:flex; align-items:center; gap:.7rem; color:var(--ps-mute); font-size:.95rem; margin:.5rem 0 1.5rem; }
.ps-byline img { width:44px; height:44px; object-fit:cover; object-position:top; border-radius:0; border-left:3px solid var(--ps-gold); }
.ps-byline strong { color: var(--ps-ink); }

/* ---- Dark CTA band ---- */
.ps-cta-band { background: var(--ps-navy); color:#fff; text-align:center; padding:3.25rem 1rem; }
.ps-cta-band h2 { color:#fff; }
.ps-cta-band p { color: rgba(255,255,255,0.82); }

@media (max-width: 768px){
  .ps-hero { padding:3rem 0; } .ps-hero h1 { font-size:2rem; } .ps-section h2 { font-size:1.55rem; }
}

/* ---- CTA buttons: solid gold + navy text, squared (fix invisible outline CTAs) ---- */
.btn-coral, .btn-outline-white {
  background: #fd5353 !important; color: #fff !important;
  border: 2px solid #fd5353 !important; border-radius: 0 !important; font-weight: 700;
}
.btn-coral:hover, .btn-coral:focus, .btn-outline-white:hover, .btn-outline-white:focus {
  background: #e84444 !important; border-color: #e84444 !important; color: #fff !important;
}
.btn-outline-dark { background: transparent !important; color: var(--ps-navy) !important; border: 2px solid var(--ps-navy) !important; }
.btn-outline-dark:hover { background: var(--ps-navy) !important; color: #fff !important; }
/* Homepage owner photo: smaller, cropped asset already trims headroom */
.hero-img { max-width: 320px !important; width: 100% !important; height: auto !important; }

/* ---- Homepage hero: tighten dead space + smaller photo ---- */
.hero-section { padding: 2.75rem 0 2.5rem !important; }
.hero-img { max-width: 210px !important; width: 100% !important; height: auto !important; }

/* ---- Square ALL Bootstrap rounded utilities (rounded-1..5, top/bottom/start/end) ---- */
[class*="rounded-"]:not(.rounded-circle) { border-radius: 0 !important; }
/* ---- Homepage hero name accent ---- */
.hero-name { color: var(--ps-gold-text); font-weight: 800; }
/* ---- Who-Is-Chris: image matches the info card height ---- */
.about-preview .row { align-items: stretch; }
.about-preview .col-lg-5 { display: flex; }
.about-img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center; box-shadow: var(--shadow-lg); }

/* ---- Landing pages without the fixed nav: cancel the global mobile body offset ---- */
@media (max-width: 767.98px){ body.lp-page { padding-top: 0 !important; } }
/* ---- Belt-and-suspenders: ensure primary CTA buttons are squared at all sizes ---- */
.btn-coral, .btn-coral.btn-lg, .btn-outline-white, a.btn-coral { border-radius: 0 !important; }

/* ---- Proof band ($10k -> $30k), reusable across pages ---- */
.ps-proof-band { background: var(--ps-navy); color:#fff; padding: 3rem 0; text-align:center; }
.ps-proof-band .ps-eyebrow { color: var(--ps-gold-bright); }
.ps-proof-band h2 { color:#fff; font-weight:800; font-size:2rem; max-width:800px; margin:0 auto .75rem; }
.ps-proof-band h2 .accent { color: var(--ps-gold-bright); }
.ps-proof-band p { color: rgba(255,255,255,0.85); max-width:640px; margin:0 auto; }

/* ---- 'Ready to Grow' CTA band: navy bg (was red, clashed with the red button) ---- */
.cta-banner-coral { background: var(--ps-navy) !important; }

/* ---- Headings on dark navy-gradient sections must be white (legacy sections forced charcoal) ---- */
[style*="1a1a2e"] h1, [style*="1a1a2e"] h2, [style*="1a1a2e"] h3, [style*="1a1a2e"] h4,
[style*="16213e"] h1, [style*="16213e"] h2, [style*="16213e"] h3, [style*="16213e"] h4 { color:#fff !important; }
/* ---- Portfolio "View Live Site" buttons + cards squared ---- */
.portfolio-btn, .portfolio-card, .portfolio-card-header, .portfolio-card img { border-radius: 0 !important; }


/* ---- Pricing cards (lifted from seo-services for homepage reuse) ---- */
/* Pricing cards */
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--color-coral);
  border-width: 2px;
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-coral);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}
.pricing-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-range {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 0.25rem;
}
.pricing-range span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}
.pricing-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-features li i {
  color: var(--color-coral);
  margin-top: 3px;
  flex-shrink: 0;
}


/* ---- Nav 'Get a Free Audit' CTA: squared (was a pill) ---- */
.header-cta, .header-cta.mobile-cta { border-radius: 0 !important; }

/* ---- Proven Results embedded case-study card (sits inside the navy proof band) ---- */
.ps-proof-card { display:flex; align-items:center; gap:1.5rem; max-width:740px; margin:1.85rem auto 0; background:rgba(255,255,255,0.06); border:1px solid rgba(212,184,120,0.4); padding:1.4rem 1.8rem; text-align:left; }
.ps-proof-card-stat { font-size:2.7rem; font-weight:800; color:var(--ps-gold-bright); line-height:1; flex:0 0 auto; }
.ps-proof-card-body h3 { color:#fff; font-size:1.15rem; margin:0 0 .3rem; font-weight:700; }
.ps-proof-card-body p { color:rgba(255,255,255,0.85); margin:0 0 .85rem; font-size:.95rem; }
@media (max-width:600px){ .ps-proof-card{ flex-direction:column; text-align:center; } }

/* ============================================================
   STD-ARTICLE — unified article layout (centered reading column)
   Applied by wrapping article body in <article class="ps-article">.
   Replaces full-width legacy article bodies.
   ============================================================ */
.ps-article-hero { background: var(--ps-cream); padding: 3.25rem 0 2.25rem; border-bottom: 1px solid var(--ps-line); }
.ps-article-hero .container { max-width: 990px; }
.ps-article-hero h1 { color: var(--ps-navy); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.ps-article-meta { color: var(--ps-mute); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; }
.ps-article-meta .ps-article-author { color: var(--ps-gold-text); font-weight: 700; }

.ps-article-body { background: var(--ps-white); padding: 2.5rem 0 3.5rem; }
.ps-article { max-width: 990px; margin: 0 auto; color: var(--ps-ink); font-size: 1.08rem; line-height: 1.78; }
.ps-article h2 { color: var(--ps-navy); font-weight: 800; font-size: 1.65rem; line-height: 1.25; margin: 2.4rem 0 .9rem; scroll-margin-top: 90px; }
.ps-article h3 { color: var(--ps-navy); font-weight: 700; font-size: 1.28rem; margin: 1.8rem 0 .7rem; scroll-margin-top: 90px; }
.ps-article h4 { color: var(--ps-navy-deep); font-weight: 700; font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.ps-article h5, .ps-article h6 { color: var(--ps-navy-deep); font-weight: 700; margin: 1.2rem 0 .4rem; }
.ps-article p { margin: 0 0 1.15rem; }
.ps-article ul, .ps-article ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.ps-article li { margin: 0 0 .55rem; }
.ps-article strong { color: var(--ps-navy-deep); }
.ps-article a { color: var(--ps-gold-text); text-decoration: underline; text-underline-offset: 2px; }
.ps-article a:hover { color: var(--ps-gold); }
.ps-article img { max-width: 100%; height: auto; margin: 1.5rem 0; border: 1px solid var(--ps-line); }
.ps-article blockquote { border-left: 4px solid var(--ps-gold); background: var(--ps-cream); margin: 1.5rem 0; padding: 1rem 1.25rem; color: var(--ps-navy-deep); }
/* overflow guards — never let article content break out of the viewport */
.ps-article { overflow-wrap: break-word; word-wrap: break-word; }
.ps-article table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
.ps-article pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.ps-article-body .container, .ps-article-hero .container { overflow-x: clip; }

/* ---- STD-TOC — single collapsible, default-closed table of contents ---- */
.ps-toc { border: 1px solid var(--ps-line); background: var(--ps-cream); margin: 0 0 2rem; }
.ps-toc-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--ps-navy); color: #fff; border: none; padding: .85rem 1.15rem; font-weight: 700; font-size: 1rem; cursor: pointer; }
.ps-toc-toggle:hover { background: var(--ps-navy-deep); }
.ps-toc-toggle .ps-toc-chevron { transition: transform .25s ease; color: var(--ps-gold-bright); }
.ps-toc[open] .ps-toc-chevron, .ps-toc.ps-open .ps-toc-chevron { transform: rotate(180deg); }
.ps-toc-list { list-style: decimal; margin: 0; padding: 0 1.15rem 0 2.7rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.ps-toc.ps-open .ps-toc-list { max-height: 1600px; padding: .9rem 1.15rem 1rem 2.7rem; }
.ps-toc-list li { margin: .4rem 0; line-height: 1.4; padding-left: .25rem; }
.ps-toc-list li::marker { color: var(--ps-gold-text); font-weight: 700; }
.ps-toc-list a { color: var(--ps-navy); text-decoration: none; border-bottom: 1px solid transparent; }
.ps-toc-list a:hover { color: var(--ps-gold-text); border-bottom-color: var(--ps-gold); }

/* ============================================================
   STD-LANDING pricing — shared 3-tier pricing cards (promoted
   from seo-services so every niche landing renders identically).
   Prices: Starter $1,000-1,500 / Growth $2,000-2,500 / Dominate $3,500+
   ============================================================ */
.pricing-card { background: var(--ps-white); border: 1px solid var(--ps-line); padding: 2rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,37,64,0.12); }
.pricing-card.featured { border-color: #fd5353; border-width: 2px; position: relative; }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #fd5353; color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 16px; }
.pricing-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--ps-navy); }
.pricing-range { font-size: 1.75rem; font-weight: 700; color: var(--ps-navy); margin-bottom: .25rem; }
.pricing-range span { font-size: .9rem; font-weight: 400; color: var(--ps-mute); }
.pricing-desc { font-size: .85rem; color: var(--ps-mute); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.5rem 0; text-align: left; }
.pricing-features li { padding: 6px 0; font-size: .9rem; display: flex; align-items: flex-start; gap: 8px; }
.pricing-features li i { color: #fd5353; margin-top: 3px; flex-shrink: 0; }
