*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1d4ed8;
  --accent: #0d9488;
  --orange: #f97316;
  --grad: linear-gradient(135deg, #1d4ed8, #0d9488);
  --grad-orange: linear-gradient(135deg, #f97316, #ef4444);
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Navbar ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px -8px rgba(15,23,42,.08);
}

.nav__inner {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.nav__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(29,78,216,.45);
}

.nav__mark svg { width: 22px; height: 22px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  font-size: .97rem;
  font-weight: 600;
  color: #475569;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}

.nav__links a:hover, .nav__links a.active {
  color: var(--primary);
  background: #eff6ff;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--grad-orange);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px -6px rgba(249,115,22,.5);
  transition: transform .2s, box-shadow .2s;
}

.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -6px rgba(249,115,22,.55); }

/* ── Post Hero ── */
.post-hero {
  color: #fff;
  padding: 60px 16px 56px;
}

.post-hero__inner {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.post-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  transition: color .18s;
}

.post-hero__back:hover { color: #fff; }

.post-hero__cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.post-hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.post-hero__meta span { display: flex; align-items: center; gap: 5px; }
.post-hero__meta .dot { opacity: .5; }

/* ── Layout ── */
.post-layout {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 48px 0 72px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}

/* ── Article content ── */
.post-content {
  min-width: 0;
}

.post-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}

.highlight-box {
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 28px;
}

/* ── Reason cards ── */
.reason-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15,23,42,.05);
  transition: box-shadow .22s, transform .22s;
}

.reason-card:hover {
  box-shadow: 0 8px 28px -10px rgba(15,23,42,.14);
  transform: translateY(-2px);
}

.reason-card__num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.reason-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary);
  display: grid;
  place-items: center;
}

.reason-card__body h2 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -.01em;
}

.reason-card__body p {
  font-size: .95rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.reason-card__body a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Info grid ── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 32px;
}

.info-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.info-item strong {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.info-item span {
  font-size: .9rem;
  color: #475569;
  line-height: 1.5;
}

/* ── CTA box ── */
.post-cta-box {
  background: var(--grad);
  border-radius: 16px;
  padding: 32px;
  color: #fff;
  text-align: center;
  margin: 32px 0;
}

.post-cta-box h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.post-cta-box p {
  font-size: .95rem;
  opacity: .85;
  margin-bottom: 22px;
  line-height: 1.6;
}

.post-cta-box__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--grad-orange);
  color: #fff;
  font-weight: 800;
  font-size: .97rem;
  box-shadow: 0 6px 20px -8px rgba(249,115,22,.55);
  transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(249,115,22,.6); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: .97rem;
  box-shadow: 0 6px 20px -8px rgba(37,211,102,.5);
  transition: transform .2s, box-shadow .2s;
}

.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(37,211,102,.55); }

/* ── Post nav ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.post-nav__back, .post-nav__next {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  transition: opacity .18s;
}

.post-nav__back:hover, .post-nav__next:hover { opacity: .7; }

/* ── Sidebar ── */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15,23,42,.05);
}

.sidebar-card--cta {
  background: var(--grad);
  color: #fff;
  border: none;
}

.sidebar-card--cta p { opacity: .85; }

.sidebar-card h4 {
  font-size: .97rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

.sidebar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-card ul li a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity .18s;
}

.sidebar-card ul li a::before {
  content: "→";
  font-size: .8rem;
  opacity: .6;
}

.sidebar-card ul li a:hover { opacity: .7; }

.sidebar-card--cta h4,
.sidebar-card--cta ul li a { color: #fff; }

.sidebar-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px -8px rgba(37,211,102,.65);
  transition: transform .22s, box-shadow .22s;
  animation: waPulse 2.8s ease-in-out infinite;
}

.whatsapp-fab:hover { transform: scale(1.1); animation: none; }
.whatsapp-fab svg { width: 28px; height: 28px; }

@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 28px -8px rgba(37,211,102,.65), 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 8px 28px -8px rgba(37,211,102,.65), 0 0 0 10px rgba(37,211,102,0); }
}

/* ── Footer ── */
.blog-footer {
  background: #0f172a;
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 28px 16px;
  font-size: .88rem;
}

.blog-footer a { color: #7dd3fc; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
}

@media (max-width: 560px) {
  .post-hero { padding: 44px 16px 40px; }
  .reason-card { flex-direction: column; gap: 12px; }
  .info-grid { grid-template-columns: 1fr; }
  .post-cta-box { padding: 24px 18px; }
  .post-sidebar { grid-template-columns: 1fr; }
}
