:root{
  --navy:#0B1A33;
  --navy-2:#132A4D;
  --gold:#C9A24B;
  --gold-light:#E7CE8E;
  --ivory:#F6F3EA;
  --ink:#1C212B;
  --teal:#12393B;
  --line:rgba(11,26,51,0.12);
  --white:#FFFFFF;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; width:100%; overflow-x:hidden;}
body{
  font-family:'Inter', sans-serif;
  color:var(--ink);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  width:100%;
  overflow-x:hidden;
  position:relative;
}
h1,h2,h3,.display{
  font-family:'Fraunces', serif;
  font-weight:500;
  letter-spacing:-0.01em;
  color:var(--navy);
}
a{color:inherit; text-decoration:none;}
img{display:block; max-width:100%;}
.wrap{max-width:1240px; margin:0 auto; padding:0 32px;}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}

/* ---------- NAV ---------- */
header{
  position:relative; top:0; left:0; right:0; z-index:100;
  padding:22px 0;
  background:var(--navy);
}
.navwrap{display:flex; align-items:center; justify-content:space-between;}
.logo img{height:38px; filter:brightness(0) invert(1);}
.navlinks{display:flex; gap:34px; align-items:center;}
.navlinks a{
  color:var(--white); font-size:0.9rem; font-weight:500; opacity:0.88;
  position:relative; padding-bottom:4px;
}
.navlinks a:hover{opacity:1;}
.navlinks a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
  background:var(--gold); transition:width .3s ease;
}
.navlinks a:hover::after{width:100%;}
.nav-cta{
  border:1px solid var(--gold);
  color:var(--gold) !important;
  padding:9px 20px;
  border-radius:2px;
  font-size:0.85rem !important;
  letter-spacing:0.03em;
  transition:background .3s ease, color .3s ease;
}
.nav-cta:hover{background:var(--gold); color:var(--navy) !important;}
.burger{display:none; color:var(--white); font-size:1.4rem; background:none; border:none;}

/* ---------- BREADCRUMB ---------- */
.crumbs{font-size:0.78rem; color:rgba(255,255,255,0.55); margin-bottom:14px;}
.crumbs a{color:rgba(255,255,255,0.75);}
.crumbs a:hover{color:var(--gold-light);}

/* ---------- BLOG LISTING ---------- */
.page-hero{background:linear-gradient(160deg,var(--navy),var(--navy-2)); color:var(--white); padding:56px 0 42px;}
.page-hero h1{color:var(--white); font-size:clamp(1.9rem,3.4vw,2.6rem); font-weight:300; margin-top:12px;}
.page-hero p{opacity:0.75; margin-top:10px; max-width:560px; font-size:0.95rem; line-height:1.6;}
.eyebrow{
  font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; font-weight:600;
  color:var(--gold); display:flex; align-items:center; gap:10px;
}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--gold); display:inline-block;}

.bfilters{display:flex; gap:10px; flex-wrap:wrap; padding:28px 0 8px;}
.bfilters a{
  border:1px solid var(--line); padding:8px 16px; border-radius:20px; font-size:0.82rem; font-weight:500;
  color:var(--navy); background:var(--white);
}
.bfilters a:hover{border-color:var(--gold);}
.bfilters a.active{background:var(--navy); color:var(--white); border-color:var(--navy);}

.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; padding:8px 0 80px;}
.bcard{
  background:var(--white); border:1px solid var(--line); border-radius:3px; overflow:hidden;
  display:flex; flex-direction:column; transition:transform .3s ease, box-shadow .3s ease;
}
.bcard:hover{transform:translateY(-4px); box-shadow:0 22px 44px -26px rgba(11,26,51,0.3);}
.bmedia{aspect-ratio:16/10; background:linear-gradient(135deg,var(--navy),var(--teal)); position:relative; overflow:hidden;}
.bmedia svg{width:100%; height:100%;}
.bmedia img{width:100%; height:100%; object-fit:cover; display:block;}
.btag{
  position:absolute; top:14px; left:14px; background:rgba(255,255,255,0.92); color:var(--navy);
  font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em;
  padding:5px 10px; border-radius:20px;
}
.bbody{padding:20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1;}
.bmeta{font-size:0.72rem; color:#8892a0; text-transform:uppercase; letter-spacing:0.04em; font-weight:600; display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.bmeta span::before{content:"\00b7"; margin-right:10px; color:var(--line);}
.bmeta span:first-child::before{content:none; margin-right:0;}
.btitle{font-size:1.12rem; font-weight:500; line-height:1.3; color:var(--navy);}
.bcard:hover .btitle{color:var(--gold);}
.bexcerpt{font-size:0.88rem; color:#5b6472; line-height:1.6; flex:1;}
.bread{font-size:0.82rem; font-weight:600; color:var(--navy); margin-top:8px; display:inline-flex; align-items:center; gap:6px;}
.bcard:hover .bread{color:var(--gold);}

/* ---------- SINGLE POST ---------- */
.post-hero{background:linear-gradient(160deg,var(--navy),var(--navy-2)); color:var(--white); padding:56px 0 42px;}
.post-hero .wrap{max-width:820px;}
.post-back{font-size:0.82rem; color:var(--gold-light); font-weight:600; display:inline-flex; align-items:center; gap:6px; margin-bottom:18px;}
.post-hero h1{color:var(--white); font-size:clamp(1.9rem,3.6vw,2.7rem); font-weight:400; line-height:1.2;}
.post-hero .bmeta{color:rgba(255,255,255,0.65); margin-top:16px;}
.post-hero .bmeta span::before{color:rgba(255,255,255,0.3);}
.post-cover{max-width:820px; margin:-30px auto 0; padding:0 32px;}
.post-cover .cover-block{width:100%; aspect-ratio:16/8; border-radius:2px; background:linear-gradient(135deg,var(--c1,var(--navy)),var(--c2,var(--teal)));}
.post-cover img{width:100%; aspect-ratio:16/8; border-radius:2px; object-fit:cover; display:block;}
.post-body{max-width:760px; margin:0 auto; padding:48px 32px 40px;}
.post-body p{font-size:1.02rem; line-height:1.85; color:var(--ink); margin-bottom:22px;}
.post-body h2{font-size:1.4rem; margin:36px 0 16px; font-weight:500;}
.post-body ul{margin:0 0 22px 20px; color:var(--ink); font-size:1.02rem; line-height:1.85;}
.post-cta{
  max-width:820px; margin:0 auto 60px; background:var(--navy); border-radius:3px; padding:32px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.post-cta h3{color:var(--white); font-size:1.15rem; font-weight:400; max-width:380px;}
.post-cta-btns{display:flex; gap:10px; flex-wrap:wrap;}
.post-cta-btns a{padding:11px 20px; border-radius:2px; font-size:0.85rem; font-weight:600;}
.post-cta-btns .btn-view{background:var(--gold); color:var(--navy);}
.post-cta-btns .btn-wa{background:#25D366; color:var(--white);}
.related-wrap{max-width:1000px; margin:0 auto; padding:0 32px 80px;}
.related-wrap h3{font-size:1.15rem; font-weight:500; margin-bottom:20px;}
.related-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}

/* ---------- FOOTER ---------- */
footer{background:var(--navy); color:rgba(255,255,255,0.6); padding:64px 0 28px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.1);}
.foot-grid img{height:32px; filter:brightness(0) invert(1); margin-bottom:16px;}
.foot-grid p{font-size:0.85rem; line-height:1.7; max-width:280px;}
.foot-col h4{color:var(--white); font-size:0.85rem; margin-bottom:16px; font-weight:600; letter-spacing:0.02em;}
.foot-col a{display:block; font-size:0.85rem; margin-bottom:10px; opacity:0.75; transition:opacity .3s ease;}
.foot-col a:hover{opacity:1; color:var(--gold-light);}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:24px; font-size:0.78rem; flex-wrap:wrap; gap:10px;}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float{
  position:fixed; right:24px; bottom:24px; z-index:200;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px rgba(37,211,102,0.45);
  transition:transform .25s ease, box-shadow .25s ease;
}
.wa-float:hover{transform:scale(1.08); box-shadow:0 16px 36px rgba(37,211,102,0.55);}
.wa-float svg{width:30px; height:30px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .navlinks{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--navy); flex-direction:column; align-items:flex-start;
    padding:8px 24px 20px; gap:2px; box-shadow:0 16px 30px rgba(0,0,0,0.25);
  }
  .navlinks.mobile-open{display:flex;}
  .navlinks a{width:100%; padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.08);}
  .navlinks .nav-cta{border:1px solid var(--gold); margin-top:10px; text-align:center;}
  header{position:relative;}
  .burger{display:block;}
  .blog-grid, .related-grid{grid-template-columns:repeat(2,1fr);}
  .foot-grid{grid-template-columns:1fr 1fr; row-gap:32px;}
}
@media (max-width:560px){
  .blog-grid, .related-grid{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
}
@media (max-width:480px){
  .wrap{padding:0 18px;}
  .post-cta{flex-direction:column; align-items:flex-start;}
}