/* Madbir4u — הדברה מקצועית */

:root {
  --navy: #17314E;
  --navy-700: #1E4068;
  --navy-50: #EEF3F8;
  --green: #4F9B2D;
  --green-700: #3B7F22;
  --green-50: #F1F8EC;
  --ink: #1B2430;
  --muted: #5B6875;
  --line: #E1E7EE;
  --bg: #FFFFFF;
  --bg-soft: #F7FAFC;
  --warn: #C2410C;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 49, 78, .06), 0 8px 24px rgba(23, 49, 78, .07);
  --shadow-lg: 0 2px 4px rgba(23, 49, 78, .07), 0 18px 48px rgba(23, 49, 78, .12);
  --wrap: 1140px;
  --ff: "Heebo", "Rubik", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }

section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
section.tight { padding: 52px 0; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid #DCEBD1;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- skip link ---------- */
.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 8px;
}
.skip:focus { inset-inline-start: 12px; }

/* ---------- top strip ---------- */
.topbar {
  background: var(--navy);
  color: #CFE0F0;
  font-size: .86rem;
  padding: 7px 0;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center; }
.topbar b { color: #fff; }
.topbar .sep { opacity: .35; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 40px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.5rem; font-weight: 800; color: var(--green-700); letter-spacing: -.02em; direction: ltr; }
.brand-sub { font-size: .7rem; font-weight: 600; color: var(--navy); letter-spacing: .02em; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 9px 13px; border-radius: 9px;
  font-size: .96rem; font-weight: 600; color: var(--navy);
}
.nav a:hover { background: var(--navy-50); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }

.header-cta { display: flex; gap: 9px; flex-shrink: 0; }

.burger {
  display: none; width: 46px; height: 42px; margin-inline-start: auto;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
.burger span { display: block; width: 21px; height: 2px; background: var(--navy); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 21px; height: 2px; background: var(--navy);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px; border: 1.5px solid transparent;
  font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(79, 155, 45, .28); }
.btn-primary:hover { background: var(--green-700); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1DB954; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-lg { padding: 15px 30px; font-size: 1.06rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 88% -10%, #E9F4E1 0%, transparent 62%),
    linear-gradient(180deg, #FBFDFA 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 68px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .hl { color: var(--green-700); }
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .93rem; font-weight: 600; color: var(--navy); }
.hero-badges span { display: flex; align-items: center; gap: 7px; }
.hero-badges .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero-card img { display: block; margin: 0 auto 14px; width: 100%; max-width: 280px; }
.hero-card .lic {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 4px;
  font-size: .9rem; font-weight: 600; color: var(--navy); text-align: center;
}
.hero-card .lic img { width: 40px; margin: 0; }

/* ---------- pest cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.pest-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.pest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #CFDDEA; text-decoration: none; }
.pest-card .ico {
  width: 62px; height: 62px; border-radius: 15px; background: var(--green-50);
  display: grid; place-items: center; color: var(--navy); margin-bottom: 16px;
  border: 1px solid #DCEBD1;
}
.pest-card .ico svg { width: 34px; height: 34px; }
.pest-card h3 { margin-bottom: .35em; }
.pest-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1em; }
.pest-card .more { margin-top: auto; font-weight: 700; color: var(--green-700); font-size: .95rem; }

/* ---------- feature list ---------- */
.feat { display: flex; gap: 14px; }
.feat .n {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
}
.feat h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feat p { color: var(--muted); font-size: .97rem; margin: 0; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B7F22' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid #DCEBD1;
}

.xlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.xlist li { display: flex; gap: 11px; align-items: flex-start; }
.xlist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%;
  background: #FEF2F2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid #FBD5C8;
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 2rem; font-weight: 800; color: var(--green-700); line-height: 1.2; }
.stat span { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- process ---------- */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -16px; inset-inline-end: 20px;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--green); color: #fff; display: grid; place-items: center;
  font-weight: 800; box-shadow: 0 4px 12px rgba(79, 155, 45, .3);
}
.step h3 { font-size: 1.08rem; margin: 8px 0 .3em; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); font-size: .97rem; }
thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .93rem; border-bottom: none; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
td strong { color: var(--navy); }

.note {
  background: var(--navy-50); border: 1px solid #D3E0EC; border-inline-start: 4px solid var(--navy);
  border-radius: var(--radius-sm); padding: 16px 20px; font-size: .96rem; color: var(--navy);
}
.note p:last-child { margin-bottom: 0; }

.warnbox {
  background: #FFF7ED; border: 1px solid #FBD5A5; border-inline-start: 4px solid #EA8C1C;
  border-radius: var(--radius-sm); padding: 16px 20px; font-size: .97rem;
}
.warnbox p:last-child { margin-bottom: 0; }
.warnbox strong { color: var(--warn); }

/* ---------- areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .94rem; font-weight: 600; color: var(--navy);
}
.chips li.hub { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 11px; }
details.qa {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 20px; box-shadow: var(--shadow);
}
details.qa summary {
  cursor: pointer; list-style: none; padding: 17px 0;
  font-weight: 700; color: var(--navy); display: flex; gap: 12px; align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; margin-inline-start: auto; flex-shrink: 0; width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317314E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .18s ease;
}
details.qa[open] summary::after { transform: rotate(180deg); }
details.qa .a { padding-bottom: 18px; color: var(--muted); font-size: .98rem; }
details.qa .a p:last-child { margin-bottom: 0; }

/* ---------- reviews ---------- */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.stars { color: #F0A020; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 10px; }
.review p { font-size: .99rem; }
.review cite { margin-top: auto; font-style: normal; font-weight: 700; color: var(--navy); font-size: .93rem; }
.review cite small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- credentials strip ---------- */
.creds {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; box-shadow: var(--shadow);
}
.cred { display: flex; align-items: center; gap: 13px; }
.cred img { width: 54px; height: 62px; object-fit: contain; flex-shrink: 0; }
.cred div { font-size: .92rem; line-height: 1.5; }
.cred b { display: block; color: var(--navy); font-size: 1rem; }
.cred span { color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #24527F 100%);
  color: #fff; padding: 58px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #CFE0F0; max-width: 58ch; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- form ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .93rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(79, 155, 45, .14);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 4px 0 0; }
.form-status { margin-top: 14px; font-weight: 700; font-size: .95rem; }

/* ---------- article ---------- */
.post-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 46px 0 40px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.meta { font-size: .9rem; color: var(--muted); }

.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 24px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 20px; border-inline-start: 4px solid var(--green);
  color: var(--navy); font-weight: 600;
}
.tocbox {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 30px;
}
.tocbox h2 { font-size: 1.05rem; margin-bottom: .5em; }
.tocbox ol { margin: 0; padding-inline-start: 20px; }
.tocbox li { margin-bottom: 4px; }

.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.post-card .tag {
  align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--green-700);
  background: var(--green-50); border-radius: 999px; padding: 3px 11px; margin-bottom: 12px;
}
.post-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.post-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1em; }
.post-card .more { margin-top: auto; font-weight: 700; color: var(--green-700); font-size: .94rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #B9CEE2; padding: 54px 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9em; }
.site-footer a { color: #B9CEE2; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { width: 176px; margin-bottom: 14px; background: #fff; border-radius: 12px; padding: 12px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; }
.footer-emblems { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.footer-emblems img { height: 54px; width: auto; background: #fff; border-radius: 9px; padding: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .13); margin-top: 44px; padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: .87rem; color: #8FA8C0;
}

/* ---------- sticky mobile bar ---------- */
.mobilebar {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 120;
  background: #fff; border-top: 1px solid var(--line); padding: 8px 10px;
  gap: 8px; box-shadow: 0 -4px 20px rgba(23, 49, 78, .1);
}
.mobilebar .btn { flex: 1; padding: 12px 8px; font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .nav { display: none; }
  .nav.open {
    display: block; position: absolute; inset-inline: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 10px 20px 18px;
  }
  .nav.open ul { flex-direction: column; gap: 2px; }
  .nav.open a { padding: 12px 14px; font-size: 1rem; }
  .burger { display: flex; }
}

@media (max-width: 1040px) {
  .header-cta { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 420px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 54px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar { font-size: .78rem; }
  .topbar .sep, .topbar .wrap > span:last-child { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .field-row { grid-template-columns: 1fr; }
  .mobilebar { display: flex; }
  body { padding-bottom: 66px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .brand img { width: 44px; height: 34px; }
  .brand-name { font-size: 1.3rem; }
}

@media print {
  .site-header, .topbar, .mobilebar, .cta-band, .site-footer { display: none; }
}
