/* ────────────────────────────────────────────────────────────
   StilHub Blog — stiluri share-uite (5 articole + hub)
   ──────────────────────────────────────────────────────────── */
:root {
  --ink-900: #0A0A0A;
  --ink-700: #2D2D2D;
  --ink-500: #6B6B6B;
  --ink-300: #BFBFBF;
  --ink-200: #E5E5E5;
  --ink-100: #F4F4F4;
  --ink-50:  #FAFAFA;
  --surface: #FFFFFF;
  --teal-900: #014D4E;
  --teal-700: #018790;
  --teal-200: #80CBC4;
  --gold-500: #D4AF37;
  --gold-300: #FFDF73;
  --pink-700: #7E4F8C;
  --border:  #E5E5E5;
  --space-8: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-900);
  background: var(--ink-50);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ════════ NAV (homepage-style) ════════ */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(250, 250, 250, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms ease, background-color 300ms ease;
}
nav.site-nav.scrolled {
  border-bottom-color: var(--ink-200);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) { .nav-inner { padding: 16px var(--space-8); } }

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink-900);
  font-weight: 700;
}
.nav-brand .logo-mark {
  width: 28px; height: 28px;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-brand:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.nav-brand-text { font-size: 18px; }
.nav-brand-text em { font-style: normal; font-weight: 900; color: var(--teal-700); }

.nav-links {
  display: none;
  gap: 4px;
  align-items: center;
}
@media (min-width: 920px) { .nav-links { display: flex; } }
.nav-links a {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 200ms ease, background-color 200ms ease;
}
.nav-links a:hover { color: var(--ink-900); background: var(--ink-100); }
.nav-links a.active { color: var(--teal-700); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-block;
  padding: 9px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-900); transform: translateY(-1px); }
@media (max-width: 640px) {
  .nav-cta { padding: 8px 14px; font-size: 13px; }
}

/* Lang switcher compact (homepage o oferă cu 14 limbi; blog păstrează simbol minimal) */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: background 200ms ease;
}
.lang-pill:hover { background: var(--ink-200); }

/* ════════ HERO COVER (integrat full-width) ════════ */
.article-hero {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: var(--ink-50);
  overflow: hidden;
}
.article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--ink-50));
  pointer-events: none;
  z-index: 1;
}
.article-hero picture { display: block; width: 100%; }
.article-cover {
  width: 100%;
  /* Full-width responsive: înalțime liniară cu viewport — wide pe desktop, compact pe mobile */
  height: clamp(220px, 28vw, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
}
@media (min-width: 768px) {
  .article-hero { padding: 0; }
}

/* ════════ META + TITLE ════════ */
.article-head {
  max-width: 760px; margin: 0 auto;
  padding: 32px 24px 24px;
  position: relative; z-index: 2;
}
.breadcrumbs {
  font-size: 13px; color: var(--ink-500);
  letter-spacing: 0.3px; margin-bottom: 16px;
}
.breadcrumbs a { color: var(--ink-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-700); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

.article-title {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  color: var(--ink-500); font-size: 14px;
  align-items: center;
}
.article-meta .dot { opacity: 0.5; }

/* ════════ BODY ════════ */
.article-body {
  max-width: 760px; margin: 0 auto;
  padding: 0 24px 80px;
}
.article-body p { margin: 0 0 22px; }
.article-body h2 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.5px;
  margin: 56px 0 18px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 21px; font-weight: 700;
  margin: 36px 0 12px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px; padding-left: 24px;
}
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--teal-900); }
.article-body blockquote {
  margin: 28px 0; padding: 18px 24px;
  border-left: 4px solid var(--teal-700);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  color: var(--ink-700); font-style: italic;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.06);
}

/* Tabel */
.price-table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0; font-size: 15px;
  background: var(--surface); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.08);
}
.price-table th, .price-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--ink-100);
}
.price-table th {
  background: var(--ink-100); font-weight: 700; font-size: 13px;
  letter-spacing: 0.4px; text-transform: uppercase; color: var(--ink-700);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .price, .price-table .col-emph {
  font-weight: 700; color: var(--ink-900);
}
.price-table .price { white-space: nowrap; color: var(--teal-900); }

/* CTA inline */
.article-cta {
  margin: 48px 0; padding: 32px;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  border-radius: 20px;
  color: #fff; text-align: center;
}
.article-cta h3 { font-size: 24px; margin: 0 0 10px; color: #fff; }
.article-cta p { margin: 0 0 20px; opacity: 0.92; }
.article-cta a {
  display: inline-block; padding: 14px 32px;
  background: #fff; color: var(--teal-900);
  border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform 200ms ease;
}
.article-cta a:hover { transform: translateY(-2px); }

/* Disclaimer box — caracter informativ, nu sfat de specialitate */
.article-disclaimer {
  max-width: 720px;
  margin: 32px auto 48px;
  padding: 18px 22px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: #78350F;
}
.article-disclaimer .disclaimer-icon {
  flex-shrink: 0;
  color: #B45309;
  margin-top: 2px;
}
.article-disclaimer strong {
  display: block;
  color: #78350F;
  margin-bottom: 4px;
  font-weight: 700;
}
.article-disclaimer p {
  margin: 0;
  color: #78350F;
}
.article-disclaimer a {
  color: #B45309;
  text-decoration: underline;
  font-weight: 600;
}
.article-disclaimer a:hover { color: #78350F; }
@media (max-width: 600px) {
  .article-disclaimer { margin: 24px 16px 32px; padding: 14px 16px; font-size: 13px; }
}

/* Related grid */
.related {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 80px;
}
.related h2 {
  font-size: 24px; font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}
.related-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.related-card {
  background: var(--surface); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.06);
  text-decoration: none; color: var(--ink-900);
  display: block;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15); }
.related-card picture { display: block; width: 100%; }
.related-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  object-position: center;
  background: var(--ink-100);
  display: block;
}
@media (max-width: 480px) { .related-card img { height: 150px; } }
.related-card-body { padding: 18px 20px; }
.related-card-cat { font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--teal-700); font-weight: 600; }
.related-card-title { font-size: 17px; font-weight: 700; margin: 8px 0 0; line-height: 1.35; }

/* ════════ FOOTER (homepage-style, compact) ════════ */
.site-footer {
  background: var(--ink-900); color: #fff;
  padding: 60px 24px 30px;
  margin-top: 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}
.footer-brand .nav-brand { color: #fff; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0 16px;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--teal-200);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  padding: 5px 0;
  transition: color 200ms ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom .footer-social {
  display: flex; gap: 12px;
}
.footer-bottom .footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  transition: background 200ms ease, color 200ms ease;
}
.footer-bottom .footer-social a:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ════════ Blog hub specific ════════ */
.blog-hub-header {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px 32px;
  text-align: center;
}
.blog-hub-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800; letter-spacing: -1.5px;
  margin: 0 0 16px;
}
.blog-hub-header p {
  font-size: 19px; color: var(--ink-500);
  max-width: 600px; margin: 0 auto;
}
.blog-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 24px 24px 80px;
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.blog-card {
  background: var(--surface); border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(0,0,0,0.08);
  text-decoration: none; color: var(--ink-900);
  display: flex; flex-direction: column;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 400ms ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px -10px rgba(0,0,0,0.18); }
.blog-card picture { display: block; width: 100%; }
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  background: var(--ink-100);
  display: block;
}
@media (min-width: 768px) { .blog-card img { height: 220px; } }
@media (max-width: 480px) { .blog-card img { height: 180px; } }
.blog-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--teal-700); font-weight: 600; }
.blog-card-title { font-size: 21px; font-weight: 700; margin: 10px 0 8px; line-height: 1.3; letter-spacing: -0.3px; }
.blog-card-excerpt { color: var(--ink-500); font-size: 15px; margin: 0 0 16px; flex: 1; }
.blog-card-meta { font-size: 13px; color: var(--ink-500); }
.blog-card-meta .dot { margin: 0 6px; opacity: 0.5; }

/* Mobile adjustments */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .article-head { padding: 24px 20px 16px; }
  .article-body { padding: 0 20px 60px; }
  .article-body h2 { font-size: 24px; margin-top: 44px; }
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 10px 12px; }
  .blog-hub-header { padding: 40px 20px 24px; }
  .blog-grid { padding: 16px 20px 60px; gap: 20px; }
  .nav-brand-text { font-size: 16px; }
  .nav-brand .logo-mark { width: 26px; height: 26px; }
  .article-cover { max-height: 320px; }
  .article-hero::after { height: 50px; }
}
