/* ===== RISE DIGITAL — Landing Page =====
   צבעים: מתוך ערכת המותג בלבד (brand.md) */
:root {
  --brand-primary: #054A60;
  --brand-secondary: #3897A1;
  --brand-accent: #DEB86F;
  --brand-ink: #0A2A33;
  --brand-surface: #FFFFFF;
  --brand-gradient: linear-gradient(160deg, #013A4E 0%, #054A60 45%, #3897A1 100%);
  --brand-gold-gradient: linear-gradient(135deg, #C9994E 0%, #DEB86F 55%, #F0D9A0 100%);
  --surface-soft: #F4F8F9;
  --line: rgba(5, 74, 96, 0.12);
  --shadow: 0 10px 40px rgba(5, 74, 96, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  color: var(--brand-ink);
  background: var(--brand-surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ===== טיפוגרפיה ===== */
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 800; line-height: 1.28; color: var(--brand-primary); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.25; color: var(--brand-primary); margin-bottom: 1.2rem; }
h2.light { color: #fff; }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--brand-primary); }
.teal { color: var(--brand-secondary); }

.kicker {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
  color: var(--brand-secondary); text-transform: uppercase;
  margin-bottom: 0.9rem; position: relative; padding-inline-start: 42px;
}
.kicker::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%;
  width: 30px; height: 2px; background: var(--brand-gold-gradient); border-radius: 2px;
}
.kicker.light { color: #A9DDE2; }

/* ===== כפתורים ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 12px 28px; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: none; transition: all .25s ease;
}
.btn-primary {
  background: var(--brand-primary); color: #fff;
  box-shadow: 0 6px 20px rgba(5, 74, 96, 0.28);
}
.btn-primary:hover { background: #076A88; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(5, 74, 96, 0.35); }
.btn-primary svg { transition: transform .25s ease; }
.btn-primary:hover svg { transform: translateX(-4px); }
.btn-lg { padding: 15px 38px; font-size: 1.1rem; }
.btn-gold {
  background: var(--brand-accent); color: var(--brand-primary);
  box-shadow: 0 6px 20px rgba(201, 153, 78, 0.35);
}
.btn-gold:hover { background: #E8C888; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201, 153, 78, 0.45); }
.btn-gold svg { transition: transform .25s ease; }
.btn-gold:hover svg { transform: translateX(-4px); }
.btn-block { width: 100%; justify-content: center; }
.btn-outline {
  border: 1.5px solid var(--brand-primary); color: var(--brand-primary);
  background: transparent; padding: 9px 22px;
}
.btn-outline:hover { background: var(--brand-primary); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 6px; }
.header-logo { height: 56px; width: auto; }

/* ===== Hero — גרדיאנט עמוק בצבעי המותג ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #012B3A 0%, #054A60 52%, #16697C 82%, #3897A1 115%);
  padding: 100px 0 110px;
  text-align: center;
}
.hero h1 { color: #fff; }

/* תג הלוגו בפתיח — שביט זהב שמקיף את הלוגו */
.hero-badge {
  position: relative;
  width: 300px; height: 300px; margin: 0 auto 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge img { width: 74%; height: 74%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 0 1.5px rgba(255,255,255,0.85)) drop-shadow(0 0 10px rgba(255,255,255,0.28)) drop-shadow(0 6px 18px rgba(0,0,0,0.4)); }
/* השביט — בגודל קבוע, לא גדל עם הלוגו */
.hero-badge::before {
  content: ''; position: absolute; width: 258px; height: 258px;
  top: calc(50% - 129px); inset-inline-start: calc(50% - 129px);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg, transparent 235deg,
    rgba(201,153,78,0.0) 240deg, rgba(201,153,78,0.7) 285deg,
    #DEB86F 330deg, #F0D9A0 355deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  animation: orbit 3.6s linear infinite;
}
.hero-badge::after {
  content: ''; position: absolute; width: 258px; height: 258px;
  top: calc(50% - 129px); inset-inline-start: calc(50% - 129px);
  border-radius: 50%;
  background: radial-gradient(circle 7px at 50% 3.5px, #FFF6E0 0%, #F0D9A0 45%, transparent 75%);
  filter: drop-shadow(0 0 6px #F0D9A0);
  animation: orbit 3.6s linear infinite;
}
@keyframes orbit { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge::before, .hero-badge::after { animation: none; } }
@media (max-width: 560px) {
  .hero-badge { width: 190px; height: 190px; }
  .hero-badge::before, .hero-badge::after { width: 210px; height: 210px; top: calc(50% - 105px); inset-inline-start: calc(50% - 105px); }
}
.hero .hero-sub { color: #8FD4DC; }
.hero .hero-text { color: #C6DEE3; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-lines { width: 100%; height: 100%; }

.hero-inner { position: relative; }
.hero-logo { height: 150px; width: auto; margin-bottom: 28px; }
.hero-sub {
  font-size: 1.5rem; font-weight: 500; color: var(--brand-secondary);
  margin-top: 2rem;
}
.hero-text { max-width: 720px; margin: 1.6rem auto 2.8rem; font-size: 1.12rem; line-height: 2; color: #3A5560; }

.accent-underline { position: relative; white-space: nowrap; }
.accent-underline::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 4px;
  height: 12px; background: var(--brand-gold-gradient);
  opacity: 0.35; border-radius: 6px; z-index: -1;
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.container.narrow-mid { max-width: 820px; text-align: center; }

/* ===== הכאב — הזדהות לפני הגישה ===== */
.pain { background: var(--surface-soft); padding: 76px 0; }
.pain-lead {
  font-size: clamp(1.25rem, 2.6vw, 1.55rem); font-weight: 600;
  color: var(--brand-primary); line-height: 1.6; margin-bottom: 1.4rem;
}
.pain-turn {
  font-size: 1.15rem; font-weight: 500; color: var(--brand-secondary);
  margin-bottom: 1.6rem;
}
.pain-punch {
  display: inline-block;
  font-size: 1.08rem; font-weight: 600; color: var(--brand-primary);
  background: #fff; border-radius: 999px; padding: 14px 30px;
  border: 1.5px solid rgba(222, 184, 111, 0.6);
  box-shadow: 0 8px 24px rgba(5, 74, 96, 0.08);
}

.philosophy { background: #fff; }
.philosophy p { margin-bottom: 1rem; font-size: 1.08rem; color: #2C4954; }
.philosophy p:first-of-type { font-size: 1.18rem; font-weight: 500; color: var(--brand-primary); }

/* ===== דרך העבודה (פס כהה) ===== */
.process { background: var(--brand-gradient); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 48px;
  position: relative; align-items: end;
}
/* מדרגות עולות (RTL: מימין למעלה-שמאלה) + חץ הזהב שעובר ביניהן */
@media (min-width: 901px) {
  .step { min-height: 225px; }
  .step:nth-of-type(2) { margin-bottom: 30px; }
  .step:nth-of-type(3) { margin-bottom: 60px; }
  .step:nth-of-type(4) { margin-bottom: 90px; }
  .steps { padding-top: 56px; }
}
#stepsArrow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.step { position: relative; z-index: 1; }
.step {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(2px);
  border-radius: 18px; padding: 30px 24px 26px;
  transition: transform .3s ease, background .3s ease;
}
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.11); }
.step-num {
  position: absolute; top: 18px; inset-inline-end: 20px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1px;
  color: var(--brand-accent); opacity: 0.85;
}
.step-icon { width: 56px; height: 56px; margin-bottom: 16px; }
.step-icon svg { width: 100%; height: 100%; }
.step h3 { color: #fff; margin-bottom: 6px; }
.step p { color: #C7E3E7; font-size: 0.98rem; line-height: 1.6; }

/* ===== הבטחה ===== */
.promise { background: var(--surface-soft); }
.promise p { margin-bottom: 1rem; font-size: 1.08rem; color: #2C4954; }

/* ===== יצירת קשר ===== */
.contact { background: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start;
}
.contact-copy p { margin-bottom: 0.9rem; font-size: 1.06rem; color: #2C4954; }
.contact-details { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.1rem; font-weight: 600; color: var(--brand-primary);
  text-decoration: none; transition: color .2s;
  width: fit-content;
}
.contact-line:hover { color: var(--brand-secondary); }
.contact-ic {
  display: inline-flex; width: 42px; height: 42px; padding: 9px;
  border-radius: 12px; background: var(--surface-soft);
  border: 1px solid var(--line); color: var(--brand-secondary);
}
.contact-ic svg { width: 100%; height: 100%; }

/* ===== טופס ===== */
.lead-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.lead-form::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 5px;
  background: var(--brand-gold-gradient);
  border-radius: 20px 20px 0 0;
}
.lead-form h3 { margin-bottom: 20px; font-size: 1.35rem; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-size: 0.92rem; font-weight: 600;
  color: var(--brand-primary); margin-bottom: 6px;
}
.req { color: var(--brand-accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem;
  padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #FBFDFD;
  color: var(--brand-ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(56, 151, 161, 0.15);
}
.field textarea { resize: vertical; }
.field input[dir="ltr"] { text-align: left; }

.hp-field { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { margin-top: 12px; font-size: 0.82rem; color: #6B8791; text-align: center; }
.form-status { margin-top: 10px; font-size: 0.95rem; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #1C7C54; }
.form-status.err { color: #B3403A; }

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-primary);
  padding: 48px 0 32px; text-align: center;
}
.footer-logo { height: 60px; width: auto; background: #fff; border-radius: 14px; padding: 8px 14px; }
.footer-tag { color: #C7E3E7; margin-top: 14px; font-size: 1rem; }
.footer-contact { margin-top: 8px; }
.footer-contact a { color: var(--brand-accent); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin-top: 18px; }

/* ===== אנימציות ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== רספונסיביות ===== */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-logo { height: 110px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .header-logo { height: 46px; }
}
