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

:root {
  --black:      #090909;
  --black-2:    #101010;
  --black-3:    #171717;
  --green:      #22c55e;
  --green-lite: #4ade80;
  --green-dark: #15803d;
  --white:      #efefef;
  --off-white:  #c8c8c8;
  --gray:       #666666;
  --gray-lite:  #999999;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── NAV ─────────────────────────── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 2.5rem;
  background: rgba(9,9,9,.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34,197,94,.08);
}

.nav-logo { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); text-decoration: none; }
.nav-logo em { color: var(--green-lite); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a { color: var(--gray-lite); text-decoration: none; font-size: .85rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { background: var(--green) !important; color: var(--black) !important; padding: .5rem 1.3rem !important; border-radius: 5px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--green-lite) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); }

/* ── WRAP ─────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-size: .7rem; font-weight: 600; color: var(--green);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem;
}

/* ── BLOG INDEX ───────────────────── */
.blog-hero { padding: 9rem 2.5rem 3rem; position: relative; overflow: hidden; }
.blog-hero::after {
  content: ''; position: absolute; top: -180px; left: 30%; width: 720px; height: 520px;
  background: radial-gradient(ellipse, rgba(34,197,94,.06) 0%, transparent 65%); pointer-events: none;
}
.blog-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em;
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.blog-hero h1 em { color: var(--green-lite); font-style: italic; }
.blog-hero p { color: var(--gray-lite); font-size: 1.05rem; max-width: 560px; font-weight: 300; position: relative; z-index: 1; }

.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; padding: 2rem 2.5rem 6rem; max-width: 1100px; margin: 0 auto;
}

.post-card {
  background: var(--black-2); border: 1px solid rgba(255,255,255,.055);
  border-radius: 16px; padding: 2rem; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: border-color .3s, transform .25s;
}
.post-card:hover { border-color: rgba(34,197,94,.22); transform: translateY(-4px); }
.post-tag {
  display: inline-block; align-self: flex-start; font-size: .68rem; font-weight: 500;
  color: var(--green-lite); background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.16);
  padding: .2rem .7rem; border-radius: 100px; letter-spacing: .04em; margin-bottom: 1.25rem;
}
.post-card h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;
  line-height: 1.2; margin-bottom: .75rem; color: var(--white);
}
.post-card p { color: var(--gray); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.post-meta { margin-top: auto; font-size: .78rem; color: var(--gray); }
.post-readmore { color: var(--green-lite); font-size: .85rem; font-weight: 500; margin-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; }

/* ── ARTICLE ──────────────────────── */
.article { max-width: 720px; margin: 0 auto; padding: 8rem 1.5rem 4rem; }

.breadcrumb { font-size: .8rem; color: var(--gray); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--gray-lite); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-lite); }
.breadcrumb span { margin: 0 .4rem; opacity: .5; }
.breadcrumb .current { margin: 0; opacity: 1; color: var(--gray-lite); }

.article-tag {
  display: inline-block; font-size: .68rem; font-weight: 500; color: var(--green-lite);
  background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.16);
  padding: .2rem .7rem; border-radius: 100px; letter-spacing: .04em; margin-bottom: 1.25rem;
}

.article h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -.01em;
  color: var(--white); margin-bottom: 1.25rem;
}
.article h1 em { color: var(--green-lite); font-style: italic; }

.article-meta { font-size: .82rem; color: var(--gray); margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.article-meta strong { color: var(--gray-lite); font-weight: 500; }

.article-body { font-size: 1.08rem; line-height: 1.85; color: var(--off-white); }
.article-body > p { margin-bottom: 1.5rem; }
.article-body .lead { font-size: 1.2rem; color: var(--white); line-height: 1.7; margin-bottom: 2rem; font-weight: 300; }

.article-body h2 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.25;
  color: var(--white); margin: 2.75rem 0 1rem; letter-spacing: -.005em;
}
.article-body h3 {
  font-family: var(--font-body); font-weight: 500; font-size: 1.15rem;
  color: var(--white); margin: 1.75rem 0 .6rem;
}
.article-body strong { color: var(--white); font-weight: 500; }
.article-body em { color: var(--green-lite); font-style: italic; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.25rem; }
.article-body li { margin-bottom: .6rem; padding-left: .3rem; }
.article-body li::marker { color: var(--green); }
.article-body a { color: var(--green-lite); text-decoration: underline; text-underline-offset: 3px; }

.article-quote {
  border-left: 3px solid var(--green); padding-left: 1.5rem; margin: 2rem 0;
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic;
  color: var(--white); line-height: 1.5;
}

/* ── FIGURES / IMAGES ─────────────── */
.article-figure { margin: 2.5rem 0; }
.article-figure img { width: 100%; height: auto; display: block; border-radius: 12px; }
.article-figure figcaption { font-size: .8rem; color: var(--gray); text-align: center; margin-top: .8rem; line-height: 1.5; }
.article-figure.infographic { max-width: 520px; margin-left: auto; margin-right: auto; }

.photo-featured { margin: 0 0 2.5rem; }
.photo-featured img { width: 100%; height: auto; display: block; border-radius: 14px; }

.photo-placeholder {
  width: 100%; aspect-ratio: 16/9; border-radius: 14px;
  background: var(--black-2); border: 1px dashed rgba(34,197,94,.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; text-align: center; padding: 1.5rem;
}
.photo-placeholder svg { width: 34px; height: 34px; stroke: var(--gray); fill: none; stroke-width: 1.25; }
.photo-placeholder strong { color: var(--gray-lite); font-size: .9rem; font-weight: 500; }
.photo-placeholder span { color: var(--gray); font-size: .78rem; max-width: 440px; line-height: 1.5; }

/* ── CTA BOX ──────────────────────── */
.cta-box {
  background: var(--black-2); border: 1px solid rgba(34,197,94,.2);
  border-radius: 16px; padding: 2.25rem; margin: 3rem 0 1rem; text-align: center;
}
.cta-box h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--white); margin-bottom: .75rem; }
.cta-box p { color: var(--gray-lite); font-size: .95rem; margin-bottom: 1.5rem; font-weight: 300; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--green); color: var(--black);
  padding: .85rem 1.75rem; border-radius: 6px; font-weight: 600; font-size: .92rem;
  text-decoration: none; transition: background .2s, transform .15s; font-family: var(--font-body);
}
.btn-primary:hover { background: var(--green-lite); transform: translateY(-2px); }
.btn-primary svg { width: 17px; height: 17px; }
.article-body a.btn-primary { color: var(--black); text-decoration: none; font-weight: 600; }
.article-body a.btn-primary:hover { color: var(--black); }

.back-blog { display: inline-block; margin-top: 2.5rem; color: var(--gray-lite); text-decoration: none; font-size: .9rem; }
.back-blog:hover { color: var(--green-lite); }

/* ── FOOTER ───────────────────────── */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.05); padding: 2.5rem 2.5rem; }
.foot { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.foot-logo { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); text-decoration: none; }
.foot-logo em { color: var(--green-lite); font-style: normal; }
.foot-copy { color: var(--gray); font-size: .75rem; }
.foot-nav { display: flex; gap: 1.75rem; list-style: none; }
.foot-nav a { color: var(--gray); text-decoration: none; font-size: .85rem; transition: color .2s; }
.foot-nav a:hover { color: var(--green-lite); }

/* ── WHATSAPP FLOAT ───────────────── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.35); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 27px; height: 27px; fill: #fff; }

/* ── RESPONSIVE ───────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; top: 58px; left: 0; right: 0;
    background: rgba(9,9,9,.97); padding: 1.5rem 1.25rem; gap: 1.35rem;
    border-bottom: 1px solid rgba(34,197,94,.08); backdrop-filter: blur(16px);
  }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  nav { padding: 1rem 1.25rem; }
  .blog-hero { padding: 7rem 1.25rem 2rem; }
  .posts-grid { padding: 2rem 1.25rem 4rem; grid-template-columns: 1fr; }
  .article { padding: 7rem 1.25rem 3rem; }
  .foot { flex-direction: column; text-align: center; }
  .wa-float { width: 48px; height: 48px; bottom: 1.25rem; right: 1.25rem; }
  .wa-float svg { width: 23px; height: 23px; }
}
