/* ═══════════════════════════════════════════════════════════
   מתניה הדברות – Design System
   Premium Pest Control Website
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --navy:        #0a1628;
  --blue:        #0d47a1;
  --blue-mid:    #1565c0;
  --blue-light:  #e3f2fd;
  --teal:        #00897b;
  --green:       #2e7d32;
  --green-wa:    #25D366;
  --amber:       #f57f17;
  --text:        #1a1a2e;
  --text-soft:   #4a5568;
  --bg:          #f5f7fa;
  --white:       #ffffff;
  --border:      #dde3ec;
  --shadow-xs:   0 1px 3px rgba(0,0,0,.08);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.10);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.15);
  --r:           14px;
  --r-sm:        8px;
  --max:         1020px;
  --font:        'Heebo', 'Arial', sans-serif;
  --transition:  .22s ease;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-mid); }
img { max-width: 100%; height: auto; display: block; }

/* ─── Utilities ─────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 0 22px; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo-block { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name  { font-size: 1.18rem; font-weight: 900; color: #fff; letter-spacing: .01em; }
.logo-since { font-size: .72rem; color: #90caf9; font-weight: 400; }
.main-nav   { display: flex; gap: 24px; align-items: center; }
.main-nav a {
  color: #cbd5e1; font-size: .9rem; font-weight: 500;
  padding: 4px 2px; border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover { color: #fff; border-bottom-color: #64b5f6; }
.header-phone {
  background: var(--teal); color: #fff !important;
  padding: 9px 20px; border-radius: 50px;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  display: flex; align-items: center; gap: 7px;
}
.header-phone:hover { background: #00695c; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, #0d3b6e 50%, #12527a 100%);
  color: #fff; padding: 72px 22px 64px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(13,71,161,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; padding: 5px 18px; font-size: .8rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px;
  color: #90caf9;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; line-height: 1.22;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero h1 .accent { color: #64b5f6; }
.hero-sub {
  font-size: 1.05rem; opacity: .88; font-weight: 300;
  max-width: 600px; margin: 0 auto 28px;
}
.badge-strip {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 30px;
}
.badge-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px; padding: 7px 16px;
  font-size: .82rem; font-weight: 500;
  backdrop-filter: blur(6px);
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 700; font-size: .97rem;
  cursor: pointer; border: none; font-family: var(--font);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #00695c; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-green { background: var(--green-wa); color: #fff; }
.btn-green:hover { background: #1da851; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-mid); color: #fff; }

/* trust strip under hero */
.trust-strip {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 14px 22px;
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: .9rem; font-weight: 500; color: var(--text-soft);
}
.trust-item .ti-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT – MAIN
   ═══════════════════════════════════════════════════════════ */
main { padding: 40px 0 20px; }
.page-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 1fr 320px; gap: 30px;
}
.content-col {}
.sidebar-col {}

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r);
  padding: 32px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-sm); }

/* ─── Typography ─────────────────────────────────────────── */
h2 {
  font-size: 1.55rem; font-weight: 800; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 3px solid var(--blue-light);
  line-height: 1.3;
}
h3 { font-size: 1.12rem; font-weight: 700; color: var(--blue); margin: 22px 0 9px; }
h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 16px 0 7px; }
p  { margin-bottom: 14px; color: #2d3748; line-height: 1.8; }
ul, ol { padding-right: 22px; margin-bottom: 14px; }
li { margin-bottom: 7px; line-height: 1.75; }
strong { color: var(--navy); }

/* ─── Images in content ─────────────────────────────────── */
.content-img {
  width: 100%; border-radius: var(--r);
  box-shadow: var(--shadow-md);
  margin: 24px 0 6px;
  object-fit: cover; max-height: 400px;
}
.img-caption {
  text-align: center; font-size: .78rem;
  color: var(--text-soft); margin-bottom: 20px;
}

/* ─── Price box ─────────────────────────────────────────── */
.price-hero-box {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border: 2px solid #90caf9;
  border-radius: var(--r); padding: 28px 24px;
  text-align: center; margin: 22px 0;
}
.price-hero-box .amount {
  font-size: 3rem; font-weight: 900; color: var(--blue);
  display: block; line-height: 1; margin-bottom: 6px;
}
.price-hero-box .label { font-size: 1rem; color: var(--text-soft); font-weight: 500; }
.price-hero-box small  { display: block; font-size: .8rem; color: #607d8b; margin-top: 5px; }

/* ─── Price table ────────────────────────────────────────── */
.price-table {
  width: 100%; border-collapse: collapse;
  margin: 18px 0; font-size: .93rem;
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.price-table thead th {
  background: var(--navy); color: #fff;
  padding: 13px 18px; text-align: right; font-weight: 700;
}
.price-table tbody td {
  padding: 12px 18px; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.price-table tbody tr:nth-child(even) td { background: #f8fafc; }
.price-table tbody tr:hover td { background: #e3f2fd; transition: background .15s; }
.price-badge {
  display: inline-block; background: var(--teal); color: #fff;
  border-radius: 50px; padding: 2px 12px; font-size: .78rem; font-weight: 700;
}

/* ─── Steps / Process ────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 16px; margin: 18px 0;
}
.step-card {
  background: var(--blue-light); border-radius: var(--r);
  padding: 20px 18px; border-top: 3px solid var(--blue);
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-3px); }
.step-num {
  font-size: 1.8rem; font-weight: 900; color: var(--blue);
  line-height: 1; margin-bottom: 8px;
}
.step-card strong { display: block; margin-bottom: 5px; font-size: .97rem; }

/* ─── Checklist ──────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 9px 36px 9px 0;
  position: relative; border-bottom: 1px solid #f0f4f8;
}
.checklist li::before {
  content: '✓';
  position: absolute; right: 0; top: 9px;
  color: var(--teal); font-weight: 800; font-size: 1.05rem;
}

/* ─── Warning / Highlight box ────────────────────────────── */
.warn-box {
  background: #fff8e1; border-right: 4px solid var(--amber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px; margin: 18px 0;
}
.warn-box strong { color: #e65100; display: block; margin-bottom: 4px; }
.info-box {
  background: var(--blue-light); border-right: 4px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px; margin: 18px 0;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; color: var(--navy);
  font-size: 1rem; font-weight: 700; margin-bottom: 8px;
}
.faq-q::before {
  content: 'ש';
  background: var(--blue); color: #fff;
  border-radius: 6px; padding: 1px 8px;
  font-size: .72rem; font-weight: 800;
  flex-shrink: 0; margin-top: 2px;
}
.faq-a { font-size: .94rem; color: #374151; padding-right: 28px; margin: 0; }

/* ─── CTA dark ───────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3b6e 100%);
  color: #fff; text-align: center;
  border-radius: var(--r); padding: 44px 28px;
  margin-bottom: 26px; box-shadow: var(--shadow-lg);
}
.cta-block h2 { color: #fff; border: none; padding: 0; font-size: 1.6rem; }
.cta-block p  { opacity: .85; margin: 12px 0 26px; }
.cta-block .hero-btns { justify-content: center; }

/* ─── Map ────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-md); margin: 20px 0;
  border: 1px solid var(--border);
}
.map-wrap iframe { display: block; width: 100%; border: 0; }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.sidebar-card {
  background: var(--white); border-radius: var(--r);
  padding: 24px; margin-bottom: 22px;
  box-shadow: var(--shadow-xs); border: 1px solid var(--border);
  position: sticky; top: 80px;
}
.sidebar-card h3 {
  font-size: 1rem; color: var(--navy); margin: 0 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--blue-light);
}
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li a {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 0; border-bottom: 1px solid #f0f4f8;
  color: var(--text-soft); font-size: .88rem;
  transition: color var(--transition), padding-right var(--transition);
}
.sidebar-card ul li a:hover { color: var(--blue); padding-right: 4px; text-decoration: none; }
.sidebar-phone {
  background: linear-gradient(135deg, var(--teal), #00695c);
  color: #fff; border-radius: var(--r-sm);
  padding: 16px; text-align: center; margin-top: 14px;
}
.sidebar-phone a { color: #fff; font-size: 1.2rem; font-weight: 800; display: block; }
.sidebar-phone small { display: block; font-size: .78rem; opacity: .85; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   MEGA FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy); color: #94a3b8;
  margin-top: 60px; padding: 60px 22px 0;
}
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .fb-name { font-size: 1.2rem; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: .86rem; line-height: 1.8; margin-bottom: 14px; }
.footer-phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  padding: 11px 22px; border-radius: 50px;
  font-weight: 700; font-size: .92rem; text-decoration: none;
  transition: background var(--transition);
}
.footer-phone-link:hover { background: #00695c; color: #fff; text-decoration: none; }
.footer-col h4 {
  color: #e2e8f0; font-size: .88rem; font-weight: 700;
  margin-bottom: 14px; padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-transform: uppercase; letter-spacing: .04em;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {
  color: #94a3b8; font-size: .84rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: #7dd3fc; text-decoration: none; }

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 20px 0; font-size: .82rem;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: #7dd3fc; }
.footer-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto 28px;
}
.f-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 8px 16px;
  font-size: .8rem; color: #94a3b8;
  display: flex; align-items: center; gap: 7px;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════════════════════ */
.float-wa, .float-access {
  position: fixed; bottom: 22px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.32);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer; border: none; text-decoration: none;
}
.float-wa     { left: 22px;  background: var(--green-wa); }
.float-access { right: 22px; background: var(--blue); }
.float-wa:hover, .float-access:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(0,0,0,.42);
}
/* tooltips */
.float-wa::after, .float-access::after {
  content: attr(aria-label);
  position: absolute; bottom: calc(100% + 8px);
  background: #1e293b; color: #fff;
  font-size: .74rem; white-space: nowrap;
  padding: 4px 10px; border-radius: 5px;
  font-family: var(--font); pointer-events: none;
  opacity: 0; transition: opacity .2s;
}
.float-wa::after    { left: 0; }
.float-access::after { right: 0; }
.float-wa:hover::after, .float-access:hover::after { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════ */
.breadcrumb {
  max-width: var(--max); margin: 0 auto;
  padding: 12px 22px; font-size: .82rem;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
  color: var(--text-soft);
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { opacity: .4; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar-col { order: -1; }
  .sidebar-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 660px) {
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 50px 18px 44px; }
  .main-nav { display: none; }
  .card { padding: 20px 16px; }
  .footer-top { grid-template-columns: 1fr; }
  h2 { font-size: 1.3rem; }
  .price-hero-box .amount { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════
   MAP SECTION (before footer)
   ═══════════════════════════════════════════════════════════ */
.map-section {
  background: var(--white);
  border-top: 2px solid var(--border);
  padding: 44px 0 0;
  margin-top: 10px;
}
.map-section .container { padding-bottom: 0; }
.map-heading {
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  margin-bottom: 10px; border: none; padding: 0;
}
.map-sub {
  font-size: .95rem; color: var(--text-soft);
  margin-bottom: 20px; line-height: 1.6;
}
.map-sub a { color: var(--blue); font-weight: 600; }

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  .site-header, .float-wa, .float-access,
  .cta-block, .sidebar-col, .hero-btns { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
