*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:      #0c1a6b;
  --navy-dark: #091050;
  --blue-mid:  #1a3a9f;
  --orange:    #f5820a;
  --orange-dk: #d9700a;
  --white:     #ffffff;
  --light:     #f0f4ff;
  --text:      #1a1a2e;
  --muted:     #666;
  --border:    #dde5ff;
  --green:     #25d366;
  --shadow:    0 4px 24px rgba(12,26,107,.10);
  --shadow-md: 0 8px 32px rgba(12,26,107,.16);
  --radius:    12px;
  --radius-sm: 8px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none; transition: all .22s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: var(--green); color: var(--white); }
.btn-wa:hover { background: #1db954; transform: translateY(-1px); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* TYPOGRAPHY HELPERS */
.section-title { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.section-sub   { font-size: 1rem; color: var(--muted); line-height: 1.7; }
.section-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: block; }
.text-center   { text-align: center; }
.text-center .section-sub { max-width: 680px; margin: 0 auto; }

/* NAV */
.site-nav { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 12px rgba(12,26,107,.10); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.nav-logo  { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--navy); white-space: nowrap; }
.nav-logo .logo-icon { width: 40px; height: 40px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link  { padding: 8px 14px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--text); transition: .18s; display: flex; align-items: center; gap: 4px; }
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--light); }
.nav-link i { font-size: .7rem; opacity: .6; }
.nav-cta   { margin-left: 12px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--navy); }

/* PAGE HERO (blog listing) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1a3a9f 100%);
  padding: 60px 0 64px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--white); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-content { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .18s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,.35); }
.page-hero h1 { font-size: 2.4rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.page-hero p  { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 560px; }

/* POST HERO (single post) */
.post-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.post-hero-img {
  background-size: cover; background-position: center;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(9,16,80,.85) 0%, rgba(12,26,107,.75) 100%);
}
.post-hero-content { position: relative; z-index: 1; }
.post-cat {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}
.post-hero-content h1 { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.25; max-width: 760px; }
.post-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.post-meta span { font-size: .85rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--orange); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-light { background: var(--light); }

/* BLOG FILTERS */
.blog-filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.blog-search { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bs-wrap {
  position: relative; flex: 1; min-width: 220px;
  display: flex; align-items: center;
}
.bs-wrap > i { position: absolute; left: 14px; color: var(--muted); font-size: .88rem; pointer-events: none; }
.bs-wrap input {
  width: 100%; padding: 10px 38px 10px 38px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; color: var(--text);
  background: var(--white); transition: border-color .18s;
}
.bs-wrap input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12,26,107,.08); }
.bs-clear { position: absolute; right: 12px; color: var(--muted); font-size: .85rem; line-height: 1; }
.bs-clear:hover { color: var(--navy); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pill {
  padding: 6px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--navy);
  background: var(--white); transition: .18s;
}
.cat-pill:hover, .cat-pill.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* RESULTS INFO */
.blog-results-info { margin-bottom: 24px; font-size: .88rem; color: var(--muted); }
.blog-results-info strong { color: var(--text); }
.blog-results-info a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* BLOG CARD */
.blog-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-featured { grid-column: 1 / -1; flex-direction: row; }
.blog-card-featured .bc-img-wrap { flex: 0 0 420px; height: auto; }
.blog-card-featured .bc-img { height: 100%; object-fit: cover; }
.bc-img-wrap { display: block; height: 200px; overflow: hidden; }
.bc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .bc-img { transform: scale(1.04); }
.bc-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--light); color: var(--border); font-size: 3rem; height: 200px;
}
.blog-card-featured .bc-img-placeholder { height: 100%; }
.bc-body { padding: 22px 20px; display: flex; flex-direction: column; flex: 1; }
.bc-cat {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.bc-title { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.bc-title a:hover { color: var(--orange); }
.blog-card-featured .bc-title { font-size: 1.35rem; }
.bc-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.bc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.bc-date { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bc-date i { color: var(--orange); }
.bc-read { font-size: .82rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 5px; transition: gap .18s; }
.bc-read:hover { color: var(--orange); gap: 8px; }

/* EMPTY STATE */
.blog-empty { text-align: center; padding: 64px 24px; }
.blog-empty i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }
.blog-empty h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.blog-empty p  { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }

/* PAGINATION */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); font-size: .88rem; font-weight: 600;
  color: var(--navy); background: var(--white); transition: .18s;
}
.page-btn:hover { background: var(--light); border-color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* CTA SECTION (blog listing) */
.cta-section { padding: 80px 0; background: var(--light); }
.cta-inner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a3a9f 100%);
  border-radius: var(--radius); padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-text h2 { font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.cta-text p  { font-size: .95rem; color: rgba(255,255,255,.7); }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* POST LAYOUT */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.post-article { min-width: 0; }
.post-content { font-size: .96rem; line-height: 1.85; color: var(--text); margin-bottom: 32px; }
.post-content p  { margin-bottom: 16px; }
.post-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.post-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; }
.post-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.post-content blockquote {
  border-left: 4px solid var(--orange); padding: 12px 20px;
  margin: 20px 0; background: var(--light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--muted);
}

/* POST TAGS */
.post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; font-size: .85rem; color: var(--muted); }
.post-tag {
  background: var(--light); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 5px 14px; font-size: .8rem;
  font-weight: 600; color: var(--navy); transition: .18s;
}
.post-tag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* POST SHARE */
.post-share { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; font-size: .85rem; color: var(--muted); }
.share-buttons { display: flex; gap: 8px; }
.share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--white); cursor: pointer;
  border: none; transition: transform .18s, opacity .18s;
}
.share-btn:hover { transform: scale(1.12); opacity: .9; }
.share-wa   { background: var(--green); }
.share-fb   { background: #1877f2; }
.share-tw   { background: #000; }
.share-copy { background: var(--navy); }

/* POST BACK */
.post-back { margin-top: 8px; }

/* SIDEBAR */
.post-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sb-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow);
}
.sb-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sb-cta-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-color: transparent;
}
.sb-cta-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(245,130,10,.2); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
}
.sb-cta-card h4 { color: var(--white); }
.sb-cta-card p  { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 16px; }
.sb-cta-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.sb-cta-card .btn:last-child { margin-bottom: 0; }
.sb-contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .88rem; color: var(--text); transition: color .18s;
}
.sb-contact-item:last-child { border-bottom: none; }
.sb-contact-item:hover { color: var(--navy); }
.sb-contact-item i { color: var(--orange); font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sb-contact-item span { font-size: .72rem; color: var(--muted); display: block; }
.sb-contact-item strong { font-size: .9rem; color: var(--navy); font-weight: 700; }
.sb-services { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sb-services li a {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--text); padding: 7px 0;
  border-bottom: 1px solid var(--border); transition: color .18s;
}
.sb-services li:last-child a { border-bottom: none; }
.sb-services li a:hover { color: var(--navy); }
.sb-services i { color: var(--orange); font-size: .72rem; }

/* RELATED POSTS */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* FOOTER */
.site-footer { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.f-logo-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; }
.footer-brand-name { font-size: 1.15rem; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 240px; }
.footer-col h5 { font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 10px; transition: color .18s; }
.footer-col a:hover { color: var(--white); }
.reach-item { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.reach-item i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.social-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); font-size: .9rem; transition: background .18s, color .18s; }
.social-icon:hover { background: var(--orange); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.4); }
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 18px rgba(37,211,102,.45); transition: transform .22s; }
.wa-float:hover { transform: scale(1.1); }

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card-featured { flex-direction: column; }
  .blog-card-featured .bc-img-wrap { flex: none; height: 220px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 1.8rem; }
  .post-hero-content h1 { font-size: 1.7rem; }
  .post-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-grid     { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
  .section-title { font-size: 1.55rem; }
  .cta-inner     { padding: 32px 20px; }
}
