/* =============================================
   לי-אור | Blog Stylesheet
   ============================================= */

:root {
  --charcoal:       #1a1a1a;
  --charcoal-mid:   #2d2d2d;
  --charcoal-light: #3d3d3d;
  --silver:         #8a8a8a;
  --silver-light:   #c0c0c0;
  --silver-pale:    #e8e6e1;
  --cedar:          #8B5E3C;
  --cedar-light:    #A67C52;
  --cedar-pale:     #f0e8df;
  --white:          #fafaf8;
  --gold:           #C9A96E;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  direction: rtl;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  padding: 0 4vw;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: 1px;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex; gap: 1.5rem; list-style: none;
}
.nav-links a {
  color: var(--silver-light); font-size: .82rem;
  font-weight: 400; letter-spacing: .5px; transition: color .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--charcoal);
  padding: .45rem 1.1rem; border-radius: 2px;
  font-weight: 500; font-size: .82rem;
  transition: background .3s; white-space: nowrap;
}
.nav-cta:hover { background: var(--cedar-light); }

/* ── BLOG HERO ── */
.blog-hero {
  background: var(--charcoal);
  padding: 100px 6vw 3rem;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.blog-hero-tag {
  display: inline-block;
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold);
  font-size: .68rem; letter-spacing: 3px;
  padding: .25rem .7rem; margin-bottom: 1rem;
  text-transform: uppercase;
}
.blog-hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: .8rem;
}
.blog-hero-sub {
  font-size: .9rem; color: var(--silver);
  line-height: 1.7; max-width: 560px;
}
.breadcrumb {
  font-size: .75rem; color: var(--silver);
  margin-bottom: 1.2rem; display: flex; gap: .4rem; align-items: center;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--silver); }

/* ── ARTICLE LAYOUT ── */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 6vw 4rem;
}

.article-meta {
  display: flex; gap: 1.2rem; align-items: center;
  margin-bottom: 2rem; flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--silver-pale);
}
.meta-tag {
  background: rgba(201,169,110,0.15);
  color: var(--cedar);
  font-size: .7rem; padding: .2rem .6rem;
  border-radius: 2px; font-weight: 600; letter-spacing: .5px;
}
.meta-date { font-size: .78rem; color: var(--silver); }
.meta-read { font-size: .78rem; color: var(--silver); }

/* ── ARTICLE CONTENT ── */
.article-content h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700; color: var(--charcoal);
  margin: 2.2rem 0 .8rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.article-content h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--charcoal); margin: 1.5rem 0 .5rem;
}
.article-content p {
  font-size: .95rem; color: #333;
  line-height: 1.85; margin-bottom: 1rem;
}
.article-content ul,
.article-content ol {
  margin: .8rem 0 1.2rem 1.2rem;
}
.article-content li {
  font-size: .93rem; color: #444;
  line-height: 1.75; margin-bottom: .4rem;
}
.article-content strong { color: var(--charcoal); font-weight: 600; }

/* Highlight box */
.highlight-box {
  background: var(--cedar-pale);
  border-right: 3px solid var(--cedar);
  padding: 1.2rem 1.4rem;
  border-radius: 2px;
  margin: 1.5rem 0;
}
.highlight-box p { margin: 0; color: var(--charcoal); font-size: .92rem; }

/* Comparison table */
.compare-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0; font-size: .88rem;
}
.compare-table th {
  background: var(--charcoal);
  color: var(--gold);
  padding: .7rem 1rem; text-align: right;
  font-weight: 600; letter-spacing: .3px;
}
.compare-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--silver-pale);
  color: #333; vertical-align: top;
}
.compare-table tr:nth-child(even) td { background: rgba(0,0,0,0.02); }

/* Numbered steps */
.step-list { list-style: none; margin: 1rem 0; }
.step-list li {
  display: flex; gap: 1rem;
  margin-bottom: 1.4rem; align-items: flex-start;
}
.step-num {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--gold); line-height: 1; min-width: 32px;
}
.step-content h3 { margin: 0 0 .3rem; font-size: 1rem; }
.step-content p { margin: 0; font-size: .88rem; }

/* ── CTA BOX ── */
.article-cta {
  background: var(--charcoal);
  padding: 2.5rem; border-radius: 2px;
  margin-top: 3rem; text-align: center;
}
.article-cta h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: .6rem;
}
.article-cta p {
  font-size: .9rem; color: var(--silver-light);
  margin-bottom: 1.4rem; line-height: 1.65;
}
.cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--charcoal);
  padding: .75rem 1.8rem; border-radius: 2px;
  font-weight: 600; font-size: .9rem;
  transition: background .3s; display: inline-block;
}
.btn-primary:hover { background: var(--cedar-light); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  padding: .75rem 1.8rem; border-radius: 2px;
  font-size: .9rem; transition: all .3s; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── RELATED ARTICLES ── */
.related-section {
  background: var(--cedar-pale);
  padding: 3rem 6vw;
}
.related-section h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--charcoal); margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.related-card {
  background: var(--white); padding: 1.2rem;
  border-radius: 2px; border-right: 3px solid var(--gold);
  transition: box-shadow .3s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.related-card-tag {
  font-size: .68rem; color: var(--cedar);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: .4rem; display: block;
}
.related-card h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1rem; color: var(--charcoal);
  margin-bottom: .3rem; line-height: 1.3;
}
.related-card p { font-size: .8rem; color: var(--silver); line-height: 1.5; }

/* ── BLOG INDEX ── */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 3rem 6vw;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--silver-pale);
  border-radius: 2px; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.blog-card-body { padding: 1.5rem; }
.blog-card-tag {
  font-size: .68rem; color: var(--cedar);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: .6rem; display: block;
}
.blog-card h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.1rem; color: var(--charcoal);
  margin-bottom: .5rem; line-height: 1.35;
}
.blog-card p {
  font-size: .85rem; color: var(--silver);
  line-height: 1.65; margin-bottom: 1rem;
}
.blog-card-footer {
  display: flex; justify-content: space-between;
  align-items: center; font-size: .75rem; color: var(--silver);
}
.read-more {
  color: var(--cedar); font-weight: 600; font-size: .82rem;
}
.read-more:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 6vw;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: .8rem;
}
.footer-logo { font-family: 'Frank Ruhl Libre', serif; color: var(--white); font-size: 1.1rem; font-weight: 700; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: .75rem; color: var(--silver); }

/* WhatsApp */
.wa-btn {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform .3s;
  animation: wa-pulse 2.5s infinite;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.6); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .article-wrap { padding: 2rem 1.2rem 3rem; }
  .blog-index-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .compare-table { font-size: .78rem; }
  .compare-table th, .compare-table td { padding: .5rem .6rem; }
}
