/* DailyKal — landing page. Brand tokens from the brand book. */
:root {
  --sun: #FFD700;
  --sun-deep: #F5CC00;
  --black: #1C1A17;
  --ink: #3A342D;
  --muted: #7A6E60;
  --white: #FFFFFF;
  --cream: #FBF8F1;
  --sand: #F1E8D8;
  --latte: #DCC6A6;
  --brown: #B08B66;
  --coffee: #6B4630;
  --line: #E9E0CF;
  --wa: #25D366;

  --h: "Varela Round", "Rubik", Arial, sans-serif;
  --b: "Rubik", Arial, sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--cream); color: var(--black);
  font-family: var(--b); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--h); font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
h3 { font-size: 21px; margin-bottom: 6px; }
.sub { color: var(--muted); font-size: 18px; margin-bottom: 32px; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding: clamp(64px, 10vw, 112px) 0; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--black); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 17px var(--b); text-decoration: none; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn-dark { background: var(--black); color: var(--cream); }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(28, 26, 23, .18); }
.btn-ghost { border-color: var(--black); color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--cream); }
.btn-sun { background: var(--sun); color: var(--black); }
.btn-sun:hover { box-shadow: 0 8px 24px rgba(255, 215, 0, .35); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* ---------- ראש הדף ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 16px; color: var(--ink); position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; background: var(--sun); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav { display: none; } .brand img { width: 128px; } }

/* ---------- פתיחה ---------- */
.hero {
  background: radial-gradient(circle at 12% 18%, rgba(255, 215, 0, .45), rgba(255, 215, 0, 0) 50%), var(--cream);
  padding: clamp(40px, 7vw, 90px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.eyebrow { display: block; font-family: var(--b); font-size: 16px; font-weight: 500; color: var(--coffee); letter-spacing: .02em; margin-bottom: 14px; }
.hero-title { display: block; font-size: clamp(56px, 10vw, 112px); line-height: .98; }
.lead { font-size: clamp(18px, 2vw, 21px); font-weight: 300; color: var(--ink); max-width: 520px; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.hero-sun { width: 78%; margin: 11% auto 0; fill: var(--sun); stroke: var(--sun); stroke-width: 6.5; }
.hero-sun circle { stroke: none; }
.hero-sun .rays { transform-origin: 50px 50px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.chips { list-style: none; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.chips li {
  position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 9px 14px; font-size: 14px; box-shadow: 0 10px 24px rgba(107, 70, 48, .10);
  opacity: 0; animation: chip 12s var(--ease) infinite; animation-delay: calc(var(--d) * 3s);
}
.chips li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); font-size: 12px; }
.chips time { color: var(--muted); font-size: 12px; }
.chips li:nth-child(1) { top: 6%; inset-inline-end: 0; }
.chips li:nth-child(2) { top: 40%; inset-inline-start: -4%; }
.chips li:nth-child(3) { bottom: 18%; inset-inline-end: -2%; }
.chips li:nth-child(4) { bottom: 0; inset-inline-start: 10%; }
@keyframes chip {
  0% { opacity: 0; transform: translateY(10px); }
  6%, 30% { opacity: 1; transform: translateY(0); }
  38%, 100% { opacity: 0; transform: translateY(-8px); }
}
@media (max-width: 860px) { .hero-visual { max-width: 280px; } .chips li { font-size: 12.5px; } }

/* ---------- מוכר לכם ---------- */
#pain { background: var(--white); }
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.checklist label {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.checklist label:hover { transform: translateY(-2px); border-color: var(--latte); }
.checklist input { appearance: none; flex: none; width: 24px; height: 24px; border: 2px solid var(--brown); border-radius: 7px; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.checklist input::after { content: ""; width: 6px; height: 11px; border: solid var(--black); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
.checklist input:checked { background: var(--sun); border-color: var(--sun); }
.checklist input:checked::after { transform: rotate(45deg) scale(1); }
.checklist label:has(input:checked) { border-color: var(--sun); background: #FFFBE5; }
.check-result { margin-top: 24px; font-family: var(--h); font-size: 22px; min-height: 1.5em; transition: opacity .3s; }

/* ---------- תובנה ---------- */
.insight {
  background: repeating-conic-gradient(from -3deg at 50% 125%, var(--sun-deep) 0deg 6deg, var(--sun) 6deg 15deg);
  padding: clamp(64px, 10vw, 120px) 0; overflow: hidden;
}
.insight-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.insight-title { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.12; margin-bottom: 18px; }
.insight-text p { font-size: 19px; max-width: 560px; }
.insight-ask { margin-top: 16px; font-family: var(--h); font-size: 21px !important; background: rgba(251, 248, 241, .7); border-radius: 18px; padding: 14px 18px; }
@media (max-width: 760px) {
  .insight-inner { grid-template-columns: 1fr; text-align: center; }
  .insight-text p { margin-inline: auto; }
  .agent { order: -1; }
}

/* friendly digital agent */
.agent { position: relative; width: min(280px, 70vw); margin-inline: auto; }
.agent-svg { width: 100%; overflow: visible; }
.agent-body { animation: agent-bob 3.2s ease-in-out infinite; }
.agent-shadow { transform-origin: 130px 318px; animation: agent-shadow 3.2s ease-in-out infinite; }
.agent-thrust { transform-box: fill-box; transform-origin: center; animation: agent-thrust 1.1s ease-in-out infinite; }
.agent-eyes rect { transform-box: fill-box; transform-origin: center; animation: agent-blink 4.5s infinite; }
.agent-wave { transform-origin: 178px 216px; animation: agent-wave 2.4s ease-in-out infinite; }
.agent-rays { animation: spin 20s linear infinite; }
.agent-led { animation: agent-pulse 1.6s ease-in-out infinite; }
.agent-led + .agent-led { animation-delay: .8s; }
.agent-core { transform-box: fill-box; transform-origin: center; animation: agent-core 2.4s ease-in-out infinite; }
.agent-sweep { animation: agent-sweep 4.5s ease-in-out infinite; }
.agent-bubble {
  position: absolute; top: 0; inset-inline-start: -10%; z-index: 1;
  background: var(--cream); color: var(--black); font-family: var(--h); font-size: 17px; white-space: nowrap;
  padding: 8px 16px; border-radius: 18px 18px 18px 4px; box-shadow: 0 8px 20px rgba(107, 70, 48, .15);
  opacity: 0; animation: agent-bubble 10s ease-in-out infinite;
}
.agent-bubble.b2 { animation-delay: 5s; }
@keyframes agent-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes agent-shadow { 0%, 100% { transform: scaleX(1); opacity: .16; } 50% { transform: scaleX(.82); opacity: .1; } }
@keyframes agent-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes agent-wave { 0%, 60%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(-16deg); } 30% { transform: rotate(10deg); } }
@keyframes agent-bubble { 0%, 3% { opacity: 0; transform: translateY(8px) scale(.9); } 8%, 42% { opacity: 1; transform: none; } 48%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes agent-thrust { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.8, .7); opacity: .6; } }
@keyframes agent-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes agent-core { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: .7; } }
@keyframes agent-sweep { 0%, 55% { transform: skewX(-20deg) translateX(0); } 85%, 100% { transform: skewX(-20deg) translateX(260px); } }

/* ---------- שירותים ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(107, 70, 48, .10); }
.s-icon { width: 52px; height: 52px; margin-bottom: 18px; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; padding: 8px; background: var(--sun); border-radius: 14px; }
.service p { color: var(--ink); font-size: 16px; }

/* ---------- דוגמאות ---------- */
.demos { background: radial-gradient(var(--latte) 1.4px, transparent 1.7px) 0 0 / 24px 24px, var(--sand); }
/* demo picker: three inviting cards */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 760px) {
  .tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .tabs button { flex: 0 0 78%; scroll-snap-align: start; }
}
.tabs button {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px;
  text-align: start; font-family: var(--b); color: var(--ink); cursor: pointer;
  background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 18px 18px 16px;
  box-shadow: 0 2px 0 rgba(107, 70, 48, .06);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.tabs button:hover { transform: translateY(-3px); border-color: var(--latte); box-shadow: 0 12px 26px rgba(107, 70, 48, .12); }
.tab-ico { grid-row: 1 / span 3; width: 46px; height: 46px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; transition: background .25s; }
.tab-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--black); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tab-title { font-family: var(--h); font-size: 18px; line-height: 1.25; color: var(--black); }
.tab-sub { font-size: 14px; color: var(--muted); line-height: 1.4; }
.tab-go { font-size: 14px; font-weight: 500; color: var(--coffee); margin-top: 6px; }
.tabs button[aria-selected="true"] { border-color: var(--black); background: #FFFDF5; box-shadow: 0 12px 26px rgba(107, 70, 48, .14); }
.tabs button[aria-selected="true"] .tab-ico { background: var(--sun); }
.tabs button[aria-selected="true"] .tab-go { visibility: hidden; }
.tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; bottom: -9px; inset-inline-start: 34px; width: 16px; height: 16px;
  background: #FFFDF5; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(45deg);
}
@media (max-width: 760px) { .tabs button[aria-selected="true"]::after { display: none; } }
.panel { background: var(--cream); border-radius: 24px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
@media (max-width: 860px) { .panel-grid { grid-template-columns: 1fr; } }
.panel-copy h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.panel-copy p { color: var(--ink); margin-bottom: 22px; }
.stat { font-size: 16px; color: var(--muted); margin-top: 18px; }
.stat b { font-family: var(--h); font-weight: 400; font-size: 28px; color: var(--black); }

.switch { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; }
.switch button { font: 500 16px var(--b); border: 0; background: transparent; padding: 8px 22px; border-radius: 999px; cursor: pointer; color: var(--ink); transition: background .25s; }
.switch button[aria-checked="true"] { background: var(--sun); color: var(--black); }

/* bot demo: one phone + switch on mobile, two phones side by side on desktop */
.phone-col { display: none; margin: 0; }
.phone-col.active { display: block; }
.phone-label, .phone-stat { display: none; }
@media (min-width: 861px) {
  .bot-grid { grid-template-columns: 1fr; gap: 26px; }
  .bot-grid .panel-copy { text-align: center; max-width: 640px; margin-inline: auto; }
  .bot-grid .panel-copy p { margin-bottom: 0; }
  .bot-grid .switch, #bot-stat { display: none; }
  .phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); max-width: 820px; width: 100%; margin-inline: auto; }
  .phone-col { display: flex; flex-direction: column; align-items: center; }
  .phone-label { display: inline-block; font-family: var(--h); font-size: 19px; padding: 7px 20px; border-radius: 999px; margin-bottom: 14px; }
  .phone-label.before { background: var(--sand); color: var(--ink); }
  .phone-label.after { background: var(--sun); color: var(--black); }
  .phone-stat { display: block; text-align: center; margin-top: 16px; }
  .phones .phone { height: 480px; }
}

/* טלפון */
.phone {
  width: min(340px, 100%); margin-inline: auto; border-radius: 34px; background: #EFE7DA;
  border: 10px solid var(--black); overflow: hidden; display: flex; flex-direction: column; height: 520px;
  box-shadow: 0 24px 50px rgba(28, 26, 23, .18);
}
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
.phone-top b { display: block; font-size: 15px; line-height: 1.2; }
.phone-top small { color: var(--muted); font-size: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); position: relative; flex: none; }
.avatar::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--black); }
.chat { list-style: none; padding: 14px 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.msg {
  max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; font-size: 14.5px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06); animation: pop .35s var(--ease);
}
.msg time { display: block; text-align: left; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--white); border-start-start-radius: 4px; }
.msg.out { align-self: flex-end; background: #FFF4BF; border-start-end-radius: 4px; }
.chat .bot-row { display: flex; align-items: flex-end; gap: 6px; align-self: flex-end; max-width: 88%; animation: pop .35s var(--ease); }
.bot-row .msg { max-width: none; animation: none; border-end-end-radius: 4px; border-start-end-radius: 14px; }
.bot-ava { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.bot-ava svg { width: 22px; height: 22px; }
.msg.sys { align-self: center; background: rgba(255, 255, 255, .7); font-size: 12px; color: var(--muted); box-shadow: none; text-align: center; }
.msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.replay { border: 0; background: var(--white); border-top: 1px solid var(--line); padding: 10px; font: 500 14px var(--b); cursor: pointer; color: var(--ink); }

/* זרימה */
.flow { position: relative; display: grid; gap: 14px; padding-inline-start: 4px; }
.flow::before { content: ""; position: absolute; inset-inline-start: 19px; top: 20px; bottom: 20px; width: 3px; background: var(--line); border-radius: 3px; }
.flow::after {
  content: ""; position: absolute; inset-inline-start: 19px; top: 20px; width: 3px; border-radius: 3px; background: var(--sun);
  height: calc((100% - 40px) * var(--p, 0)); transition: height .6s var(--ease);
}
.node {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px;
  opacity: .55; transition: opacity .4s, border-color .4s, transform .4s var(--ease);
}
.node .dot { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); border: 3px solid var(--cream); transition: background .4s; }
.node b { display: block; font-weight: 500; font-size: 16px; }
.node small { color: var(--muted); font-size: 13.5px; }
.node.on { opacity: 1; border-color: var(--sun); transform: translateX(-4px); }
.node.on .dot { background: var(--sun); }

/* יומן */
.agenda { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.agenda-head { padding: 14px 20px; background: var(--black); color: var(--cream); font-family: var(--h); font-size: 18px; }
.agenda ul { list-style: none; padding: 6px 0; }
.agenda li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.agenda li:last-child { border-bottom: 0; }
.agenda time { font-weight: 500; color: var(--coffee); }
.agenda em { font-style: normal; font-size: 13px; padding: 3px 10px; border-radius: 999px; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.agenda em.sent { opacity: 1; transform: none; background: var(--sand); }
.agenda em.ok { opacity: 1; transform: none; background: var(--sun); }

/* ---------- מחשבון ---------- */
.calc-section { background: var(--white); }
.calc { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; margin-top: 18px; }
.calc label:first-child { margin-top: 0; }
.calc output { font-family: var(--h); font-size: 22px; min-width: 2ch; text-align: center; }
.calc input[type="range"] { width: 100%; margin-top: 10px; accent-color: var(--black); height: 28px; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.calc-out div { background: var(--sun); border-radius: 18px; padding: 18px 20px; }
.calc-out b { display: block; font-family: var(--h); font-weight: 400; font-size: clamp(36px, 6vw, 52px); line-height: 1.05; }
.calc-out span { font-size: 15px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- איך זה עובד ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; margin-top: 36px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); font-family: var(--h); font-size: 22px; margin-bottom: 18px; }
.steps p { color: var(--ink); font-size: 16px; }

/* ---------- עליי ---------- */
.about { background: var(--sand); }
.about-inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 6vw, 70px); align-items: center; }
@media (max-width: 760px) { .about-inner { grid-template-columns: 1fr; } }
.about-mark { position: relative; background: var(--cream); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; max-width: 300px; }
.about-mark svg { width: 62%; fill: var(--sun); stroke: var(--sun); stroke-width: 6.5; }
.about-mark svg circle { stroke: none; }
.about-mark .rays { transform-origin: 50px 50px; animation: spin 120s linear infinite reverse; }
.years { position: absolute; bottom: 4%; inset-inline-start: -2%; background: var(--black); color: var(--cream); border-radius: 16px; padding: 10px 16px; font-size: 14px; line-height: 1.2; }
.years b { display: block; font-family: var(--h); font-weight: 400; font-size: 30px; color: var(--sun); }
.about-text { font-size: 18px; color: var(--ink); margin-top: 14px; }

/* ---------- שאלות ---------- */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--latte); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--h); font-size: 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-family: var(--b); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.faq details p { padding-bottom: 20px; color: var(--ink); }

/* ---------- סיום ---------- */
.final {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130'%3E%3Cg fill='%235A3A26'%3E%3Cellipse rx='9' ry='13' transform='translate(22 24) rotate(35)'/%3E%3Cellipse rx='8' ry='12' transform='translate(78 18) rotate(-50)'/%3E%3Cellipse rx='9' ry='13' transform='translate(112 62) rotate(80)'/%3E%3Cellipse rx='9.5' ry='13.5' transform='translate(48 66) rotate(-15)'/%3E%3Cellipse rx='8' ry='12' transform='translate(20 104) rotate(60)'/%3E%3Cellipse rx='9' ry='13' transform='translate(88 104) rotate(15)'/%3E%3C/g%3E%3C/svg%3E"),
    var(--coffee);
  color: var(--cream); padding: clamp(72px, 11vw, 130px) 0; text-align: center;
}
.final-inner { display: flex; flex-direction: column; align-items: center; }
.cup { width: 150px; margin-bottom: 26px; overflow: visible; }
.steam path { animation: steam 3.5s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: .6s; } .steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steam { 0%, 100% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(-10px); } }
.final h2 { font-size: clamp(34px, 6vw, 58px); margin-bottom: 18px; }
.final p { font-size: 19px; max-width: 520px; margin-bottom: 30px; color: #F1E8D8; }
.final .or-line { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 560px; margin: 40px 0 18px; font-size: 16px; color: var(--latte); }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: rgba(220, 198, 166, .4); }
.lead-card { width: 100%; max-width: 560px; background: var(--cream); color: var(--black); border-radius: 24px; padding: clamp(22px, 4vw, 34px); text-align: start; box-shadow: 0 24px 50px rgba(0, 0, 0, .22); }

/* ---------- טופס השארת פרטים ---------- */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
@media (max-width: 560px) { .lead-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span, .field legend { font-size: 15px; font-weight: 500; color: var(--black); padding: 0; }
.field i { font-style: normal; color: var(--coffee); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.field input, .field textarea {
  font: 400 16px var(--b); color: var(--black); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(255, 215, 0, .55); }
.field input::placeholder { color: #B9AD9C; }
.field.bad input { border-color: #C0492B; }
.err { color: #B23A1E; font-size: 13.5px; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips-pick label { position: relative; cursor: pointer; }
.chips-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-pick span { display: block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 15px; transition: background .2s, border-color .2s; }
@media (max-width: 560px) { .chips-pick { gap: 6px; } .chips-pick span { padding: 7px 12px; font-size: 14.5px; } }
.chips-pick input:checked + span { background: var(--sun); border-color: var(--sun); font-weight: 500; }
.chips-pick input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lead-submit { margin-top: 22px; width: 100%; justify-content: center; }
.lead-submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.lead-form p.lead-note { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; text-align: center; max-width: none; }
.lead-form p.lead-status { font-size: 15px; margin: 6px 0 0; text-align: center; max-width: none; color: #B23A1E; }
.lead-form p.lead-status:empty { display: none; }
.lead-status a { color: inherit; font-weight: 500; }
.lead-done { text-align: center; padding: 14px 0 6px; animation: fade .45s var(--ease); }
.lead-done svg { width: 64px; margin: 0 auto 14px; }
.lead-done h3 { font-family: var(--h); font-size: 24px; margin-bottom: 6px; color: var(--black); }
.lead-done p { color: var(--ink); font-size: 17px; margin: 0 auto; }

/* ---------- פופאפ ---------- */
.lead-modal {
  margin: auto;   /* the global reset zeroes the dialog's own centering margin */
  border: 0; border-radius: 26px; padding: clamp(26px, 5vw, 38px); background: var(--cream); color: var(--black);
  width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  box-shadow: 0 30px 80px rgba(28, 26, 23, .35);
}
.lead-modal[open] { animation: pop .35s var(--ease); }
.lead-modal::backdrop { background: rgba(28, 26, 23, .55); backdrop-filter: blur(3px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.lead-modal h2 { font-family: var(--h); font-size: clamp(26px, 4vw, 32px); line-height: 1.2; margin: 0 0 8px; padding-inline-end: 40px; }
.lead-intro { color: var(--ink); font-size: 16.5px; margin-bottom: 20px; }
.lead-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; display: grid; place-items: center; }
.lead-close:hover { background: var(--latte); }
.lead-close svg { width: 20px; height: 20px; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; }
.lead-alt { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.lead-alt a { color: var(--black); font-weight: 500; }
html.modal-open { overflow: hidden; }

/* ---------- תחתית ---------- */
.site-footer { background: var(--cream); padding: 44px 0 100px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--muted); font-size: 15px; }
.footer-inner img { width: 130px; margin-bottom: 8px; }
.footer-inner a { text-decoration: none; color: var(--black); font-weight: 500; }
.footer-tag { font-family: var(--h); color: var(--black); }

/* ---------- כפתור צף ---------- */
/* WhatsApp: always available while scrolling, on every screen size */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 16px;
  width: 60px; height: 60px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: 0 8px 22px rgba(28, 26, 23, .22);
  transform: translateY(140%); transition: transform .4s var(--ease), box-shadow .25s;
}
.wa-float:hover { box-shadow: 0 14px 32px rgba(37, 211, 102, .45); }
.wa-float:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.wa-ico { width: 32px; height: 32px; display: block; }
.wa-float.show { transform: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-ping 3s ease-out infinite 2s; }
@keyframes wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 60%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
.wa-float span { display: none; }   /* round, icon-only on every screen; the link keeps its aria-label */

/* minutes shown as a clock (mm:ss), same look as the other numbers */
.calc output.lcd { direction: ltr; font-variant-numeric: tabular-nums; }

/* pointing-hand hints */
.switch, .slider-wrap { position: relative; }
.hint-hand { position: absolute; width: 38px; height: 46px; pointer-events: none; z-index: 2; filter: drop-shadow(0 3px 4px rgba(28, 26, 23, .3)); }
.hint-hand svg { width: 100%; height: 100%; display: block; }
.hint-hand i { position: absolute; top: 2px; left: 11px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--black); opacity: 0; }
.switch .hint-hand { top: 62%; inset-inline-start: 18px; animation: hint-tap 2.6s ease-in-out infinite; }
.slider-wrap .hint-hand { top: 55%; transform: translateX(-12px); animation: hint-drag 3.4s ease-in-out infinite; }
.hint-hand i { animation: hint-ring 2.6s ease-out infinite; }
.slider-wrap .hint-hand i { animation-duration: 3.4s; }
.hint-hand.gone { display: none; }
@keyframes hint-tap {
  0% { opacity: 0; transform: translate(18px, 26px); } 15% { opacity: 1; transform: translate(0, 0); }
  30% { transform: translate(0, 0) scale(.88); } 38% { transform: translate(0, 0) scale(1); }
  75% { opacity: 1; transform: translate(0, 0); } 90%, 100% { opacity: 0; transform: translate(10px, 14px); }
}
@keyframes hint-ring { 0%, 28% { opacity: 0; transform: scale(.4); } 32% { opacity: 1; } 55%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes hint-drag {
  0% { opacity: 0; transform: translate(-12px, 20px); } 12% { opacity: 1; transform: translate(-12px, 0); }
  22% { transform: translate(-12px, 0) scale(.9); } 50% { transform: translate(-60px, 0) scale(.9); }
  70% { transform: translate(-12px, 0) scale(.9); } 80% { opacity: 1; transform: translate(-12px, 0); } 92%, 100% { opacity: 0; transform: translate(-12px, 20px); }
}

/* ---------- כניסה בגלילה ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.services .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.services .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chips li { opacity: 1; position: static; margin: 6px auto; width: fit-content; }
  .chips { position: static; }
  html { scroll-behavior: auto; }
  .agent-bubble.b1 { opacity: 1; } .agent-bubble.b2 { display: none; }
  .hint-hand { display: none; }
}
