/* ==========================================================
   Levit To Talk — Coaching & Consulting
   Colors: change these to rebrand the whole site
   ========================================================== */
:root {
  --accent: #c9a063;        /* warm gold */
  --accent-dark: #8f6a2e;   /* deep gold for text on light backgrounds */
  --navy: #1e3556;          /* deep navy: authority & trust */
  --dark: #13233a;          /* footer */
  --text: #4a5361;
  --light: #f6f0e7;         /* warm cream: about section */
  --white: #fff;
  --font: "Rubik", "Segoe UI", Arial, sans-serif;
  --script: "Caveat", cursive;
  --maxw: 1140px;
}
html[lang="he"] { --script: "Amatic SC", cursive; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); font-size: 16px; line-height: 1.7; background: var(--white); }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; top: 0; inset-inline: 0; z-index: 60; font-size: 13px; color: #fff; transition: background .3s, transform .3s; }
.topbar .container { display: flex; justify-content: flex-end; align-items: center; gap: 22px; height: 36px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.lang { display: flex; gap: 4px; border-inline-start: 1px solid rgba(255,255,255,.35); padding-inline-start: 18px; }
.lang a { padding: 1px 7px; border-radius: 3px; font-weight: 500; letter-spacing: .5px; }
.lang a.active { background: var(--accent); color: var(--dark); }

/* ---------- Header ---------- */
.header { position: fixed; top: 36px; inset-inline: 0; z-index: 50; transition: background .3s, top .3s, box-shadow .3s; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .3s; }
.scrolled .topbar { background: #0f1d31; }
.scrolled .header { background: rgba(19,35,58,.96); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.scrolled .header .container { height: 70px; }

.logo { display: flex; flex-direction: column; line-height: 1; color: #fff; }
.logo .mark { font-size: 46px; font-weight: 300; font-style: italic; color: var(--accent); letter-spacing: -1px; }
.logo .sub { font-size: 13px; letter-spacing: 3px; text-transform: lowercase; color: #fff; margin-top: 4px; padding-inline-start: 4px; }
.logo .sub b { color: var(--accent); font-weight: 400; }
.scrolled .logo .mark { font-size: 36px; }

.nav ul { list-style: none; display: flex; gap: 30px; }
.nav a { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; padding: 6px 0; border-bottom: 2px solid transparent; }
html[lang="he"] .nav a { letter-spacing: 0; font-size: 16px; }
.nav a:hover, .nav a.active { color: #fff; border-color: var(--accent); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; }
.burger span { display: block; height: 2px; background: var(--accent); margin: 6px 4px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #13233a;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  /* Put your own photo at assets/img/hero.jpg — it is used automatically (shown in black & white). The SVG is the fallback. */
  background: url("../img/hero.jpg") center/cover no-repeat, url("../img/hero.svg") center/cover no-repeat;
  filter: grayscale(100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(30,53,86,.80), rgba(13,25,43,.88)); }
.hero-inner { position: relative; z-index: 1; padding: 140px 24px 80px; max-width: 760px; }
.hero h1 { font-weight: 300; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.6; }
.hero h1 em { font-family: var(--script); font-style: normal; font-size: 1.35em; font-weight: 500; }
html[lang="he"] .hero h1 em { font-weight: 700; font-size: 1.5em; }
.hero .social { display: flex; justify-content: center; gap: 16px; margin: 34px 0 38px; }
.hero .social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background .3s; }
.hero .social a:hover { background: var(--accent); }
.hero .social svg { width: 18px; height: 18px; fill: #13233a; }
.btn { display: inline-block; background: var(--accent); color: #13233a; font-weight: 500; padding: 14px 34px; border-radius: 40px; font-size: 15px; letter-spacing: .5px; border: 2px solid var(--accent); cursor: pointer; font-family: inherit; transition: .3s; }
.btn:hover { background: transparent; color: #fff; }
.hero .btn:hover { border-color: #fff; }
.scroll-down { position: absolute; bottom: 26px; z-index: 1; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-down::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-title { text-align: center; font-weight: 300; font-style: italic; font-size: clamp(32px, 4vw, 44px); margin-bottom: 56px; color: var(--navy); }
html[lang="he"] .section-title { font-style: normal; }

/* Services (green band) */
.services { background: var(--navy); color: #fff;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 6px); }
.services .section-title { color: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.service { text-align: center; padding: 0 6px; }
.service .icon { width: 86px; height: 86px; border: 2px solid var(--accent); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; transition: background .3s, transform .3s; }
.service:hover .icon { background: rgba(201,160,99,.18); transform: translateY(-4px); }
.service svg { width: 38px; height: 38px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-weight: 400; font-size: 24px; line-height: 1.3; margin-bottom: 10px; color: #fff; }
.service p { font-size: 14.5px; opacity: .85; }

/* About */
.about { background: var(--light); }
.about .section-title { color: var(--navy); text-align: start; }
.about-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 60px; align-items: center; }
.about p { font-size: 16px; line-height: 2.1; margin-bottom: 22px; }
.about .hl { color: var(--accent-dark); font-size: 1.3em; }
.about b { color: var(--navy); font-weight: 500; font-size: 1.15em; }
.portrait { width: 240px; height: 240px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12);
  background: url("../img/portrait.jpg") center/cover, linear-gradient(135deg, var(--accent), var(--navy)); display: grid; place-items: center; color: #fff; font-size: 13px; text-align: center; }
.quote { text-align: end; margin-top: 30px; }
.quote .name { font-size: 22px; font-weight: 300; color: var(--navy); }
.quote .role { font-size: 13px; color: #888; }
.quote q { display: block; font-style: italic; color: #888; font-size: 14.5px; }
html[lang="he"] .quote q { font-style: normal; }

/* Approach (image-tile grid) */
.approach .section-title { color: var(--navy); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; min-height: 300px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.tile .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s; }
.tile:hover .bg { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,25,43,.85), rgba(13,25,43,.2)); }
.tile .content { position: relative; z-index: 1; padding: 34px 38px; }
.tile .num { font-family: var(--script); font-size: 64px; line-height: 1; color: var(--accent); }
.tile h3 { font-weight: 400; font-size: 26px; margin: 4px 0 6px; }
.tile p { font-size: 15px; opacity: .9; max-width: 420px; }
.t1 .bg { background-image: url("../img/step1.jpg"), linear-gradient(135deg, #3a5a85, #13233a); }
.t2 .bg { background-image: url("../img/step2.jpg"), linear-gradient(225deg, #2f4b72, #13233a); }
.t3 .bg { background-image: url("../img/step3.jpg"), linear-gradient(45deg, #2a4366, #0f1d31); }
.t4 .bg { background-image: url("../img/step4.jpg"), linear-gradient(315deg, #45648f, #172a45); }

/* Contact */
.contact .section-title { color: var(--navy); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact .lead { font-size: 17px; margin-bottom: 28px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-item .ic { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.info-item svg { width: 18px; height: 18px; fill: var(--accent); }
.info-item small { display: block; color: #999; font-size: 13px; }
.info-item a, .info-item span { color: #444; font-size: 16px; direction: ltr; unicode-bidi: isolate; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: block; font-size: 13px; color: #888; margin-bottom: 4px; }
form input, form textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 4px; font: inherit; color: #333; margin-bottom: 16px; background: #fafafa; transition: border .2s; }
form input:focus, form textarea:focus { outline: 0; border-color: var(--accent-dark); background: #fff; }
form textarea { min-height: 130px; resize: vertical; }
form .btn { background: var(--navy); border-color: var(--navy); color: #fff; }
form .btn:hover { background: transparent; color: var(--navy); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
html, body { overflow-x: clip; }
.form-msg { margin-top: 14px; font-size: 15px; display: none; }
.form-msg.ok { display: block; color: var(--accent-dark); }
.form-msg.err { display: block; color: #b0413e; }

/* Footer */
.footer { background: var(--dark); color: #ccc; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo .mark { font-size: 40px; color: #fff; }
.footer .tag { margin-top: 14px; color: #ddd; }
.footer h4 { color: #fff; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.footer .col div { margin-bottom: 14px; }
.footer a { color: var(--accent); direction: ltr; unicode-bidi: isolate; }
.copy { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; color: #999; }
.copy .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.to-top { color: #999 !important; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; top: 0; inset-inline-end: 0; height: 100vh; width: 270px; background: #13233a; padding: 110px 30px; transform: translateX(100%); transition: transform .35s; }
  html[dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.open { transform: none !important; }
  .nav ul { flex-direction: column; gap: 18px; }
  .burger { position: relative; z-index: 70; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .portrait { margin: 0 auto; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .topbar .hide-sm { display: none; }
  .grid-3, .tiles, form .row, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .logo .mark { font-size: 38px; }
  .header { top: 36px; }
}