/* ===== INNER PAGES — משלים את style.css, לא מחליף אותו ===== */

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 2000;
  background: var(--primary); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { inset-inline-start: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}

body.inner { padding-top: 70px; }

/* ===== BREADCRUMB ===== */
.crumbs { background: var(--warm); padding: 0.9rem 0; font-size: 0.84rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: '‹'; color: var(--primary-light); }
.crumbs a { color: var(--primary); font-weight: 600; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current="page"] { color: var(--muted); }

/* ===== PAGE HEAD ===== */
.page-head { background: linear-gradient(135deg, var(--primary) 0%, #17b5c3 130%); color: #fff; padding: 3.2rem 0 3.6rem; }
.page-head .label { color: var(--green-light); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; line-height: 1.18; margin-bottom: 0.9rem; }
.page-head .lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255,255,255,0.92); max-width: 720px; line-height: 1.8; }
.page-head .head-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.7rem; }
.page-head .btn-primary { background: #fff; color: var(--primary); }
.page-head .btn-primary:hover { background: var(--warm); color: var(--primary); }
.page-meta { display: flex; gap: 0.9rem; flex-wrap: wrap; color: rgba(255,255,255,0.75); font-size: 0.82rem; margin-top: 1.1rem; }

.page-head-inner.with-img { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.8rem; align-items: center; }
.page-head-img { margin: 0; }
.page-head-img img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .page-head-inner.with-img { grid-template-columns: 1fr; gap: 1.8rem; }
  .page-head-img img { height: 240px; }
}

/* ===== CONTENT ===== */
.page-body { padding: 3.2rem 0 1rem; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.prose { max-width: 760px; }
.prose.wide { max-width: none; }
.prose h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; color: var(--primary);
  margin: 2.6rem 0 0.9rem; scroll-margin-top: 90px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; font-weight: 700; color: var(--primary); margin: 1.6rem 0 0.5rem; }
.prose p { color: #3d4753; line-height: 1.95; margin-bottom: 1.05rem; font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-inline-start: 1.35rem; }
.prose li { color: #3d4753; line-height: 1.85; margin-bottom: 0.55rem; font-size: 1.01rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green); }

.callout {
  background: var(--warm); border-inline-start: 4px solid var(--green);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; margin: 1.6rem 0;
}
.callout p { margin: 0; font-size: 0.97rem; }
.callout.warn { border-inline-start-color: #F4845F; background: #fff6f2; }
.callout strong { display: block; margin-bottom: 0.3rem; color: var(--primary); }

.key-points { background: #fff; border: 1.5px solid #e6ecf1; border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2.2rem; }
.key-points h2 { font-size: 1.05rem !important; margin: 0 0 0.7rem !important; }
.key-points ul { margin: 0; padding-inline-start: 1.2rem; }
.key-points li { font-size: 0.96rem; margin-bottom: 0.4rem; }

.toc { background: var(--warm); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.4rem; }
.toc strong { display: block; color: var(--primary); margin-bottom: 0.6rem; font-size: 0.95rem; }
.toc ol { margin: 0; padding-inline-start: 1.2rem; }
.toc li { margin-bottom: 0.35rem; font-size: 0.93rem; }
.toc a { color: var(--primary); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }

/* ===== SIDEBAR ===== */
.side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.25rem; }
.side-card { background: var(--warm); border-radius: var(--radius); padding: 1.4rem; }
.side-card.cta { background: var(--primary); color: #fff; }
.side-card.cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.side-card.cta .btn { width: 100%; justify-content: center; margin-bottom: 0.5rem; }
.side-card.cta .btn-primary { background: #fff; color: var(--primary); }
.side-card h2, .side-card strong.side-title { display: block; font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.side-card.cta strong.side-title { color: #fff; }
.side-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.side-links a { color: var(--text); font-size: 0.92rem; font-weight: 500; display: block; padding-inline-start: 0.9rem; position: relative; }
.side-links a::before { content: '›'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 700; }
.side-links a:hover { color: var(--primary); }

/* ===== FAQ (עמודים פנימיים) ===== */
.faq-block { margin-top: 3rem; }
.faq-block > h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; color: var(--primary); margin-bottom: 1.2rem; }
.faq-q { background: var(--warm); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 0.8rem; }
.faq-q h3 { color: var(--primary); font-size: 1.02rem; font-weight: 700; margin-bottom: 0.4rem; }
.faq-q p { color: #3d4753; line-height: 1.85; font-size: 0.97rem; margin: 0; }

/* ===== CARDS GRID (בלוג / אשכולות) ===== */
.prose a.card, .prose a.card:hover { text-decoration: none; color: inherit; font-weight: inherit; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1.5px solid #e9eef3; border-radius: var(--radius);
  padding: 1.5rem 1.55rem; display: flex; flex-direction: column; transition: var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card .card-tag { font-size: 0.72rem; font-weight: 700; color: var(--green); letter-spacing: 0.5px; margin-bottom: 0.6rem; }
.card h2, .card h3 { font-size: 1.05rem; font-weight: 800; color: var(--primary); line-height: 1.45; margin-bottom: 0.55rem; }
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; flex: 1; margin-bottom: 1rem; }
.card .card-more { color: var(--green); font-weight: 700; font-size: 0.88rem; }
.card:hover .card-more { color: var(--primary); }

.serv-links { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.serv-link-page { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.serv-link-page:hover { color: var(--green); }

.knowledge { background: var(--white); }
.knowledge .cluster > h2 { font-size: 1.35rem; }

.cluster { margin-bottom: 3.2rem; }
.cluster > h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; color: var(--primary); margin-bottom: 0.4rem; }
.cluster > p.cluster-sub { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.98rem; }

/* ===== RELATED ===== */
.related { background: var(--warm); padding: 3rem 0; margin-top: 3.5rem; }
.related h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1.3rem; text-align: center; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--primary); color: #fff; padding: 3.2rem 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.7rem; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto 1.6rem; line-height: 1.8; }
.cta-band .btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { background: var(--warm); }
.cta-band .discreet { display: block; margin-top: 1.1rem; font-size: 0.83rem; color: rgba(255,255,255,0.6); }

/* ===== DISCLAIMER ===== */
.disclaimer { border-top: 1px solid #e6ecf1; margin-top: 2.8rem; padding-top: 1.4rem; }
.disclaimer p { font-size: 0.86rem; color: var(--muted); line-height: 1.8; margin-bottom: 0.6rem; }

/* ===== FOOTER NAV ===== */
.footer-nav { border-top: 1px solid rgba(255,255,255,0.13); margin-top: 1.6rem; padding-top: 1.6rem; width: 100%; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: start; }
.footer-nav-grid strong { display: block; color: #fff; font-size: 0.88rem; margin-bottom: 0.6rem; }
.footer-nav-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav-grid a { color: rgba(255,255,255,0.72); font-size: 0.83rem; }
.footer-nav-grid a:hover { color: var(--green-light); }

/* ===== 404 ===== */
.nf { text-align: center; padding: 5rem 0; }
.nf h1 { font-size: clamp(2rem, 6vw, 3rem); color: var(--primary); font-weight: 900; margin-bottom: 0.8rem; }
.nf p { color: var(--muted); margin-bottom: 1.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .page-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .side { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.inner .float-wa-label { display: none; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .page-head { padding: 2.4rem 0 2.6rem; }
  .page-body { padding: 2.2rem 0 0.5rem; }
  .page-head .head-btns .btn { width: 100%; justify-content: center; }
}
