/* בתיה סריקוב — אתר חדש | v0.1
   Warm, approachable, RTL-first. Vanilla CSS, no build step. */

:root {
  --color-primary: #c97b5c;
  --color-primary-dark: #a85d42;
  --color-secondary: #3a6b63;
  --color-secondary-light: #e8f0ee;
  --color-bg: #fff8f3;
  --color-bg-alt: #fdeee4;
  --color-text: #2e2a28;
  --color-text-light: #6b6460;
  --color-white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(60, 40, 30, 0.08);
  --max-width: 1080px;
  --font: "Heebo", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 17px;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(28px, 5vw, 42px); }
h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin-bottom: 14px; }

/* --- Header / Nav --- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid #f0e4da;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav__brand { font-size: 20px; font-weight: 700; color: var(--color-secondary); }
.nav__brand span { color: var(--color-primary); }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a { color: var(--color-text); font-weight: 500; }
.nav__cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
}
.nav__cta:hover { background: var(--color-primary-dark); }
.nav__toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; }

@media (max-width: 760px) {
  .nav__links { display: none; position: absolute; top: 100%; inset-inline-start: 0; inset-inline-end: 0; background: var(--color-white); flex-direction: column; padding: 16px 20px; gap: 16px; border-bottom: 1px solid #f0e4da; }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: block; }
}

/* --- Hero --- */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__eyebrow { color: var(--color-secondary); font-weight: 700; margin-bottom: 10px; }
.hero__tagline {
  display: inline-block;
  background: var(--color-secondary-light);
  color: var(--color-secondary);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  margin: 20px 0;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero__card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 16px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-primary); color: var(--color-white); }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--secondary { background: var(--color-white); color: var(--color-secondary); border: 2px solid var(--color-secondary); }
.btn--secondary:hover { background: var(--color-secondary-light); }
.btn--block { display: block; width: 100%; text-align: center; }

/* --- Sections --- */
.section { padding: 64px 0; }
.section--alt { background: var(--color-white); }
.section__intro { max-width: 640px; margin-bottom: 36px; }
.section__intro p { color: var(--color-text-light); }

/* --- Cards / grids --- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.card--muted { background: var(--color-bg-alt); box-shadow: none; }
.card__icon { font-size: 28px; margin-bottom: 12px; }

/* --- Quote / case study --- */
.quote {
  border-right: 4px solid var(--color-primary);
  padding: 4px 20px;
  font-size: 19px;
  font-style: normal;
  color: var(--color-secondary);
  margin: 20px 0;
}

/* --- Seminar highlight box --- */
.seminar-box {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
}
.seminar-box h2, .seminar-box h3 { color: var(--color-white); }
.seminar-box .btn--primary { background: var(--color-white); color: var(--color-secondary); }
.seminar-box .btn--primary:hover { background: #f0e4da; }

/* --- Forms --- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form input, .form textarea {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #ddd0c5;
  font-family: var(--font);
  font-size: 16px;
  background: var(--color-white);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--color-secondary); }
.form__status { font-size: 14px; min-height: 20px; }
.form__status--ok { color: var(--color-secondary); }
.form__status--err { color: #b23b3b; }

/* --- Footer --- */
.site-footer {
  background: var(--color-secondary);
  color: #e8f0ee;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: var(--color-white); }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__note { font-size: 13px; opacity: 0.75; margin-top: 24px; }

/* --- Chat widget --- */
#chat-bubble {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 200;
  border: none;
}
#chat-panel {
  position: fixed;
  bottom: 94px;
  left: 22px;
  width: 320px;
  max-width: calc(100vw - 44px);
  height: 420px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
}
#chat-panel.is-open { display: flex; }
#chat-panel__header { background: var(--color-secondary); color: var(--color-white); padding: 14px 18px; font-weight: 700; }
#chat-panel__messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; }
.chat-msg--bot { background: var(--color-bg-alt); align-self: flex-start; }
.chat-msg--user { background: var(--color-secondary-light); align-self: flex-end; }
#chat-panel__form { display: flex; border-top: 1px solid #f0e4da; }
#chat-panel__input { flex: 1; border: none; padding: 12px 14px; font-family: var(--font); font-size: 14px; }
#chat-panel__input:focus { outline: none; }
#chat-panel__send { background: var(--color-primary); color: var(--color-white); border: none; padding: 0 18px; cursor: pointer; font-weight: 700; }
