/* ==========================================================================
   אביב דיגיטל — עמוד הבית | גרסה 2
   מבנה, פלטה וטיפוגרפיה נלקחו במדויק מהדוגמה שאביב אישר ב-Canva
   (עיצוב "Actolytics Digital"): מנטה/לבן/שחור/קרם, סאנס בולד יחיד,
   7 סקשנים מתחלפים בקצב אור-כהה. התוכן הוא שלנו בלבד — סקשנים שבדוגמה
   הכילו נתונים בדויים (עיתונות, המלצות) הוחלפו בתוכן אמיתי באותו תפקיד.
   ========================================================================== */

:root {
  --mint: #E7EDE9;
  --cream: #FBFAF6;
  --white: #FFFFFF;
  --black: #000000;
  --ink-soft: #55534F;
  --border: #DADFDA;
  --border-on-black: #3A3A3A;
  --whatsapp: #0E7A3A;
  --whatsapp-hover: #0A5E2C;

  --font: 'Rubik', -apple-system, sans-serif;

  --radius: 20px;
  --radius-sm: 10px;
  --container: 1180px;
}

:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}
section.on-black :focus-visible { outline-color: var(--white); }

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; right: -999px; top: 0;
  background: var(--black); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 10px 10px; z-index: 100;
}
.skip-link:focus { right: 20px; }

/* ==========================================================================
   לוגו — משולש חד בהשראת הדוגמה, "אביב דיגיטל" באותיות שחורות עבות
   ========================================================================== */

.logo-mark, .footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--black);
}
.logo-tri { width: 18px; height: 18px; flex-shrink: 0; }
.footer-logo { color: var(--white); }
.footer-logo .logo-tri path { fill: var(--white); }

/* ==========================================================================
   הדר וניווט
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-link { color: var(--black); text-decoration: none; font-weight: 500; font-size: 15px; transition: opacity 0.15s ease; }
.nav-link:hover { opacity: 0.6; }
.btn-nav { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1.5px solid var(--black); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; right: 11px; left: 11px; height: 2px;
  background: var(--black); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   כפתורים — פינות חדות יותר, בהשראת הריבועיות של הדוגמה
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--font); font-weight: 700; font-size: 15.5px;
  border-radius: var(--radius-sm); padding: 14px 30px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: var(--white); color: var(--black); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-invert { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-invert:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 17px 36px; font-size: 16.5px; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); }

/* ==========================================================================
   1 — הירו (מנטה)
   ========================================================================== */

.hero { background: var(--mint); padding: 72px 0 88px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: 48px; }
.eyebrow { display: block; font-size: 14px; font-weight: 600; color: var(--black); opacity: 0.65; margin: 0 0 18px; }
.hero h1 {
  font-family: var(--font); font-weight: 400; font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.18; margin: 0 0 22px; letter-spacing: -0.01em;
}
.hero h1 strong { font-weight: 800; }
.hero-sub { color: var(--ink-soft); font-size: 18px; max-width: 46ch; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* איור הירו — לא תצלום סטוק: אין לנו תמונות אמיתיות של אביב/הסטודיו.
   מומר לפלטת מנטה/שחור/לבן, אותו רעיון (בועה + נבט) בגרסה חדשה. */
.hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 440px; margin-inline: auto; }
.hero-blob {
  position: absolute; inset: 0;
  border-radius: 38% 62% 60% 40% / 42% 45% 55% 58%;
  background: var(--white);
}
.hero-sprout-lg {
  position: absolute; top: 50%; left: 50%; width: 40%;
  transform: translate(-50%, -50%); transform-origin: bottom center;
  animation: sway 6s ease-in-out infinite;
}
.hero-sprout-lg .stem { stroke: var(--black); stroke-width: 1.8; fill: none; stroke-linecap: round; }
.hero-sprout-lg path:not(.stem) { fill: var(--black); }
.hero-dot { position: absolute; border-radius: 50%; }
.hero-dot.d1 { width: 16px; height: 16px; top: 10%; left: 16%; background: var(--black); animation: float 5s ease-in-out infinite; }
.hero-dot.d2 { width: 22px; height: 22px; bottom: 14%; right: 10%; border: 2px solid var(--black); animation: float 7s ease-in-out infinite 1s; }
.hero-dot.d3 { width: 12px; height: 12px; bottom: 6%; left: 6%; background: var(--black); opacity: 0.5; animation: float 8s ease-in-out infinite 0.5s; }

@keyframes sway { 0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); } 50% { transform: translate(-50%, -50%) rotate(3deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 260px; order: -1; margin-bottom: 8px; }
  .hero, .stmt, .services, .work, .promise, .process, .contact { text-align: center; }
  .hero-actions, .contact-actions { justify-content: center; }
}

/* ==========================================================================
   2 — סקשן הצהרה (שחור מלא, בלי תמונה)
   ========================================================================== */

.stmt { background: var(--black); color: var(--white); padding: 110px 0; }
.stmt .container { max-width: 820px; }
.stmt .eyebrow { color: var(--white); opacity: 0.6; }
.stmt h2 { font-family: var(--font); font-weight: 400; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; margin: 0 0 18px; }
.stmt h2 strong { font-weight: 800; }
.stmt p { color: #C9C9C9; font-size: 17px; max-width: 60ch; margin: 0; }

/* ==========================================================================
   סקשנים כלליים
   ========================================================================== */

.section { padding: 100px 0; }
.section.on-black { background: var(--black); color: var(--white); }
.section.on-cream { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 {
  font-family: var(--font); font-weight: 800; font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.section-sub { font-size: 17px; margin: 0; max-width: 60ch; }
.section:not(.on-black) .section-sub { color: var(--ink-soft); }
.section.on-black .section-sub { color: #C9C9C9; }

/* ==========================================================================
   3 — שירותים (לבן)
   ========================================================================== */

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 64px; }
.service-card { border: 1.5px solid var(--black); border-radius: var(--radius); padding: 36px 32px; transition: transform 0.25s ease; }
.service-card:hover { transform: translateY(-6px); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: var(--radius-sm);
  background: var(--black); color: var(--white); margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--font); font-weight: 800; font-size: 22px; margin: 0 0 10px; }
.service-sub { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 20px; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.service-list li { font-size: 15px; padding-inline-start: 24px; position: relative; }
.service-list li::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 8px;
  width: 12px; height: 7px; border-inline-start: 2.5px solid var(--black);
  border-bottom: 2.5px solid var(--black); transform: rotate(-45deg);
}

.process-strip { max-width: 960px; }
.process-list { list-style: none; display: flex; justify-content: space-between; margin: 0; padding: 0; position: relative; }
.process-list::before { content: ''; position: absolute; top: 18px; right: 5%; left: 5%; height: 1.5px; background: var(--border); }
.process-list li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.process-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--white);
  border: 1.5px solid var(--black); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}
.process-label { font-size: 12.5px; color: var(--ink-soft); text-align: center; max-width: 92px; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-list { flex-wrap: wrap; row-gap: 26px; }
  .process-list::before { display: none; }
  .process-list li { flex: 0 0 33%; }
}

/* ==========================================================================
   4 — תיק עבודות (שחור) — מציבי מקום כנים, לא פרויקטים מומצאים
   ========================================================================== */

.work-placeholders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-slot {
  aspect-ratio: 4/3; border: 1.5px dashed #4A4A4A; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #8A8A8A; transition: border-color 0.25s ease;
}
.work-slot:hover { border-color: var(--white); color: var(--white); }
.work-slot svg { width: 30px; height: 30px; }
.work-slot span { font-size: 13px; font-weight: 600; }

/* כרטיס תיק עבודות אמיתי — תמונה + כיתוב, לא מציב מקווקו */
.work-slot--filled {
  position: relative;
  border: none;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.25s ease;
}
.work-slot--filled:hover { transform: translateY(-6px); }
.work-slot--filled img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-caption {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
  padding: 28px 16px 14px;
  font-size: 13px; font-weight: 600; text-align: center;
}

@media (max-width: 760px) { .work-placeholders { grid-template-columns: 1fr; } }

/* ==========================================================================
   5 — ההבטחה שלנו (קרם) — מחליף את סקשן העיתונות הבדוי בדוגמה
   ========================================================================== */

.pillars-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar-item { display: flex; flex-direction: column; gap: 12px; }
.pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--black);
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-item h3 { font-family: var(--font); font-weight: 800; font-size: 19px; margin: 0; }
.pillar-item p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.pillars-row.reveal .pillar-item { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.pillars-row.reveal.is-visible .pillar-item { opacity: 1; transform: translateY(0); }
.pillars-row.reveal.is-visible .pillar-item:nth-child(1) { transition-delay: 0s; }
.pillars-row.reveal.is-visible .pillar-item:nth-child(2) { transition-delay: 0.12s; }
.pillars-row.reveal.is-visible .pillar-item:nth-child(3) { transition-delay: 0.24s; }

@media (max-width: 760px) { .pillars-row { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   6 — התהליך שלנו (שחור) — מחליף את סקשן ההמלצות הבדוי בדוגמה
   ========================================================================== */

.process-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.process-card { background: var(--mint); color: var(--black); border-radius: var(--radius); padding: 28px 26px; }
.process-card .process-num { background: var(--black); color: var(--white); border-color: var(--black); margin-bottom: 14px; }
.process-card h4 { font-family: var(--font); font-weight: 800; font-size: 17px; margin: 0 0 8px; }
.process-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .process-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   7 — צור קשר (לבן)
   ========================================================================== */

.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { font-family: var(--font); font-weight: 800; font-size: clamp(28px, 4vw, 42px); margin: 0 0 16px; }
.contact-lead { color: var(--ink-soft); font-size: 17px; max-width: 44ch; margin: 0 0 30px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-info { border-inline-start: 1.5px solid var(--black); padding-inline-start: 32px; }
.contact-info dt { font-size: 13px; color: var(--ink-soft); margin: 0 0 4px; }
.contact-info dd { font-size: 17px; font-weight: 600; margin: 0 0 24px; }
.contact-info dd a { color: inherit; text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .contact .container { grid-template-columns: 1fr; }
  .contact-info { border-inline-start: none; padding-inline-start: 0; border-top: 1.5px solid var(--black); padding-top: 28px; }
}

/* ==========================================================================
   פוטר
   ========================================================================== */

.site-footer { background: var(--black); color: #999; text-align: center; padding: 44px 20px; }
.site-footer p { margin: 4px 0; font-size: 14px; }

/* ==========================================================================
   הנפשות — כניסה לכל סקשן, לא רק לאלמנטים בודדים
   ========================================================================== */

.hero-copy { opacity: 0; transform: translateY(16px); animation: fadeInUp 0.7s ease 0.1s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal-section { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; opacity: 1; transform: none; }
  .reveal-section, .reveal, .pillars-row.reveal .pillar-item { opacity: 1; transform: none; transition: none; }
  .hero-sprout-lg, .hero-dot { animation: none; }
}

/* ==========================================================================
   רספונסיביות כללית
   ========================================================================== */

@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 20px 24px; gap: 18px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .btn-nav { align-self: flex-start; }
  .nav-toggle { display: block; }
  .section, .stmt { padding: 64px 0; }
  .hero { padding: 56px 0 60px; }
}
