:root {
  --cream: #fff8f0;
  --cream-2: #ffefe0;
  --ink: #2b2118;
  --ink-soft: #6b5a4e;
  --coral: #ff6b4a;
  --coral-dark: #b8361a;      /* טקסט כתום על רקע בהיר – 5.5:1 */
  --coral-strong: #c93d1d;    /* רקע לטקסט לבן – 5:1 */
  --focus: #1d4ed8;
  --sun: #ffc93c;
  --mint: #0f7d68;
  --mint-soft: #d3f0ea;
  --pink: #ff8fa3;
  --pink-soft: #ffdce6;
  --lilac: #9b86ff;
  --lilac-soft: #e6e0ff;
  --sun-soft: #fff0bf;
  --card: #ffffff;
  --line: #f1e2d2;
  --wa: #0e7a3f;
  --wa-dark: #0a5c2f;
  --radius: 24px;
  --shadow: 0 10px 30px -12px rgba(110, 60, 20, 0.25);
  --shadow-lg: 0 24px 50px -18px rgba(110, 60, 20, 0.4);
  --font-head: 'Fredoka', 'Rubik', system-ui, sans-serif;
  --font-body: 'Rubik', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: absolute; top: 8px; right: 8px; z-index: 200; padding: 12px 20px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-150%); transition: transform .15s;
}
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: 8px 16px; font-size: .95rem; }
.btn--lg { padding: 15px 28px; font-size: 1.08rem; }
.btn--primary { background: var(--coral-strong); color: #fff; box-shadow: 0 8px 0 -2px #8f2a12, var(--shadow); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--coral); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--white { background: #fff; color: var(--coral-dark); box-shadow: var(--shadow); }
.btn--insta { background: linear-gradient(45deg, #c13584, #833ab4 55%, #5851db); color: #fff; }
.btn--tiktok { background: #111; color: #fff; box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
.wa-icon { width: 20px; height: 20px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 248, 240, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 226, 210, .7);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.logo__paw { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--coral); font-size: 1.3rem; transform: rotate(-8deg); box-shadow: 0 6px 0 -2px var(--coral-dark); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-soft); transition: background .15s, color .15s; }
.nav__links a:hover { background: var(--cream-2); color: var(--ink); }
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 80px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.blob--1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, #ffd6c4, #ffb79c 60%, transparent 70%); top: -160px; left: -120px; opacity: .7; }
.blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, #fff0bf, transparent 70%); bottom: -120px; right: 10%; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1.5px dashed var(--coral); color: var(--coral-dark); font-weight: 600; font-size: .92rem; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.5px; }
.squiggle { position: relative; color: var(--coral-dark); white-space: nowrap; }
.squiggle::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -10px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 9 Q 15 1 30 8 T 60 8 T 90 8 T 118 6' stroke='%23ffc93c' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; margin: 22px 0 28px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 14px; margin: 36px 0 0; flex-wrap: wrap; }
.stat { background: #fff; border-radius: 18px; padding: 12px 20px; box-shadow: var(--shadow); min-width: 120px; }
.stat dt { font-size: .88rem; color: var(--ink-soft); }
.stat dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--coral-dark); line-height: 1.1; }

.hero__art { position: relative; height: 500px; }
.polaroid {
  position: absolute; width: 58%; padding: 12px 12px 48px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); text-decoration: none; cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.3);
  animation: float 6s ease-in-out infinite;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--cream-2); }
.polaroid span { position: absolute; bottom: 10px; inset-inline: 0; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.polaroid:nth-child(1) { top: 10px; right: 2%; --r: 6deg; transform: rotate(var(--r)); z-index: 2; }
.polaroid:nth-child(2) { top: 70px; left: 0; --r: -7deg; transform: rotate(var(--r)); z-index: 1; animation-delay: -2s; }
.polaroid:nth-child(3) { top: 190px; right: 22%; --r: -2deg; transform: rotate(var(--r)); z-index: 3; animation-delay: -4s; width: 50%; }
.polaroid:hover { z-index: 5; transform: rotate(0) scale(1.05); animation-play-state: paused; }
.hero__art .heart { position: absolute; font-size: 2rem; animation: float 4s ease-in-out infinite; z-index: 4; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 860px) {
  .hero { padding: 32px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { height: 360px; max-width: 440px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) { .hero__art { height: 300px; } .stat { min-width: 0; flex: 1; padding: 10px 14px; } .stat dd { font-size: 1.6rem; } }

/* ---------- marquee ---------- */
main { overflow-x: clip; }
.marquee { background: var(--ink); color: var(--sun); overflow: hidden; padding: 14px 0; }
.marquee__track span { padding-inline: 24px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--cream-2); background-image: radial-gradient(rgba(255, 107, 74, .08) 2px, transparent 2px); background-size: 26px 26px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section__sub { color: var(--ink-soft); margin: 12px 0 0; font-size: 1.08rem; }
@media (max-width: 600px) { .section { padding: 60px 0; } }

/* ---------- filters ---------- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 500; color: var(--ink-soft); transition: all .15s; }
.chip:hover { border-color: var(--coral); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search input { width: 240px; max-width: 100%; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; }
.search input:focus { outline: none; border-color: var(--coral); }
@media (max-width: 600px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search, .search input { width: 100%; }
}

/* ---------- filter bar ---------- */
.filterbar {
  display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(120px, 1fr)) auto; gap: 10px; align-items: end;
  background: #fff; padding: 14px; border-radius: 26px; box-shadow: var(--shadow);
}
.fsearch input, .fselect select {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--cream);
  font: inherit; color: var(--ink); transition: border-color .15s, background .15s;
}
.fsearch input:focus, .fselect select:focus { outline: none; border-color: var(--coral); background: #fff; }
.fselect { display: flex; flex-direction: column; gap: 4px; }
.fselect > span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); padding-inline-start: 6px; }
.fselect select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 38px; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23e24f2e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 12px; background-position: left 14px center;
}
.fselect select.is-set { border-color: var(--coral); background-color: #fff4ee; color: var(--coral-dark); }
.ffav { height: 48px; padding: 0 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--cream); font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: all .15s; }
.ffav:hover { border-color: var(--pink); }
.ffav[aria-pressed="true"] { background: var(--pink-soft); border-color: var(--pink); color: #c2185b; }
.filter-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin: 14px 4px 18px; color: var(--ink-soft); font-weight: 500; }
.fclear { border: 0; background: var(--ink); color: #fff; padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.fclear:hover { background: var(--coral-dark); }
@media (max-width: 1000px) {
  .filterbar { grid-template-columns: repeat(4, 1fr); }
  .fsearch { grid-column: 1 / -2; }
}
@media (max-width: 600px) {
  .filterbar { grid-template-columns: 1fr 1fr; padding: 12px; gap: 8px; border-radius: 22px; }
  .fsearch { grid-column: 1 / -1; }
  .ffav { grid-column: 1 / -1; }
}

/* ---------- dog cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; text-align: start; border: 0; padding: 0;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), box-shadow .25s;
  animation: pop .45s backwards cubic-bezier(.2, .9, .3, 1.2);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.card:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.card__photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--cream-2); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__photo img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; right: 14px; padding: 5px 12px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .85rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
.badge--adopted { background: var(--mint); color: #fff; }
.fav {
  position: absolute; top: 10px; left: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); font-size: 1.25rem; display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12); transition: transform .2s;
}
.fav:hover { transform: scale(1.12); }
.fav.is-on { animation: beat .4s; }
@keyframes beat { 50% { transform: scale(1.35); } }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__name { font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sex { font-size: 1rem; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-family: var(--font-body); }
.sex--male { background: #2f7fd6; }
.sex--female { background: #d6336c; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--cream); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; font-size: .86rem; color: var(--ink-soft); }
.card__desc { margin: 0; color: var(--ink-soft); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__cta { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--coral-dark); }
.card__link { background: none; border: 0; padding: 6px 0 0; text-align: start; font: inherit; font-weight: 600; cursor: pointer; }
.card__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.fav { z-index: 2; }
.card--adopted .card__photo::after { content: '🏡'; position: absolute; bottom: 12px; left: 12px; font-size: 1.8rem; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .2)); }
.empty { text-align: center; color: var(--ink-soft); font-size: 1.1rem; padding: 32px; background: #fff; border-radius: var(--radius); border: 2px dashed var(--line); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: -14px; left: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.step__icon { font-size: 2.6rem; display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.4rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- instagram ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.insta-grid .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; border-radius: 18px !important; box-shadow: var(--shadow) !important; }
.insta-placeholder { aspect-ratio: 4 / 5; border-radius: 18px; background: #fff; display: grid; place-items: center; color: var(--ink-soft); box-shadow: var(--shadow); text-decoration: none; font-weight: 500; }

/* ---------- help ---------- */
.help { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.help__card { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: transform .2s; }
.help__card:hover { transform: translateY(-5px) rotate(-1deg); }
.help__card h3 { font-size: 1.5rem; }
.help__card p { margin: 0; color: var(--ink-soft); flex: 1; }
.help__icon { font-size: 2.4rem; }
.help__go { font-weight: 600; }
.help__card--sun { background: var(--sun-soft); }
.help__card--mint { background: var(--mint-soft); }
.help__card--pink { background: var(--pink-soft); }
.help__card--lilac { background: var(--lilac-soft); }
@media (max-width: 900px) { .help { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .help { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { padding: 0 0 88px; }
.cta__inner {
  background: var(--coral-strong); color: #fff; border-radius: 36px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background-image: radial-gradient(rgba(255, 255, 255, .15) 3px, transparent 3px); background-size: 30px 30px; box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta p { margin: 8px 0 0; max-width: 36em; opacity: .95; font-size: 1.08rem; }
@media (max-width: 600px) { .cta__inner { padding: 32px 24px; border-radius: 28px; } .cta .btn { width: 100%; white-space: normal; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #f6e9dc; padding: 48px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.logo--footer { font-size: 1.3rem; }
.footer__about { max-width: 36em; opacity: .8; margin: 12px 0 0; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links strong { color: var(--sun); font-family: var(--font-head); margin-bottom: 2px; }
.footer__links a { text-decoration: none; opacity: .9; cursor: pointer; }
.footer__links a:hover { color: var(--sun); }
.footer__admin { font-size: .85rem; opacity: .75 !important; }
.footer__copy { text-align: center; opacity: .8; font-size: .9rem; margin: 32px 0 0; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 50; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .7);
  animation: wa-pulse 2.4s infinite; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 34px; height: 34px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- modal ---------- */
.modal { width: min(980px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 30px; background: var(--cream); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.modal::backdrop { background: rgba(43, 33, 24, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal__close { position: sticky; top: 14px; display: block; margin: 14px 14px -56px; margin-inline-start: auto; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 1.1rem; }
.modal__body { display: grid; grid-template-columns: 1fr 1fr; }
.gallery { padding: 18px; }
.gallery__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; background: var(--cream-2); }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; background: none; }
.gallery__thumbs button.is-active { border-color: var(--coral); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.details { padding: 28px 28px 32px 18px; display: flex; flex-direction: column; gap: 16px; }
.details h2 { font-size: 2.6rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.details__status { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--sun); font-weight: 600; font-size: .95rem; }
.details__status--adopted { background: var(--mint); color: #fff; }
.details p { margin: 0; white-space: pre-line; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: .95rem; background: #fff; padding: 8px 12px; border-radius: 12px; }
.checks .yes::before { content: '✓'; color: var(--mint); font-weight: 700; }
.checks .no::before { content: '✗'; color: var(--coral); font-weight: 700; }
.traits { display: flex; flex-wrap: wrap; gap: 8px; }
.traits span { background: var(--lilac-soft); color: #4b3aa8; padding: 4px 12px; border-radius: 999px; font-weight: 500; font-size: .9rem; }
.story { background: var(--mint-soft); border-radius: 18px; padding: 16px 18px; }
.details__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.details__actions .btn { width: 100%; white-space: normal; text-align: center; }
.modal__insta { grid-column: 1 / -1; padding: 0 18px 24px; display: flex; justify-content: center; }
.modal__insta .instagram-media { max-width: 480px !important; width: 100% !important; }
@media (max-width: 760px) {
  .modal { border-radius: 24px; }
  .modal__body { grid-template-columns: 1fr; }
  .details { padding: 4px 20px 24px; }
  .details h2 { font-size: 2.1rem; }
}

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 100; animation: pop .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- accessibility menu ---------- */
.a11y-toggle {
  position: fixed; bottom: 20px; right: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff;
  background: var(--focus); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(29, 78, 216, .7); transition: transform .2s;
}
.a11y-toggle:hover { transform: scale(1.08); }
.a11y-toggle svg { width: 32px; height: 32px; }
.a11y-panel {
  position: fixed; bottom: 90px; right: 20px; z-index: 61; width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); overflow: auto;
  background: #fff; color: #1a1a1a; border-radius: 24px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .45); border: 2px solid #1a1a1a;
  font-family: var(--font-body); font-size: 16px;
}
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--focus); color: #fff; border-radius: 22px 22px 0 0; }
.a11y-panel__head h2 { font-size: 1.15rem; font-family: var(--font-head); }
.a11y-panel__close { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; font-size: 1rem; }
.a11y-panel__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f3f4f6; border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.a11y-size__btns { display: flex; align-items: center; gap: 8px; }
.a11y-size button { width: 40px; height: 40px; border-radius: 10px; border: 2px solid #1a1a1a; background: #fff; font-weight: 700; font-size: 1rem; }
.a11y-size output { min-width: 48px; text-align: center; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; border: 2px solid #d1d5db; background: #fff; color: #1a1a1a; font-weight: 600; font-size: .9rem; text-align: center; }
.a11y-opt span { font-size: 1.3rem; line-height: 1; }
.a11y-opt[aria-pressed="true"] { border-color: var(--focus); background: #e0e7ff; color: #1e3a8a; }
.a11y-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.a11y-reset { border: 2px solid #1a1a1a; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.a11y-panel__foot a { color: #1e3a8a; font-weight: 600; }
@media (max-width: 600px) { .a11y-toggle { width: 52px; height: 52px; bottom: 16px; right: 16px; } .a11y-panel { right: 16px; bottom: 80px; } }

/* מצבי נגישות */
html.a11y-contrast {
  --cream: #fff; --cream-2: #fff; --ink: #000; --ink-soft: #000; --line: #000; --coral-dark: #8a1c00; --coral-strong: #8a1c00;
  --mint: #00594a; --mint-soft: #fff; --sun-soft: #fff; --pink-soft: #fff; --lilac-soft: #fff; --wa: #00591f;
}
html.a11y-contrast body, html.a11y-contrast .section--tint, html.a11y-contrast .nav { background: #fff; background-image: none; }
html.a11y-contrast .blob, html.a11y-contrast .hero__art .heart { display: none; }
html.a11y-contrast :is(.card, .step, .stat, .help__card, .filterbar, .legal-card, .legal-toc, .empty, .fsearch input, .fselect select, .chip, .ffav, .facts li, .traits span, .checks li) { border: 2px solid #000 !important; box-shadow: none !important; }
html.a11y-contrast .footer { background: #000; }
html.a11y-gray :is(header, main, footer, .wa-float) { filter: grayscale(1); }
html.a11y-links a:not(.btn), html.a11y-links .card__link { text-decoration: underline !important; text-underline-offset: 3px; background: #fff59d; color: #000 !important; }
html.a11y-links :is(.btn, .help__card, .polaroid) { outline: 3px solid var(--focus); outline-offset: 2px; }
html.a11y-font, html.a11y-font * { font-family: Arial, 'Segoe UI', Helvetica, sans-serif !important; letter-spacing: .01em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-7 1 4 7-3 1-4-7-5 5z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important;
}

/* ---------- privacy notice ---------- */
.notice {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 55; width: min(640px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.notice p { margin: 0; font-size: .92rem; line-height: 1.5; flex: 1; }
.notice a { color: var(--sun); font-weight: 600; }
.notice button { flex: none; border: 0; border-radius: 999px; padding: 9px 18px; background: var(--sun); color: var(--ink); font-weight: 700; }
@media (max-width: 600px) { .notice { bottom: 84px; flex-direction: column; align-items: stretch; text-align: center; } }

/* ---------- legal pages ---------- */
.legal-hero { position: relative; overflow: hidden; padding: 56px 0 48px; text-align: center; }
.legal-hero::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, #ffd6c4, transparent 70%); top: -260px; left: -120px; z-index: -1; }
.legal-hero__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: #fff; font-size: 2.6rem; box-shadow: var(--shadow); margin-bottom: 16px; transform: rotate(-6deg); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero__lead { max-width: 640px; margin: 14px auto 0; color: var(--ink-soft); font-size: 1.1rem; }
.legal-hero__meta { display: inline-block; margin-top: 16px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding-bottom: 88px; }
.legal-toc { position: sticky; top: 88px; background: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow); }
.legal-toc strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--coral-dark); text-decoration: underline; }
.legal-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.legal-card { background: #fff; border-radius: 24px; padding: 26px 30px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.legal-card h2 { font-size: 1.5rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.legal-card h2 .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); font-size: 1rem; flex: none; }
.legal-card h3 { font-size: 1.15rem; margin: 16px 0 6px; }
.legal-card p, .legal-card li { color: #3d3129; line-height: 1.75; }
.legal-card p { margin: 0 0 10px; }
.legal-card ul { margin: 0 0 10px; padding-inline-start: 22px; }
.legal-card li + li { margin-top: 4px; }
.legal-card a { color: var(--coral-dark); font-weight: 600; }
.legal-card--highlight { background: var(--mint-soft); }
.legal-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.legal-contact > div { background: var(--cream); border-radius: 16px; padding: 12px 16px; }
.legal-contact dt { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.legal-contact dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-card { padding: 22px 20px; }
}

/* =====================================================================
   מובייל (עד 640px) – כל ההתאמות לטלפון. במחשב שום דבר כאן לא חל.
   ===================================================================== */
.filter-toggle { display: none; }

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 24px; }
  .section__head h2 { font-size: 1.85rem; }
  .section__sub { font-size: 1rem; margin-top: 8px; }
  .btn--lg { padding: 13px 22px; font-size: 1.02rem; }

  /* hero */
  .hero { padding: 22px 0 36px; }
  .hero__inner { gap: 18px; text-align: center; }
  .hero h1 { font-size: 2.55rem; }
  .hero__lead { font-size: 1.04rem; margin: 14px auto 20px; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; }
  .stats { justify-content: center; gap: 10px; margin-top: 22px; }
  .stat { text-align: center; padding: 10px 8px; }
  .stat dt { font-size: .8rem; }
  .hero__art { height: 280px; max-width: 330px; }
  .polaroid { padding: 8px 8px 34px; border-radius: 14px; }
  .polaroid span { font-size: 1rem; bottom: 6px; }
  .marquee { padding: 10px 0; }
  .marquee__track { font-size: 1.05rem; }

  /* סינון: חיפוש + כפתור "סינון" שפותח את שאר האפשרויות */
  .filterbar { grid-template-columns: 1fr auto; padding: 10px; gap: 8px; border-radius: 20px; }
  .fsearch { grid-column: 1; }
  .fsearch input, .fselect select, .ffav { height: 46px; }
  .filter-toggle {
    display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border-radius: 16px;
    border: 2px solid var(--line); background: var(--cream); font-weight: 600; color: var(--ink); white-space: nowrap;
  }
  .filter-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .filter-toggle__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--coral-strong); color: #fff; font-size: .8rem; }
  .filterbar :is(.fselect, .ffav) { grid-column: 1 / -1; }
  .filterbar:not(.is-open) :is(.fselect, .ffav) { display: none; }
  .filterbar.is-open { grid-template-columns: 1fr 1fr; }
  .filterbar.is-open .fsearch { grid-column: 1; }
  .filterbar.is-open .filter-toggle { grid-column: 2; justify-self: end; }
  .filterbar.is-open .fselect { grid-column: auto; }
  .filter-status { margin: 10px 4px 14px; font-size: .95rem; }

  /* כרטיסי כלבים – שניים בשורה */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 18px; }
  .card:hover, .card:nth-child(even):hover { transform: none; box-shadow: var(--shadow); }
  .card:hover .card__photo img { transform: none; }
  .card__photo { aspect-ratio: 1 / 1.1; }
  .badge { top: 8px; right: 8px; padding: 3px 9px; font-size: .72rem; }
  .fav { top: 6px; left: 6px; width: 34px; height: 34px; font-size: 1rem; }
  .card__body { padding: 10px 12px 12px; gap: 6px; }
  .card__name { font-size: 1.22rem; gap: 6px; }
  .sex { width: 20px; height: 20px; font-size: .72rem; }
  .card .facts { gap: 4px; }
  .card .facts li { font-size: .74rem; padding: 1px 8px; }
  .card .facts li:nth-child(n + 3) { display: none; }
  .card__desc { display: none; }
  .card__cta { font-size: .86rem; line-height: 1.35; padding-top: 2px; }
  .card--adopted .card__photo::after { font-size: 1.4rem; bottom: 8px; left: 8px; }

  /* איך מאמצים – שורות קומפקטיות */
  .steps { gap: 14px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; padding: 16px 16px 16px 18px; border-radius: 20px; }
  .step__icon { grid-row: 1 / 3; font-size: 2.2rem; margin: 0; text-align: center; }
  .step h3 { font-size: 1.2rem; margin: 0; }
  .step p { font-size: .94rem; }
  .step::before { top: -9px; left: 12px; width: 28px; height: 28px; font-size: .85rem; }

  /* אינסטגרם – קרוסלה בהחלקה */
  .insta-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none;
  }
  .insta-grid::-webkit-scrollbar { display: none; }
  .insta-grid > * { flex: 0 0 84%; scroll-snap-align: center; }
  .center { margin-top: 18px; }
  .center .btn { flex: 1 1 100%; }

  /* איך עוזרים – שניים בשורה */
  .help { grid-template-columns: 1fr 1fr; gap: 12px; }
  .help__card { padding: 18px 14px; gap: 4px; border-radius: 20px; }
  .help__card:hover { transform: none; }
  .help__card h3 { font-size: 1.2rem; }
  .help__card p { font-size: .84rem; line-height: 1.45; }
  .help__icon { font-size: 1.9rem; }
  .help__go { font-size: .84rem; margin-top: 4px; }

  .cta { padding-bottom: 56px; }
  .cta h2 { font-size: 1.7rem; }
  .cta p { font-size: 1rem; }

  /* footer – מקום לכפתורים הצפים */
  .footer { padding: 36px 0 96px; }
  .footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
  .footer__copy { margin-top: 24px; font-size: .82rem; }
  [data-wa-display] { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }

  /* כפתורים צפים */
  .wa-float { width: 54px; height: 54px; bottom: 16px; left: 16px; }
  .wa-float svg { width: 30px; height: 30px; }

  /* חלון כלב – מסך מלא, וכפתור "אני רוצה לאמץ" תמיד גלוי */
  .modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .modal__close { margin: 12px 12px -54px; width: 42px; height: 42px; }
  .modal__body { padding-bottom: 92px; }
  .gallery { padding: 0; }
  .gallery__main { border-radius: 0; aspect-ratio: 1 / 1; }
  .gallery__thumbs { padding: 0 14px; }
  .details { padding: 18px 18px 8px; gap: 14px; }
  .details h2 { font-size: 2rem; }
  .checks { grid-template-columns: 1fr; }
  .details__cta {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 5; width: auto !important;
    box-shadow: 0 12px 30px -8px rgba(14, 122, 63, .6);
  }
  .modal__insta { padding: 0 14px 24px; overflow: hidden; }
  /* אינסטגרם כופה רוחב מינימלי לפוסט המוטמע – בטלפון מצמצמים אותו לרוחב המסך */
  .modal__insta :is(.instagram-media, iframe) { min-width: 0 !important; max-width: 100% !important; }
  .insta-grid iframe { min-width: 0 !important; }

  /* דפי מידע */
  .legal-hero { padding: 32px 0 28px; }
  .legal-hero__icon { width: 68px; height: 68px; font-size: 2.1rem; border-radius: 22px; }
  .legal-hero__lead { font-size: 1rem; }
  .legal-layout { gap: 14px; padding-bottom: 56px; }
  .legal-toc { padding: 16px 18px; border-radius: 18px; }
  .legal-card { padding: 20px 18px; border-radius: 20px; }
  .legal-card h2 { font-size: 1.3rem; }
  .legal-card p, .legal-card li { font-size: .97rem; line-height: 1.7; }
}
