/* ============================================
   ITMO – ניהול דיגיטל | Shared Stylesheet
   RTL Hebrew | Professional, restrained, corporate
   ============================================ */

:root {
    --primary: #0a4d68;
    --primary-light: #0d7ca8;
    --primary-dark: #06384c;
    --accent: #f39c12;
    --accent-dark: #e07d0a;
    --ink: #1c2733;
    --dark: #1c2733;
    --muted: #5c6b7a;
    --light: #f6f8fa;
    --line: #e3e8ee;
    --line-soft: #eef2f6;
    --gradient-1: linear-gradient(135deg, #0a4d68 0%, #0d7ca8 100%);
    --gradient-2: linear-gradient(135deg, #f39c12 0%, #e07d0a 100%);
    --gradient-hero: linear-gradient(150deg, #073549 0%, #0a4d68 55%, #0d7ca8 100%);
    --shadow: 0 2px 14px rgba(16, 42, 67, 0.06);
    --shadow-hover: 0 10px 30px rgba(16, 42, 67, 0.11);
    --radius: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Heebo', sans-serif;
    background: #fff;
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--alt { background: var(--light); }
.section--white { background: #fff; }
img { max-width: 100%; height: auto; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--primary-dark); color: #cfdbe3; font-size: 0.86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #cfdbe3; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-links { display: flex; gap: 22px; }
.topbar .tb-tag { color: var(--accent); font-weight: 600; }
@media (max-width: 768px){ .topbar .tb-tag { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
header.site-header { position: sticky; top: 0; z-index: 1000; }
.nav-wrap { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 10px rgba(16,42,67,0.04); }
nav.main-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 70px; }

.logo { font-family: 'Assistant', sans-serif; font-size: 1.7rem; color: var(--primary);
    font-weight: 800; letter-spacing: 2px; text-decoration: none; line-height: 1; }
.logo small { display: block; font-size: 0.6rem; letter-spacing: .5px; font-weight: 500;
    color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
    transition: color .2s; padding: 8px 0; display: inline-block; }
.nav-links > li > a:hover { color: var(--primary-light); }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 2px; right: 0;
    width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav-links > li > a:hover::after { width: 100%; }

.has-dropdown > a::before { content: '▾'; margin-left: 6px; font-size: 0.7em; color: var(--muted); }
.dropdown { position: absolute; top: 100%; right: 0; min-width: 290px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover);
    padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .22s ease; z-index: 1100; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(6px); }
.dropdown li a { display: block; color: var(--ink); padding: 10px 14px; border-radius: var(--radius-sm);
    font-weight: 500; font-size: 0.95rem; }
.dropdown li a::after { display: none; }
.dropdown li a:hover { background: var(--light); color: var(--primary); }

.nav-cta { background: var(--primary) !important; color: #fff !important; padding: 10px 22px !important;
    border-radius: var(--radius-sm); font-weight: 600; transition: background .2s; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--primary); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { padding: 13px 30px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
    font-size: 1.02rem; transition: all .22s ease; display: inline-block; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 3px 12px rgba(243,156,18,.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(243,156,18,.34); }
.btn-secondary { background: #fff; color: var(--primary); border-color: #fff; }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--gradient-hero); color: #fff; position: relative; overflow: hidden;
    padding: 96px 0 84px; text-align: center; }
.hero::before { content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 78% 16%, rgba(243,156,18,0.10) 0%, transparent 45%),
                radial-gradient(circle at 14% 88%, rgba(255,255,255,0.06) 0%, transparent 45%);
    pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero .eyebrow { display: inline-block; font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase;
    color: #ffd27a; font-weight: 600; margin-bottom: 16px; }
.hero h1 { font-family: 'Assistant', sans-serif; font-size: 2.9rem; font-weight: 800;
    margin-bottom: 18px; line-height: 1.22; letter-spacing: -.5px; }
.hero .subtitle { font-size: 1.3rem; font-weight: 400; margin-bottom: 16px; color: #e7eef2; }
.hero .description { font-size: 1.12rem; line-height: 1.85; margin: 0 auto 34px; max-width: 740px; color: #d6e1e8; }
.page-hero { padding: 80px 0 64px; }
.page-hero h1 { font-size: 2.5rem; }

.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); padding: 13px 0; font-size: 0.88rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--primary-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: '‹'; margin-right: 8px; color: #b6c0ca; }
.breadcrumb li[aria-current] { color: var(--muted); }

/* ---------- Section titles ---------- */
.section-eyebrow { display: block; text-align: center; color: var(--accent-dark); font-weight: 700;
    font-size: 0.84rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { text-align: center; font-family: 'Assistant', sans-serif; font-size: 2.1rem;
    margin-bottom: 14px; color: var(--primary); position: relative; padding-bottom: 16px; font-weight: 800; letter-spacing: -.3px; }
.section-title::after { content: ''; position: absolute; bottom: 0; right: 50%; transform: translateX(50%);
    width: 64px; height: 3px; background: var(--accent); border-radius: 2px; }
.section-title.start { text-align: right; }
.section-title.start::after { right: 0; transform: none; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: var(--muted); margin: 0 auto 46px; max-width: 720px; }

/* ---------- Prose ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose p { color: #3d4a57; font-size: 1.07rem; line-height: 1.95; margin-bottom: 18px; }
.prose h2 { color: var(--primary); font-size: 1.6rem; margin: 34px 0 12px; font-weight: 700; letter-spacing: -.3px; }
.prose h3 { color: var(--primary); font-size: 1.25rem; margin: 24px 0 10px; font-weight: 600; }
.prose ul { margin: 0 0 18px; padding-right: 4px; list-style: none; }
.prose ul li { position: relative; padding: 6px 26px 6px 0; color: #3d4a57; }
.prose ul li::before { content: '←'; position: absolute; right: 0; color: var(--accent); font-weight: 700; }
.prose strong { color: var(--primary-dark); }
.prose a { color: var(--primary-light); font-weight: 600; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    border: 1px solid var(--line); position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cfe0ea; }
.card .icon { font-size: 2.3rem; margin-bottom: 14px; display: inline-block; }
.card h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); line-height: 1.8; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { color: #45525f; padding: 6px 0; padding-right: 24px; position: relative; }
.card ul li::before { content: '✓'; position: absolute; right: 0; color: var(--accent); font-weight: bold; }

a.service-link { text-decoration: none; color: inherit; display: block; height: 100%; }
a.service-link .card { height: 100%; }
.card .more { display: inline-block; margin-top: 14px; color: var(--accent-dark); font-weight: 600; font-size: 0.92rem; }
a.service-link:hover .more { text-decoration: underline; }

.feature { display: flex; gap: 14px; align-items: flex-start; background: #fff;
    padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature .ficon { font-size: 1.7rem; flex-shrink: 0; line-height: 1.4; }
.feature strong { display: block; color: var(--primary); margin-bottom: 4px; font-size: 1.02rem; }
.feature span { color: var(--muted); font-size: 0.94rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; margin-top: 48px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; right: 24px;
    width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(10,77,104,.3); }
.step h4 { color: var(--primary); font-size: 1.12rem; margin: 12px 0 8px; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 20px; margin-top: 40px; }
.stat-card { background: var(--primary); padding: 28px; border-radius: var(--radius); text-align: center;
    color: #fff; box-shadow: var(--shadow); transition: transform .2s ease; }
.stat-card:hover { transform: translateY(-3px); }
.stat-number { font-size: 2.6rem; font-weight: 800; display: block; margin-bottom: 6px; font-family: 'Assistant', sans-serif; color: #ffd27a; }
.stat-label { font-size: 0.96rem; font-weight: 400; color: #e7eef2; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 44px auto 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 19px 22px; font-weight: 600; color: var(--primary); font-size: 1.05rem;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: #45525f; line-height: 1.9; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient-hero); color: #fff; text-align: center; padding: 66px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(243,156,18,0.10) 0%, transparent 45%); pointer-events: none; }
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { font-family: 'Assistant', sans-serif; font-size: 2rem; margin-bottom: 12px; font-weight: 800; }
.cta-band p { font-size: 1.12rem; max-width: 620px; margin: 0 auto 28px; color: #e7eef2; }

/* ---------- Related ---------- */
.related .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; margin-top: 28px; }
.related-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
    text-decoration: none; color: inherit; transition: all .2s ease; display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); }
.related-card:hover { transform: translateY(-3px); border-color: #cfe0ea; box-shadow: var(--shadow-hover); }
.related-card .ricon { font-size: 1.7rem; }
.related-card strong { color: var(--primary); display: block; font-size: 1rem; }

/* ---------- Why / trust band ---------- */
.why-band { background: var(--light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 24px; margin-top: 40px; }
.why-item { text-align: center; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.why-item .wicon { font-size: 2.1rem; display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center;
    background: rgba(13,124,168,.08); border-radius: 14px; margin-bottom: 14px; }
.why-item h4 { color: var(--primary); font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }
.why-item p { color: var(--muted); font-size: 0.96rem; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-info { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,0.10);
    padding: 14px 24px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.contact-item:hover { background: rgba(255,255,255,0.18); }
.contact-item a { color: #fff; text-decoration: none; font-weight: 500; }

/* ---------- Contact form ---------- */
.form-card { background:#fff; border-radius:var(--radius); padding:36px; max-width:680px; margin:38px auto 0;
    box-shadow:var(--shadow-hover); text-align:right; color: var(--ink); }
.form-card h3 { color:var(--primary); font-size:1.45rem; margin-bottom:6px; font-weight:700; }
.form-card .sub { color:var(--muted); margin-bottom:22px; font-size:0.96rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; color:var(--primary); font-weight:600; font-size:0.9rem; margin-bottom:6px; }
.form-group input, .form-group select, .form-group textarea { width:100%; padding:12px 14px; border:1.5px solid var(--line);
    border-radius:var(--radius-sm); font-family:inherit; font-size:1rem; color:var(--ink); background:#fbfcfd; transition:border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline:none; border-color:var(--primary-light); box-shadow:0 0 0 3px rgba(13,124,168,0.12); }
.form-group textarea { resize:vertical; min-height:110px; }
.form-card button[type=submit] { width:100%; margin-top:6px; font-size:1.08rem; }
.form-note { text-align:center; color:var(--muted); font-size:0.84rem; margin-top:12px; }
.form-status { display:none; margin-top:16px; padding:14px 18px; border-radius:var(--radius-sm); font-weight:600; text-align:center; }
.form-status.ok { display:block; background:#e7f6ec; color:#1e7e44; }
.form-status.err { display:block; background:#fdecec; color:#c0392b; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0f1b26; color: #aeb9c4; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 38px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col a { color: #aeb9c4; text-decoration: none; font-size: 0.93rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-brand .logo { color: #fff; font-size: 1.6rem; }
.footer-brand .logo small { color: #8896a3; }
.footer-about { font-size: 0.92rem; line-height: 1.8; margin: 14px 0 18px; color: #8896a3; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all .2s; }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-contact li { display: flex; gap: 9px; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 46px; padding: 20px 0;
    text-align: center; font-size: 0.86rem; color: #6f7d8a; }
.footer-bottom a { color: #8896a3; text-decoration: none; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 22px; left: 22px; width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; box-shadow: 0 5px 18px rgba(37,211,102,0.4); z-index: 999; text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 768px) {
    .hero h1 { font-size: 2.1rem; }
    .page-hero h1 { font-size: 1.85rem; }
    .hero .subtitle { font-size: 1.1rem; }
    .nav-links { position: fixed; top: 108px; right: 0; left: 0; background: #fff; border-top: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 10px 20px rgba(0,0,0,.06); }
    .nav-links.open { max-height: 90vh; overflow-y: auto; }
    .nav-links > li { width: 100%; border-bottom: 1px solid var(--line-soft); }
    .nav-links a { display: block; padding: 13px 0; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--light); padding: 4px 0 8px; min-width: 0; margin-bottom: 8px; }
    .has-dropdown > a::before { content: ''; }
    .nav-cta { display: inline-block; margin-top: 10px; text-align: center; }
    .nav-toggle { display: block; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .about-grid { grid-template-columns: 1fr !important; }
}
