/* ============================================================
   SgtPapi.com — Brand CSS v3.0
   Light theme · Poppins + Inter · Orange / Navy
   ============================================================ */

:root {
  --orange:       #F7921A;
  --orange-hover: #e07f0d;
  --navy:         #1C1C1E;
  --text:         #2A2A2A;
  --muted:        #777777;
  --light:        #AAAAAA;
  --bg:           #FFFFFF;
  --bg-warm:      #FAFAF7;
  --bg-alt:       #F5EEE4;
  --border:       #E8E2D8;
  --blue:         #4A8DD5;
  --green:        #2BAE76;
  --pink:         #E85D8A;
  --card-shadow:  0 2px 20px rgba(0,0,0,0.07);
  --font-head:    'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w:        1140px;
  --radius:       14px;
  --radius-sm:    8px;
  --ease:         0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo img { height: 52px; width: auto; display: block; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.nav-link { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--text); transition: color var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.88rem;
  padding: 0.6rem 1.3rem; border-radius: 999px;
  transition: background var(--ease), transform var(--ease);
}
.nav-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero { background: var(--bg-warm); padding: 5rem 0 4rem; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: center; }
.hero-eyebrow {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin: 0 0 1rem;
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 800; line-height: 1.06; color: var(--navy); margin: 0 0 1.2rem;
}
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: 1.1rem; color: #555; line-height: 1.7; max-width: 520px; margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photo-wrap {
  width: 340px; height: 420px; border-radius: 24px; overflow: hidden;
  background: var(--bg-alt); box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  position: relative;
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.hero-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--orange); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  padding: 0.7rem 1.1rem; border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(247,146,26,0.35); text-align: center; line-height: 1.3;
}
.hero-logo-float {
  position: absolute; top: -20px; left: -24px;
  width: 86px; opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* ── MARQUEE ── */
.marquee-strip { background: var(--navy); padding: 0.75rem 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 22s linear infinite; }
.marquee-track span {
  font-family: var(--font-head); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding-right: 2.5rem; color: rgba(255,255,255,0.65);
}
.marquee-track .dot { color: var(--orange); padding-right: 2.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  padding: 0.85rem 1.8rem; border-radius: 999px; border: none; cursor: pointer;
  transition: all var(--ease); text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 20px rgba(247,146,26,0.3); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(247,146,26,0.4); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-ghost:hover { background: var(--orange); color: #fff; }

/* ── SECTIONS ── */
section { padding: 5rem 0; }
.section-alt { background: var(--bg-warm); }
.section-dark { background: var(--navy); }
.section-label {
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin: 0 0 0.6rem;
  display: block;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.15; color: var(--navy); margin: 0 0 0.6rem;
}
.section-title-light { color: #fff; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 540px; line-height: 1.65; margin: 0 0 3rem; }

/* ── PILLAR CARDS ── */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: all var(--ease); position: relative; overflow: hidden;
}
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.pillar-love::before { background: var(--pink); }
.pillar-money::before { background: var(--orange); }
.pillar-health::before { background: var(--green); }
.pillar-card:hover { box-shadow: var(--card-shadow); transform: translateY(-4px); }
.pillar-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.pillar-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); margin: 0 0 0.5rem; }
.pillar-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.6; margin: 0; }
.pillar-link { display: block; margin-top: 1.2rem; color: var(--orange); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; }
.pillar-link:hover { text-decoration: underline; }

/* ── POST CARDS ── */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.posts-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--ease); display: block;
}
.post-card:hover { box-shadow: var(--card-shadow); transform: translateY(-4px); }
.post-card-body { padding: 1.5rem; }
.post-cat {
  display: inline-block; font-family: var(--font-head); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.75rem;
  border-radius: 999px; margin-bottom: 0.8rem;
}
.cat-ai              { background: #EEF4FF; color: var(--blue); }
.cat-entrepreneurship { background: #FFF4E6; color: var(--orange); }
.cat-parenting       { background: #F0FBF5; color: var(--green); }
.cat-health          { background: #F0FBF5; color: var(--green); }
.cat-love, .cat-relationships { background: #FFF0F5; color: var(--pink); }
.cat-money           { background: #FFF4E6; color: var(--orange); }
.cat-travel          { background: #EEF4FF; color: var(--blue); }
.post-card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 0 0 0.6rem; }
.post-card-excerpt {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0 0 1.2rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--light); }
.meta-dot { color: var(--border); }

/* ── ABOUT STRIP ── */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-strip-photo { border-radius: var(--radius); overflow: hidden; height: 440px; }
.about-strip-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.about-tag {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--bg-alt); color: var(--text);
}

/* ── HIRE SECTION ── */
.hire-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.hire-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.5rem 1.3rem; text-align: center; transition: background var(--ease);
}
.hire-card:hover { background: rgba(255,255,255,0.12); }
.hire-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.hire-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: #fff; margin: 0 0 0.4rem; }
.hire-desc { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5; margin: 0; }

/* ── NEWSLETTER ── */
.newsletter-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-form { display: flex; gap: 0.75rem; margin-top: 2rem; }
.newsletter-input {
  flex: 1; padding: 0.85rem 1.2rem; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--bg); color: var(--text);
  outline: none; transition: border-color var(--ease);
}
.newsletter-input:focus { border-color: var(--orange); }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 3rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.5rem;
}
.footer-brand-logo { height: 60px; width: auto; margin-bottom: 0.8rem; }
.footer-tagline { font-size: 0.88rem; line-height: 1.6; margin: 0 0 1.2rem; max-width: 260px; }
.footer-heading { font-family: var(--font-head); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin: 0 0 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--ease); }
.footer-links a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  transition: all var(--ease);
}
.social-btn:hover { background: var(--orange); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }

/* ── BLOG LIST PAGE ── */
.page-hero { background: var(--bg-warm); padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.page-hero-title { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; color: var(--navy); margin: 0 0 0.5rem; }
.page-hero-sub { font-size: 1.05rem; color: var(--muted); margin: 0; }
.posts-section { padding: 4rem 0; }

/* ── SINGLE POST ── */
.post-layout { max-width: 720px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.post-header { margin-bottom: 2.5rem; }
.post-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; color: var(--navy); margin: 0.8rem 0 1rem; }
.post-lead { font-size: 1.12rem; color: #555; line-height: 1.7; margin: 0 0 1.5rem; }
.post-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
.post-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.post-body { font-size: 1.05rem; line-height: 1.82; color: var(--text); }
.post-body h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 0.8rem; }
.post-body h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.6rem; }
.post-body p { margin: 0 0 1.4rem; }
.post-body strong { color: var(--navy); }
.post-body a { color: var(--orange); text-decoration: underline; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin: 0 0 1.4rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body blockquote {
  margin: 2rem 0; padding: 1rem 1.5rem;
  border-left: 4px solid var(--orange); background: var(--bg-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: #555;
}
.post-body code { background: var(--bg-alt); padding: 0.15rem 0.45rem; border-radius: 4px; font-size: 0.9em; }
.post-tags { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--bg-alt); color: var(--text); }
.post-nav { display: flex; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-nav-item { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.post-nav-next { text-align: right; }
.post-nav-label { font-size: 0.75rem; color: var(--muted); }
.post-nav-title { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); transition: color var(--ease); }
.post-nav-title:hover { color: var(--orange); }
.post-back { margin-top: 2rem; text-align: center; }

/* ── AUTHOR BOX ── */
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--bg-warm); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-top: 3rem; }
.author-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 10%; flex-shrink: 0; }
.author-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); margin: 0 0 0.2rem; }
.author-bio { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── ABOUT PAGE ── */
.about-hero { padding: 5rem 0 4rem; background: var(--bg-warm); }
.about-hero-inner { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: center; }
.about-content { padding: 4rem 0; max-width: 780px; margin: 0 auto; }
.about-content h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.8rem; }
.about-content p { font-size: 1.05rem; line-height: 1.82; color: var(--text); margin: 0 0 1.2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hire-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: 2.6rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1rem; }
  .posts-grid, .posts-full-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip-photo { height: 280px; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .nav-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border); gap: 1rem;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .newsletter-form { flex-direction: column; }
  .post-nav { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hire-grid { grid-template-columns: 1fr; }
}
