/* Dai Kinim / דאי כינים — one-page site */
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #0f7a6c;
  --teal-dark: #0a534a;
  --teal-deep: #083f38;
  --teal-soft: #e7f4f1;
  --ink: #14302c;
  --muted: #4a635f;
  --line: #d5e5e1;
  --bg: #f7faf8;
  --card: #ffffff;
  --whatsapp: #1f9b4c;
  --whatsapp-hover: #187a3c;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(10, 83, 74, 0.08);
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal); }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--teal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-he { font-weight: 700; font-size: 1.15rem; color: var(--teal-dark); }
.brand-en { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }

nav { display: flex; align-items: center; gap: 0.35rem 1rem; flex-wrap: wrap; }
nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
nav a:hover { color: var(--teal); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--whatsapp);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.nav-cta:hover { background: var(--whatsapp-hover); }

/* Hero */
.hero {
  padding: 2.75rem 0 2.25rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.3fr 0.9fr; gap: 3rem; }
}
.eyebrow {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--teal-deep);
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 36rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  min-height: 48px;
}
.btn-wa {
  background: var(--whatsapp);
  color: #fff !important;
}
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-ghost {
  background: transparent;
  color: var(--teal-dark) !important;
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--teal-soft); }
.phone-line {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.phone-line a { font-weight: 700; color: var(--teal-dark); text-decoration: none; font-size: 1.15rem; letter-spacing: 0.02em; }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
}
.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--teal-dark);
}
.hero-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.hero-card li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.hero-card li:first-child { border-top: 0; padding-top: 0; }
.hero-card li::before {
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card strong { display: block; color: var(--ink); }
.hero-card span { color: var(--muted); font-size: 0.95rem; }

/* Sections */
section { padding: 2.25rem 0; }
.section-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--teal-deep);
}
.section-intro { margin: 0 0 1.5rem; color: var(--muted); max-width: 40rem; }

.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.card .num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  margin-inline-end: auto;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

.area {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
}
.area h2 { color: #fff; margin: 0 0 0.5rem; }
.area p { margin: 0; color: #e4f3ef; max-width: 40rem; }

.contact-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
}
.contact-item:hover { border-color: var(--teal); }
.contact-item .icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .icon svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.contact-item strong { display: block; }
.contact-item span { color: var(--muted); font-size: 0.95rem; }

/* English */
.en-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.4rem 2rem;
  box-shadow: var(--shadow);
}
.en-block h2 { margin-top: 0; }
.en-block h3 { margin-bottom: 0.35rem; color: var(--teal-dark); }
.en-steps { display: grid; gap: 0.8rem; margin: 1rem 0 1.25rem; }
@media (min-width: 720px) {
  .en-steps { grid-template-columns: repeat(3, 1fr); }
}
.en-steps div {
  background: var(--bg);
  border-radius: 14px;
  padding: 1rem;
}
.en-steps p { margin: 0; color: var(--muted); }

/* Privacy */
.privacy {
  color: var(--muted);
}
.privacy h2 { color: var(--teal-deep); }
.privacy p, .privacy li { max-width: 48rem; }
.privacy ul { padding-inline-start: 1.2rem; }

/* Footer */
footer {
  background: var(--teal-deep);
  color: #d7ece8;
  padding: 2rem 0 2.4rem;
  margin-top: 1rem;
}
footer .wrap { display: grid; gap: 0.5rem; }
.footer-name { color: #fff; font-weight: 700; font-size: 1.15rem; margin: 0; }
footer p { margin: 0; }
footer a { color: #fff; }
.legal { font-size: 0.92rem; line-height: 1.65; }
footer .legal[dir="ltr"] {
  margin-inline-start: auto;
  width: max-content;
}

.icon-wa { width: 1.15em; height: 1.15em; fill: currentColor; }

@media (max-width: 640px) {
  nav .hide-sm { display: none; }
  .hero { padding-top: 1.75rem; }
  .brand-en { display: none; }
}


/* Language bar */
.lang-bar {
  background: var(--teal-deep);
}
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.4rem 0;
  direction: ltr;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  color: #e4f3ef;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  border: 1px solid transparent;
  line-height: 1.2;
}
.lang-switch a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.lang-switch a[aria-current="true"] {
  background: #fff;
  color: var(--teal-deep);
  font-weight: 700;
}
.lang-switch .code {
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-inline-end: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.85;
}
.lang-switch a[aria-current="true"] .code { opacity: 1; }

/* EN + FR supplement on the Hebrew default page */
.alt-langs {
  display: grid;
  gap: 1rem;
  direction: ltr;
}
@media (min-width: 860px) {
  .alt-langs { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
.lang-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem 1.3rem 1.6rem;
  box-shadow: var(--shadow);
}
.lang-card h2 { margin-top: 0; }
.lang-card h3 { margin-bottom: 0.35rem; color: var(--teal-dark); }
.lang-card .en-steps { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin: 1rem 0 1.25rem; }
.lang-card .en-steps div {
  background: var(--bg);
  border-radius: 14px;
  padding: 1rem;
}
.lang-card .en-steps p { margin: 0; color: var(--muted); }
html[data-lang]:not([data-lang="he"]) .alt-langs-section,
html[data-lang]:not([data-lang="he"]) .privacy-extra {
  display: none;
}

@media (min-width: 641px) {
  .lang-switch .code { display: none; }
}
@media (max-width: 640px) {
  .lang-switch a { font-size: 0.8rem; padding: 0.2rem 0.5rem; }
  .lang-switch .name { display: none; }
  .lang-switch .code { margin: 0; opacity: 1; font-size: 0.85rem; }
}

.privacy-legal {
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 0.8rem;
}
