:root {
  --yellow: #F5B62C;
  --yellow-soft: #FFD977;
  --yellow-bg: #FFF3D1;
  --navy: #3B3F9C;
  --navy-dark: #2B2E7A;
  --navy-ink: #1F2247;
  --coral: #F06E5B;
  --teal: #4DBFA0;
  --orange: #E89838;
  --pink: #F29EC4;
  --cream: #FFFBF0;
  --ink: #1F2247;
  --muted: #6B6E94;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(59,63,156,.12);
  --shadow-lg: 0 24px 70px rgba(59,63,156,.22);
  --wa: #25D366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Fredoka', sans-serif; font-weight: 600; color: var(--navy); line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  background: rgba(255, 251, 240, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(59,63,156,0.08);
}
nav.site-nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo-nav { display: flex; align-items: center; gap: 12px; }
.logo-nav img { height: 44px; width: auto; }
.logo-nav .name {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: 22px; color: var(--navy); letter-spacing: 0.02em;
}
.logo-nav .name em { color: var(--yellow); font-style: normal; }
.nav-links { display: flex; gap: 26px; align-items: center; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--ink); transition: color .25s ease; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  padding: 11px 22px;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(59,63,156,.25);
  transition: all .25s ease;
}
.nav-cta:hover { background: var(--yellow); color: var(--navy) !important; transform: translateY(-2px); }
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--navy); }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--cream); padding: 24px;
    gap: 18px; border-bottom: 1px solid rgba(59,63,156,.1);
    box-shadow: 0 8px 20px rgba(59,63,156,.08);
  }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-family: 'Fredoka', sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .3s ease; border: 0;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(59,63,156,.3); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1eb655; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--navy); background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid rgba(59,63,156,.12);
  border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--navy);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(59,63,156,.06);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* BLOG INDEX */
.blog-hero {
  padding: 150px 0 60px;
  background: linear-gradient(135deg, var(--yellow-bg) 0%, var(--cream) 70%, #FFF9E0 100%);
  text-align: center;
}
.blog-hero h1 {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.blog-hero h1 .hl { color: var(--yellow); }
.blog-hero p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 80px 0;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card .pc-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .pc-img img { transform: scale(1.04); }
.post-card .pc-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.post-card .pc-cat {
  font-size: 12px; font-weight: 600;
  color: var(--coral); text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.post-card h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 21px; line-height: 1.25;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}
.post-card p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 18px; }
.post-card .pc-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 12px; color: var(--muted);
  padding-top: 14px; border-top: 1px solid rgba(59,63,156,.08);
}
.post-card .pc-meta .read-more { margin-left: auto; color: var(--navy); font-weight: 600; }
.post-card .pc-meta .read-more::after { content: ' →'; }

@media (max-width: 920px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; padding: 50px 0; }
}

/* ARTICLE */
.article-hero {
  padding: 130px 0 50px;
  background: var(--cream);
}
.article-hero .breadcrumb {
  font-size: 13px; color: var(--muted);
  margin-bottom: 18px;
}
.article-hero .breadcrumb a { color: var(--navy); font-weight: 500; }
.article-hero .breadcrumb a:hover { color: var(--yellow); }
.article-hero h1 {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(34px, 4.6vw, 54px);
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.article-meta {
  display: flex; gap: 18px; align-items: center;
  color: var(--muted); font-size: 14px;
  flex-wrap: wrap;
}
.article-meta .pill {
  padding: 6px 14px; background: var(--yellow-bg);
  color: var(--navy); border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

.article-image {
  margin: 30px auto 0;
  max-width: 1000px;
}
.article-image img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-body {
  padding: 60px 0 80px;
}
.article-body p {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.75;
}
.article-body p.lead {
  font-size: 20px;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.55;
}
.article-body h2 {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy);
  margin: 50px 0 18px;
  line-height: 1.2;
}
.article-body h3 {
  font-size: 22px;
  color: var(--navy);
  margin: 36px 0 14px;
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 0 0 22px 22px;
  padding-left: 8px;
}
.article-body li {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.65;
}
.article-body li strong { color: var(--navy); }
.article-body a {
  color: var(--navy); font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  transition: color .2s ease;
}
.article-body a:hover { color: var(--yellow); }
.article-body strong { color: var(--navy-dark); font-weight: 600; }
.article-body em { color: var(--navy); font-style: italic; }
.article-body blockquote {
  margin: 30px 0;
  padding: 22px 28px;
  background: var(--yellow-bg);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy);
  font-style: italic;
  font-size: 18px;
}
.article-body hr {
  border: 0; height: 1px;
  background: rgba(59,63,156,.15);
  margin: 40px 0;
}

.tldr {
  background: var(--white);
  border: 1px solid rgba(59,63,156,.08);
  border-radius: var(--radius);
  padding: 26px 32px;
  margin: 30px 0;
  box-shadow: 0 4px 16px rgba(59,63,156,.06);
}
.tldr h3 {
  font-size: 17px;
  color: var(--coral);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.tldr p { font-size: 16px !important; margin-bottom: 0 !important; }

.cta-banner {
  margin: 60px 0;
  padding: 50px 40px;
  background: linear-gradient(135deg, var(--yellow) 0%, #F5C659 100%);
  border-radius: var(--radius);
  text-align: center;
  color: var(--navy);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner h3 {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--navy);
  margin-bottom: 12px;
}
.cta-banner p { color: var(--navy-dark); margin-bottom: 24px !important; font-size: 16px !important; }
.cta-banner .btn-wa {
  background: var(--navy); color: var(--white);
  box-shadow: 0 10px 30px rgba(59,63,156,.3);
}
.cta-banner .btn-wa:hover { background: var(--navy-dark); }

/* RELATED POSTS */
.related-section {
  background: var(--white);
  padding: 70px 0;
}
.related-section h2 {
  font-family: 'Bagel Fat One', sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
}
.related-section h2 .hl { color: var(--yellow); }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* FOOTER */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255,251,240,.7);
  padding: 48px 0 30px;
  font-size: 14px;
}
footer.site-footer .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,251,240,.1);
}
footer.site-footer .f-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
footer.site-footer .f-brand img { height: 52px; filter: brightness(0) invert(1); }
footer.site-footer .f-brand .name { font-family: 'Bagel Fat One', sans-serif; font-size: 22px; color: var(--cream); }
footer.site-footer .f-brand .name em { color: var(--yellow); font-style: normal; }
footer.site-footer .f-desc { max-width: 360px; line-height: 1.6; }
footer.site-footer h5 { color: var(--yellow); font-family: 'Fredoka', sans-serif; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
footer.site-footer ul { list-style: none; display: grid; gap: 10px; }
footer.site-footer a { color: rgba(255,251,240,.8); transition: color .25s ease; }
footer.site-footer a:hover { color: var(--yellow); }
footer.site-footer .copyright { padding-top: 24px; text-align: center; font-size: 13px; color: rgba(255,251,240,.5); }

@media (max-width: 860px) { footer.site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { footer.site-footer .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp Float */
.wa-float {
  position: fixed; bottom: 22px; right: 22px;
  width: 60px; height: 60px; background: var(--wa);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; z-index: 100;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  background: var(--wa); opacity: .4; z-index: -1;
  animation: wapulse 2s infinite;
}
@keyframes wapulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .wa-float::before { animation: none; transition: none; opacity: 1; transform: none; }
}
