/* ===== Kfir Tuvia — Financial Consulting & CFO Services ===== */

:root {
  /* Primary accent is now burgundy (was navy). Navy kept only as a deep neutral backdrop tone. */
  --navy: #4a1322;
  --navy-deep: #2e0c16;
  --navy-soft: #6e1f33;
  --gold: #c9a24b;
  --gold-light: #e8cd8a;
  --burgundy: #6e1f33;
  --burgundy-light: #8c2a42;
  --cream: #f8f5ef;
  --white: #ffffff;
  --text-dark: #1a1f2b;
  --text-muted: #5b6372;
  --radius: 16px;
  --shadow-soft: 0 20px 50px -20px rgba(74, 19, 34, 0.3);
  --font: 'Heebo', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.25;
}

h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: 25px; }

p { color: var(--text-muted); margin: 0 0 16px; font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--burgundy);
  background: rgba(110, 31, 51, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--gold-light); background: rgba(201, 162, 75, 0.15); }

.section { padding: 100px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 12px 30px -10px rgba(201, 162, 75, 0.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(201, 162, 75, 0.7); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  padding: 10px 20px;
  font-size: 14px;
}
.btn-ghost:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.btn-wide { width: 100%; }

.icon-wa { width: 18px; height: 18px; fill: currentColor; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 13, 26, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(5, 13, 26, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-logo { width: 42px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.brand-text {
  font-weight: 900;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text small {
  font-weight: 400;
  font-size: 12px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}
.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 16.5px;
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 152px 0 96px;
  background: radial-gradient(circle at 20% 20%, var(--navy-soft), var(--navy-deep) 65%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero-chart {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 60%;
}
.hero-chart polyline {
  fill: none;
  stroke: url(#none);
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  filter: drop-shadow(0 0 12px rgba(201,162,75,0.5));
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 820px; text-align: center; margin: 0 auto; }
.hero-logo { width: 96px; margin: 0 auto 26px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5.8vw, 64px);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(18px, 2.2vw, 22px);
  max-width: 650px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.hero-actions .btn-outline:hover { background: var(--white); color: var(--navy); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--gold-light);
}
.stat-label {
  display: block;
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

.hero-video-card {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 56px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,162,75,0.35);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
  background: #000;
}
.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 524;
  object-fit: cover;
}
.hero-video-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 22px 26px;
  background: linear-gradient(0deg, rgba(10,4,7,0.88), rgba(10,4,7,0.35) 60%, transparent);
  text-align: right;
}
.hero-video-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-light);
  background: rgba(201,162,75,0.15);
  border: 1px solid rgba(201,162,75,0.4);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.hero-video-caption p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 15.5px;
}

@media (max-width: 640px) {
  .hero-video-card { margin-top: 36px; border-radius: 12px; }
  .hero-video-caption { padding: 16px 18px; }
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 8px;
  background: var(--gold-light);
  border-radius: 3px;
  animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-frame {
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.about-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201,162,75,0.35);
  border-radius: 10px;
  pointer-events: none;
}
.about-logo { width: 100%; max-width: 260px; margin: 0 auto; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-points li {
  position: relative;
  padding-right: 28px;
  color: var(--text-muted);
}
.about-points li::before {
  content: '';
  position: absolute;
  right: 0; top: 7px;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
}
.about-points strong { color: var(--navy); }

/* ===== Services ===== */
.services { background: var(--white); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-sub { font-size: 18.5px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  background: var(--white);
  border-color: rgba(201,162,75,0.3);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold-light);
}
.service-card h3 { margin-bottom: 10px; font-size: 21px; }
.service-card p { margin: 0; font-size: 16.5px; }

/* ===== Why ===== */
.why {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--burgundy-light) 150%);
  color: var(--white);
}
.why h2, .why h4 { color: var(--white); }
.why p { color: rgba(255,255,255,0.72); }
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.why-items {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.8;
  flex-shrink: 0;
  width: 48px;
}
.why-item h4 { margin-bottom: 6px; font-size: 19px; }
.why-item p { margin: 0; font-size: 16px; }

.quote-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative;
  backdrop-filter: blur(6px);
}
.quote-mark { width: 36px; height: 36px; fill: var(--gold); opacity: 0.8; margin-bottom: 16px; }
.quote-card p {
  font-size: 21px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 20px;
}
.quote-author { color: var(--gold-light); font-weight: 700; }

/* ===== Contact ===== */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--cream);
  border-radius: 12px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--navy);
  transition: background .25s ease, transform .25s ease;
}
.contact-method:hover { background: #eee3cb; transform: translateX(-4px); }
.cm-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cm-icon svg { width: 18px; height: 18px; }

.contact-badge {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-badge strong { color: var(--gold-light); font-size: 16px; }
.contact-badge span { font-size: 13.5px; color: rgba(255,255,255,0.7); }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { margin-bottom: 22px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 15px; font-weight: 700; color: var(--navy); }
.form-row input, .form-row textarea {
  border: 1.5px solid #dcd4c2;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 16px;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.2);
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-actions .btn { flex: 1; min-width: 160px; }
.form-hint {
  font-size: 12.5px;
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 44px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 28px;
  margin-bottom: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; max-width: 320px; }
.footer-logo { width: 36px; }
.footer-brand p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.footer-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-contact a { font-size: 14px; color: rgba(255,255,255,0.8); transition: color .2s ease; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-copy { text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.45); }

/* ===== Floating businessman mascot ===== */
.biz-mascot {
  position: fixed;
  left: 18px;
  bottom: 24px;
  width: 76px;
  z-index: 60;
  pointer-events: none;
  animation: mascotFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
}
.biz-mascot .tie {
  transform-origin: 50% 0%;
  animation: tieSwing 2.4s ease-in-out infinite;
}
.biz-mascot .arm-left {
  transform-origin: 50% 10%;
  animation: armSwing 3.6s ease-in-out infinite;
}
.biz-mascot .arm-right {
  transform-origin: 50% 10%;
  animation: armSwing 3.6s ease-in-out infinite reverse;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes tieSwing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
@keyframes armSwing {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@media (max-width: 1100px) {
  .biz-mascot { width: 58px; left: 10px; bottom: 16px; }
}
@media (max-width: 720px) {
  .biz-mascot { display: none; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .about-frame { max-width: 320px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%; right: 0; left: 0;
    background: rgba(5,13,26,0.98);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .site-header.nav-open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 230px);
    right: 24px;
  }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .contact-form { padding: 28px 22px; }
  .form-actions .btn { min-width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}
