/* DBC Finance — דבס פיננסים | production stylesheet (rebuilt from design_handoff_dbc_landing) */

:root {
  --font-heading: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  --font-body: 'David Libre', 'Lora', serif;
  --navy: #0b2740;
  --navy-2: #123a5e;
  --sky: #2e9fd8;
  --sky-deep: #1273ab;
  --sky-light: #bfe3f7;
  --brand-red: #8e1c1c;
  --text: #1d2b38;
  --text-soft: rgba(29, 43, 56, 0.78);
  --text-muted: rgba(29, 43, 56, 0.65);
  --divider: #d9e6f0;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(11, 39, 64, 0.08), 0 1px 2px rgba(11, 39, 64, 0.05);
  --shadow-md: 0 4px 14px rgba(11, 39, 64, 0.10);
  --shadow-lg: 0 14px 34px rgba(11, 39, 64, 0.16);
  --nav-h: 120px;
  --bordo: #8e1c1c;
  --bordo-soft: #e07a7a;
  --bordo-tint: #eec3c3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  margin: 0;
  direction: rtl;
  background: #f7fbfe;
  color: var(--text);
  font-family: var(--font-body);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--sky-deep); text-decoration: none; }
a:hover { color: var(--sky); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-heading); }

.container { max-width: 1180px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 72px); }

.skip-link {
  position: absolute; top: -48px; inset-inline-start: 12px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; color: #fff; }

.kicker { display: block; font-size: 14px; letter-spacing: 0.05em; color: var(--brand-red); }
.kicker-sky { color: #7fcbf0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; padding: 10px 22px;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #2e9fd8, #1273ab); color: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 115, 171, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #43aede, #1a80ba); color: #ffffff; transform: translateY(-1px); }
.btn-ghost {
  color: #f6e8e8; border: 1px solid rgba(224, 122, 122, 0.65); background: rgba(142, 28, 28, 0.16);
}
.btn-ghost:hover { background: rgba(142, 28, 28, 0.32); border-color: var(--bordo-soft); color: #ffffff; }
.btn-lg { padding: 14px 30px; font-size: 17px; gap: 10px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  min-height: var(--nav-h);
  padding: 8px clamp(16px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  box-shadow: var(--shadow-sm);
}
.nav-logo-link { display: inline-flex; flex-shrink: 0; }
.nav-logo { height: 104px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-inline-start: auto; font-size: 15px; }
.nav-links a { color: var(--navy); white-space: nowrap; }
.nav-links a:hover { color: var(--sky); }
.nav-cta {
  flex-shrink: 0;
  background: linear-gradient(135deg, #25d366, #1da851);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.nav-cta:hover { background: linear-gradient(135deg, #3ddf77, #22bd5c); }
.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--divider); border-radius: 10px;
  color: var(--navy); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #081e33 0%, #0b2740 38%, #123a5e 72%, #16507e 100%);
  color: #f4f9fd;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(8, 30, 51, 0.42), rgba(8, 30, 51, 0.30)), url('assets/photo-a.jpg');
  background-size: cover; background-position: center;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(120, 195, 235, 0.28) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 30%, black 75%);
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, black 75%);
}
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-sky { top: -180px; inset-inline-end: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(46, 159, 216, 0.35), transparent 65%); }
.hero-glow-red { bottom: -220px; inset-inline-start: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(142, 28, 28, 0.28), transparent 65%); }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
}
.hero-panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8, 30, 51, 0.72), rgba(8, 30, 51, 0.5));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: 0.04em; color: var(--bordo-tint);
  border: 1px solid rgba(198, 88, 88, 0.6); border-radius: 999px;
  padding: 6px 16px; background: rgba(142, 28, 28, 0.2);
}
.hero h1 {
  font-weight: 500; font-size: clamp(34px, 5vw, 66px); line-height: 1.15;
  margin: 26px 0 0; color: #ffffff; max-width: 16ch;
}
.hero-lead { font-size: 18px; line-height: 1.8; margin: 22px 0 0; max-width: 52ch; color: #c9dded; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-checks { display: flex; gap: 14px 26px; flex-wrap: wrap; margin-top: 36px; font-size: 14px; color: #9fc3dd; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }

.hero-visual { position: relative; height: 420px; perspective: 1100px; min-width: 0; }
.float-stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateY(30px); }
.float-card { position: absolute; width: 250px; height: 250px; border-radius: 28px; }
.float-a {
  top: 130px; inset-inline-start: 40px;
  background: linear-gradient(135deg, rgba(142, 28, 28, 0.82), rgba(90, 16, 16, 0.55));
  box-shadow: 0 40px 60px rgba(26, 3, 3, 0.5);
  animation: floatA 7s ease-in-out infinite;
}
.float-b {
  top: 96px; inset-inline-start: 74px;
  background: linear-gradient(135deg, rgba(127, 203, 240, 0.65), rgba(46, 159, 216, 0.35));
  box-shadow: 0 30px 50px rgba(3, 15, 26, 0.35);
  backdrop-filter: blur(2px);
  animation: floatB 7s ease-in-out infinite;
}
.float-c {
  top: 62px; inset-inline-start: 108px;
  background: linear-gradient(135deg, rgba(214, 238, 250, 0.75), rgba(127, 203, 240, 0.30));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 40px rgba(3, 15, 26, 0.25);
  animation: floatC 8s ease-in-out infinite;
}
@keyframes floatA { 0%, 100% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(0); } 50% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(26px); } }
@keyframes floatB { 0%, 100% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(46px); } 50% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(14px); } }
@keyframes floatC { 0%, 100% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(92px); } 50% { transform: rotateX(58deg) rotateZ(-42deg) translateZ(120px); } }
@keyframes coinSpin { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(6deg); } }

.hero-badge {
  position: absolute;
  background: rgba(8, 30, 51, 0.72);
  border: 1px solid rgba(191, 227, 247, 0.35);
  border-radius: 16px; padding: 14px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(3, 15, 26, 0.45);
}
.hero-badge-top { top: 6px; inset-inline-start: 20px; animation: coinSpin 9s ease-in-out infinite; }
.hero-badge-bottom { bottom: 8px; inset-inline-end: 4px; }
.badge-label { margin: 0; font-size: 13px; color: #9fc3dd; }
.badge-value { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 600; font-size: 30px; color: var(--bordo-soft); font-feature-settings: 'tnum' 1; }
.badge-approved { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: 15px; color: #d6eefa; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(180deg, #f7fbfe, #dceef9); border-bottom: 1px solid #c4e0f2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding-block: clamp(36px, 5vw, 60px);
}
.stat-card {
  text-align: center; padding: 22px 16px; background: #ffffff;
  border: 1px solid var(--divider); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-num { font-family: var(--font-heading); font-weight: 600; font-size: 44px; line-height: 1.1; margin: 0; font-feature-settings: 'tnum' 1; }
.stat-label { font-size: 14.5px; margin: 8px 0 0; color: var(--text-soft); }

/* ---------- Sections shared ---------- */
.services .container, .process .container, .clients .container { padding-block: clamp(56px, 7vw, 90px); }
.services h2, .process h2, .clients h2 {
  font-weight: 600; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2;
  margin: 14px 0 0; color: var(--navy); max-width: 26ch;
}

/* ---------- Services ---------- */
.services { background: #f7fbfe; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.service-card {
  background: #ffffff; border: 1px solid var(--divider); border-top: 4px solid var(--sky);
  border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 39, 64, 0.14); }
.service-icon {
  display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  border-radius: 14px;
}
.service-card h3 { font-weight: 600; font-size: 22px; margin: 18px 0 0; color: var(--navy); }
.service-card p { font-size: 15.5px; line-height: 1.8; margin: 12px 0 0; color: var(--text-soft); }

/* ---------- Why band ---------- */
.why-band { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.why-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(8, 30, 51, 0.35), rgba(8, 30, 51, 0.25)), url('assets/photo-b.jpg');
  background-size: cover; background-position: center;
}
.why-inner { position: relative; width: 100%; padding-block: clamp(56px, 7vw, 90px); }
.why-panel {
  max-width: 560px; padding: clamp(24px, 4vw, 38px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8, 30, 51, 0.74), rgba(8, 30, 51, 0.52));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.why-panel h2 { font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; margin: 14px 0 0; color: #ffffff; }
.why-panel p { font-size: 16.5px; line-height: 1.85; margin: 18px 0 0; color: #c9dded; }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, #dceef9, #f7fbfe); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.process-card {
  position: relative; background: #ffffff; border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute; top: -18px; inset-inline-start: 22px;
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: 19px;
  font-feature-settings: 'tnum' 1;
}
.process-card h3 { font-weight: 600; font-size: 21px; margin: 10px 0 0; color: var(--navy); }
.process-card p { font-size: 15.5px; line-height: 1.8; margin: 12px 0 0; color: var(--text-soft); }

/* ---------- Clients ---------- */
.clients { background: #eef7fc; border-top: 1px solid #c4e0f2; }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.quote-card {
  margin: 0; background: #ffffff; border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.stars { color: var(--sky); font-size: 19px; letter-spacing: 3px; line-height: 1; }
.quote-card blockquote {
  font-family: var(--font-heading); font-weight: 400; font-size: 20px; line-height: 1.55;
  margin: 0; color: var(--navy);
}
.quote-card figcaption { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #081e33 0%, #0b2740 45%, #123a5e 100%);
  color: #f4f9fd;
}
.contact-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(120, 195, 235, 0.2) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(245deg, transparent 35%, black 80%);
  -webkit-mask-image: linear-gradient(245deg, transparent 35%, black 80%);
}
.contact-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(28px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(56px, 7vw, 96px);
}
.contact-info h2 { font-weight: 500; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.25; margin: 14px 0 0; color: #ffffff; }
.contact-info > p { font-size: 16.5px; line-height: 1.85; margin: 18px 0 0; max-width: 48ch; color: #c9dded; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; font-size: 15.5px; }
.contact-channels a { display: inline-flex; align-items: center; gap: 12px; color: #d6eefa; }
.contact-channels a:hover { color: #ffffff; }
.chan-icon {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 12px; flex-shrink: 0;
}
.chan-wa { background: rgba(46, 159, 216, 0.18); border: 1px solid rgba(46, 159, 216, 0.45); }
.chan-mail { background: rgba(142, 28, 28, 0.22); border: 1px solid rgba(198, 88, 88, 0.5); }
.muted { color: #9fc3dd; }
.num { unicode-bidi: embed; font-feature-settings: 'tnum' 1; }

.contact-card {
  background: #ffffff; color: var(--text); border-radius: 18px; padding: 32px 30px;
  box-shadow: 0 30px 70px rgba(3, 15, 26, 0.5);
}
.form-title { font-family: var(--font-heading); font-weight: 600; font-size: 24px; margin: 0; color: var(--navy); }
.form-sub { font-size: 14.5px; margin: 8px 0 0; color: var(--text-muted); }
#contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
#contact-form label { display: block; font-size: 14.5px; color: var(--navy); }
#contact-form input, #contact-form textarea {
  width: 100%; box-sizing: border-box; margin-top: 6px;
  padding: 11px 14px; font-size: 15.5px; font-family: var(--font-body); color: var(--text);
  background: #f7fbfe; border: 1px solid var(--divider); border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#contact-form input:focus, #contact-form textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(46, 159, 216, 0.18);
}
#contact-form textarea { resize: vertical; }
.form-note { font-size: 13px; line-height: 1.6; margin: 0; color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer { background: #081e33; color: #9fc3dd; border-top: 1px solid rgba(191, 227, 247, 0.15); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center;
  padding-block: 30px; font-size: 13.5px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-chip { background: #ffffff; border-radius: 8px; padding: 4px 8px; display: inline-flex; }
.footer-logo-chip img { height: 40px; width: auto; }
.footer a { color: #bfe3f7; }
.footer a:hover { color: #ffffff; }
.footer-copy { margin-inline-start: auto; }

/* ---------- Floating WhatsApp bubble (mobile) ---------- */
.wa-bubble {
  display: none;
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 50;
  width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 50%; color: #ffffff;
  background: linear-gradient(135deg, #2e9fd8, #1273ab);
  box-shadow: 0 10px 26px rgba(3, 15, 26, 0.45);
}
.wa-bubble:hover { color: #ffffff; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .clients-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --nav-h: 86px; }
  .nav { gap: 12px; }
  .nav-logo { height: 70px; }
  .nav-burger { display: inline-flex; }
  .nav-cta { margin-inline-start: auto; padding: 9px 14px; }
  .nav-cta-label { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--divider);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px clamp(20px, 6vw, 32px); border-bottom: 1px solid #eef4f9; }
  .nav-links a:last-child { border-bottom: none; }

  .hero h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .hero-lead { font-size: 16.5px; }
  .btn-lg { padding: 13px 22px; font-size: 16px; }
  .hero-ctas .btn { flex: 1 1 auto; }

  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 26px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-inline-start: 0; }

  .wa-bubble { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-a, .float-b, .float-c, .hero-badge-top { animation: none; }
  .btn, .stat-card, .service-card { transition: none; }
}
