/* =====================================================================
   בינה בתנועה — one-page site
   Tokens
   ===================================================================== */
:root {
  --paper: #F5F7F5;        /* page background, cool off-white */
  --paper-deep: #E9EEEB;   /* quiet surface */
  --mist: #CFD9D4;         /* borders, busy hours */
  --ink: #17202A;          /* text */
  --ink-soft: #4B5861;     /* secondary text */
  --pine: #0E6652;         /* primary action, from the logo */
  --pine-deep: #0A4D3E;
  --sun: #FFC84A;          /* freed hours */
  --sun-deep: #E8A81C;

  --font: "Rubik", "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --measure: 36rem;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
}


/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-weight: 700; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); }
h2 { font-weight: 700; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--pine); color: #fff;
  font: inherit; font-weight: 600; font-size: 1.05rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--pine-deep); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-whatsapp { background: #1E9E6A; }
.btn-whatsapp:hover { background: #157A51; }
.link-quiet {
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: .25em;
  text-decoration-color: var(--mist); font-weight: 500;
}
.link-quiet:hover { color: var(--ink); text-decoration-color: var(--pine); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--mist) 60%, transparent);
}
.top-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: .7rem var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { height: 42px; width: auto; display: block; }
.top-nav { display: flex; gap: 1.6rem; justify-content: center; }
.top-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .98rem; white-space: nowrap; }
.top-nav a:hover { color: var(--ink); }
.top .btn-small { justify-self: end; }
@media (max-width: 900px) {
  .top-inner { grid-template-columns: auto 1fr; }
  .top-nav { display: none; }
  .brand img { height: 32px; }
}

/* ---------- layout ---------- */
main { display: block; }
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter) 0;
}
.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }
.big-p { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); font-weight: 400; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head-row > div { max-width: var(--measure); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-text { max-width: 34rem; }
.hero h1 { margin-bottom: 1.4rem; }
.lede { font-size: 1.25rem; line-height: 1.55; margin-bottom: .9rem; }
.lede-small { color: var(--ink-soft); font-weight: 500; margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } .hero-text { max-width: var(--measure); } }

/* ---------- the calculator ---------- */
.calc {
  background: var(--paper-deep);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid; gap: 1.2rem;
}
.calc-title { font-weight: 600; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: inherit; font-size: .92rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .55rem .5rem .9rem;
  border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--mist);
  transition: border-color .2s, background .2s, color .2s;
}
.chip span {
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-deep); padding: .1rem .5rem; border-radius: 999px;
}
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] span { background: var(--sun); color: var(--ink); }

.week { display: grid; gap: .5rem; }
.week-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; font-size: .8rem; color: var(--ink-soft); font-weight: 500; text-align: center; }
.week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; }
.day-col { display: grid; gap: .25rem; }
.cell {
  aspect-ratio: 3.4 / 1; border-radius: 5px; background: var(--mist);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.cell.free { background: var(--sun); transform: scale(1.04); }
.week-legend { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-soft); flex-wrap: wrap; }
.lg { width: 14px; height: 10px; border-radius: 3px; display: inline-block; background: var(--mist); }
.lg + .lg, .week-legend .lg-free { margin-inline-start: .8rem; }
.lg-free { background: var(--sun); }

.calc-result { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; border-top: 1px solid var(--mist); padding-top: 1rem; }
.calc-number { display: flex; align-items: baseline; gap: .5rem; white-space: nowrap; }
.calc-number span { font-size: 3rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }
.calc-number small { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.calc-note { color: var(--ink-soft); font-size: .98rem; line-height: 1.45; }
.calc-note strong { color: var(--ink); font-weight: 600; }

/* =====================================================================
   WHAT IS AN AGENT
   ===================================================================== */
.abilities {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 3rem;
  margin-bottom: 3rem;
}
.abilities li { display: grid; gap: .6rem; align-content: start; }
.abilities svg { width: 44px; height: 44px; stroke: var(--pine); fill: var(--pine); margin-bottom: .4rem; }
.abilities svg path { fill: none; }
.abilities p { color: var(--ink-soft); }
@media (max-width: 760px) { .abilities { grid-template-columns: 1fr; gap: 2rem; } }

.not-list {
  max-width: var(--measure);
  border-inline-start: 4px solid var(--sun);
  padding-inline-start: 1.25rem;
}
.not-list h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.not-list li { color: var(--ink-soft); }

/* =====================================================================
   DAY
   ===================================================================== */
.day-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
@media (max-width: 880px) { .day-layout { grid-template-columns: 1fr; gap: 3rem; } }

.timeline { position: relative; display: grid; gap: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; inset-block: .6rem; inset-inline-start: 4.1rem;
  width: 2px; background: var(--mist);
}
.timeline li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.6rem; align-items: start; }
.timeline time {
  font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
  position: relative; padding-top: .15rem;
}
.timeline time::after {
  content: ""; position: absolute; top: .55rem; inset-inline-end: -1.15rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--pine);
}
.timeline h3 { margin-bottom: .3rem; }
.timeline p { color: var(--ink-soft); }

.day-aside { position: sticky; top: 6rem; background: var(--ink); color: var(--paper); border-radius: 22px; padding: 2rem; }
.day-aside-label { font-weight: 600; color: var(--sun); margin-bottom: 1rem; }
.instead { display: grid; gap: .7rem; font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 1.8rem; }
.instead li { padding-inline-start: 1.2rem; position: relative; }
.instead li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--sun); }
.day-aside-fact { font-size: .9rem; color: color-mix(in srgb, var(--paper) 70%, transparent); line-height: 1.5; }

/* =====================================================================
   OPTIONS
   ===================================================================== */
.switch { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 500; font-size: .98rem; color: var(--ink-soft); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { width: 42px; height: 24px; border-radius: 999px; background: var(--mist); position: relative; transition: background .2s; flex: none; }
.switch-track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .switch-track { background: var(--pine); }
.switch input:checked + .switch-track::after { transform: translateX(-18px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--sun); outline-offset: 3px; }

.options { border-top: 1px solid var(--mist); }
.option {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: .6rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--mist);
}
.option-name { display: grid; gap: .35rem; align-content: start; }
.option-name h3 { font-size: 1.35rem; }
.tech {
  font-size: .85rem; color: var(--pine); font-weight: 500;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s var(--ease), opacity .3s;
}
.show-tech .tech { max-height: 3rem; opacity: 1; }
.option > p { grid-column: 2; }
.option .fit { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 760px) {
  .option { grid-template-columns: 1fr; gap: .5rem; padding: 1.6rem 0; }
  .option > p { grid-column: auto; }
}

/* =====================================================================
   PROCESS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { display: grid; gap: .5rem; align-content: start; position: relative; padding-top: 1rem; border-top: 2px solid var(--mist); }
.steps li::before { content: ""; position: absolute; top: -2px; inset-inline-start: 0; width: 2.5rem; height: 2px; background: var(--pine); }
.step-n { font-weight: 800; font-size: 2rem; line-height: 1; color: var(--pine); }
.steps p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { max-width: 44rem; border-top: 1px solid var(--mist); }
.faq details { border-bottom: 1px solid var(--mist); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.15rem;
  padding: 1.2rem 0 1.2rem 2.5rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: .4rem; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid var(--pine); border-bottom: 2px solid var(--pine);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details p { padding: 0 0 1.4rem; max-width: var(--measure); color: var(--ink-soft); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.section-contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem;
  align-items: start; padding-bottom: clamp(4rem, 9vw, 8rem);
}
.contact-text h2 { margin-bottom: 1rem; }
.contact-text .big-p { margin-bottom: 1.6rem; }
.contact-card {
  background: var(--paper-deep); border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: .6rem; justify-items: start;
}
.contact-number {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.contact-hint { color: var(--ink-soft); margin-bottom: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-call { background: var(--ink); }
.btn-call:hover { background: #2A3642; }
.btn svg { flex: none; }
@media (max-width: 880px) { .section-contact { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--mist); padding: 2rem var(--gutter); font-size: .9rem; color: var(--ink-soft); text-align: center; display: grid; gap: .8rem; justify-items: center; }
.foot-mark { height: 44px; width: auto; }
.foot a { color: inherit; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
