:root {
  --dark: #0F1923;
  --dark-2: #142230;
  --dark-3: #1B2D3E;
  --gold: #B8AC93;
  --gold-soft: rgba(184, 172, 147, 0.35);
  --gold-faint: rgba(184, 172, 147, 0.12);
  --ivory: #F5F1E8;
  --ivory-mute: #C9C2B0;
  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'Inter Tight', 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--ivory);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15,25,35,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-faint);
}
.logo {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--ivory);
  text-decoration: none;
}
.logo em { font-style: italic; color: var(--gold); font-weight: 500; }
.logo .by { display: block; font-family: var(--mono); font-size: 0.5rem; letter-spacing: 0.3em; color: var(--ivory-mute); margin-top: 3px; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { color: var(--ivory); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.1em; transition: color 0.2s; }
nav a:hover { color: var(--gold); }
.header-right { display: flex; align-items: center; gap: 1.25rem; }
.lang-switch { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ivory-mute); text-decoration: none; text-transform: uppercase; }
.lang-switch:hover { color: var(--gold); }
.btn-cta { border: 1px solid var(--gold-soft); color: var(--gold); padding: 0.65rem 1.4rem; text-decoration: none; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; font-family: var(--body); transition: all 0.2s; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.4rem; }
.btn-cta:hover { border-color: var(--gold); background: rgba(184,172,147,0.08); }
.btn-primary { background: var(--gold); color: var(--dark); border: 1px solid var(--gold); padding: 0.95rem 1.85rem; text-decoration: none; font-size: 1rem; font-weight: 500; letter-spacing: 0; font-family: var(--body); display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; border-radius: 999px; }
.btn-primary:hover { background: #C8BDA5; }

/* ARTICLE HEAD */
.article-head {
  padding: 5rem 3rem 3rem;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.article-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}
.article-head h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-top: 1.25rem;
}
.article-meta span { display: flex; align-items: center; gap: 0.5rem; }
.article-meta .dot { color: var(--gold); }

/* ARTICLE BODY */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  font-size: 1.05rem;
  color: var(--ivory);
}
.article-body p { margin-bottom: 1.5rem; }
.article-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 3.5rem 0 1.25rem;
  color: var(--ivory);
}
.article-body h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.article-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
  color: var(--gold);
}
.article-body strong { color: var(--gold); font-weight: 500; }
.article-body em { color: var(--ivory); font-style: italic; }
.article-body a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-soft); transition: text-decoration-color 0.2s; }
.article-body a:hover { text-decoration-color: var(--gold); }
.article-body ul, .article-body ol { margin: 1rem 0 1.75rem 1.25rem; }
.article-body li { margin-bottom: 0.6rem; padding-left: 0.4rem; }
.article-body li::marker { color: var(--gold); }
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
}
.article-body code {
  font-family: var(--mono);
  background: var(--dark-2);
  padding: 0.15em 0.4em;
  border: 1px solid var(--gold-faint);
  font-size: 0.92em;
  color: var(--gold);
}

/* DATA TABLE */
.data-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  font-size: 0.92rem;
}
.data-table caption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding-bottom: 0.75rem;
  caption-side: top;
}
.data-table th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--gold-faint);
  font-weight: 500;
  background: var(--dark-2);
}
.data-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px dashed var(--gold-faint);
  color: var(--ivory);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.data-table td.gold { color: var(--gold); font-weight: 500; }

/* CALLOUT */
.callout {
  background: var(--dark-2);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}
.callout .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.callout p:last-child { margin-bottom: 0; }

/* CTA AT END */
.article-cta {
  max-width: 720px;
  margin: 4rem auto 2rem;
  padding: 3rem 2rem;
  background: var(--dark-2);
  border: 1px dashed var(--gold-soft);
  text-align: center;
}
.article-cta h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.article-cta h3 em { font-style: italic; color: var(--gold); }
.article-cta p {
  color: var(--ivory-mute);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* RELATED */
.related {
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}
.related h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.related-card {
  background: var(--dark-2);
  border: 1px solid var(--gold-faint);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.related-card:hover { border-color: var(--gold); }
.related-card .meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.related-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ivory);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--gold-faint);
  padding: 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ivory-mute);
  margin-top: 4rem;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 768px) {
  header { padding: 1rem 1.25rem; }
  nav { display: none; }
  .article-head { padding: 3rem 1.5rem 2rem; }
  .article-body { padding: 1rem 1.25rem 4rem; font-size: 1rem; }
  .article-body h2 { font-size: 1.6rem; margin-top: 2.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 0.85rem; }
  .data-table th, .data-table td { padding: 0.6rem 0.5rem; }
}

/* INDEX (BLOG LIST) */
.blog-index-grid {
  max-width: 1100px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-index-card {
  background: var(--dark-2);
  border: 1px solid var(--gold-faint);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.blog-index-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.blog-index-card .img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  position: relative;
  border-bottom: 1px solid var(--gold-faint);
}
.blog-index-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--gold-faint) 1px, transparent 1px), linear-gradient(90deg, var(--gold-faint) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
}
.blog-index-card svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); }
.blog-index-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-index-card .meta { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.75rem; }
.blog-index-card h3 { font-family: var(--display); font-size: 1.3rem; line-height: 1.3; margin-bottom: 0.75rem; flex: 1; color: var(--ivory); font-weight: 400; }
.blog-index-card .excerpt { font-size: 0.85rem; color: var(--ivory-mute); line-height: 1.5; }
@media (max-width: 968px) { .blog-index-grid { grid-template-columns: 1fr; } }
