/* =====================================================
   אוירבן ישראל ביטוחים — עיצוב האתר
   Palette: navy #262c82 · orange #ee9440 · sky #e9f4fb
   ===================================================== */

:root {
  --navy: #262c82;
  --navy-deep: #1a1f61;
  --navy-ink: #1d2247;
  --orange: #ee9440;
  --orange-deep: #d97b22;
  --sky: #e9f4fb;
  --sky-2: #d4e9f6;
  --line: #dbe3ef;
  --muted: #5b627d;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 34, 71, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy-ink);
  background: var(--white);
  direction: rtl;
}

h1, h2, h3, .display {
  font-family: 'Secular One', 'Assistant', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
}

a { color: var(--navy); }

img { max-width: 100%; height: auto; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; top: -48px; right: 12px;
  background: var(--navy); color: #fff;
  padding: 10px 18px; border-radius: 0 0 10px 10px;
  z-index: 200; transition: top .15s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 10px; padding-bottom: 10px;
}
.site-header .logo img { height: 56px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: inherit; font-size: 17px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-orange {
  background: var(--orange); color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(238, 148, 64, .35);
}
.btn-orange:hover { background: var(--orange-deep); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 2px solid var(--sky-2);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #073b1c; }
.btn-whatsapp:hover { background: #1eb958; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, #f7fbfe 78%, #ffffff 100%);
  padding: 56px 0 64px;
}
/* the "bubble" — echo of the logo ellipse */
.hero::before {
  content: "";
  position: absolute; inset-inline-start: -180px; top: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--sky-2) 55%, transparent 72%);
  opacity: .8; pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; background: #fff; border: 1px solid var(--sky-2);
  color: var(--navy); border-radius: 999px; padding: 5px 16px;
  font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--orange-deep); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 34em; margin-bottom: 24px; }
.hero-points { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; }
.hero-points li { padding-inline-start: 30px; position: relative; font-weight: 600; }
/* orange "i-dot" marker, from the logo */
.hero-points li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: 9px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--orange);
}

/* ---------- Lead form card ---------- */
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 26px;
}
.lead-card h2 { font-size: 24px; margin-bottom: 4px; }
.lead-card .lead-note { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; font-size: 15px; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%; padding: 12px 14px; font: inherit;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfdff; color: var(--navy-ink);
  transition: border-color .12s ease;
}
.field input:focus { border-color: var(--navy); outline: none; }
.checks { margin: 16px 0 18px; display: grid; gap: 12px; }
.check {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  font-size: 14.5px; line-height: 1.5; color: var(--navy-ink);
}
.check input[type="checkbox"] {
  width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); cursor: pointer;
}
.check a { font-weight: 600; }
.lead-card .btn { width: 100%; font-size: 18px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { display: block; background: #e8f8ee; color: #14532d; border: 1px solid #b7e4c7; }
.form-msg.err { display: block; background: #fdecec; color: #8a1f1f; border: 1px solid #f5c2c2; }
.form-msg a { color: inherit; }
.privacy-mini { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; padding: 18px 0; }
.trust .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  font-size: 16px; font-weight: 600; text-align: center;
}
.trust span strong { color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--sky); }
.section-head { text-align: center; max-width: 44em; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Services grid */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service .ico { font-size: 30px; display: block; margin-bottom: 10px; }
.service h3 { font-size: 18px; margin-bottom: 6px; }
.service p { font-size: 14.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: 'Secular One', Arial, sans-serif;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sky); color: var(--navy); font-size: 21px; margin-bottom: 14px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* About */
.about-box {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.about-box img { height: 90px; width: auto; }
.about-box h2 { font-size: 24px; margin-bottom: 8px; }
.about-box p { color: var(--muted); }
.about-box .license { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }

/* Bottom CTA */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 8px; }
.cta-band p { color: var(--sky-2); font-size: 18px; margin-bottom: 24px; }
.cta-band .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #f4f8fc; border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; margin-bottom: 22px; }
.site-footer h3 { font-size: 16px; margin-bottom: 10px; color: var(--navy); }
.site-footer ul { list-style: none; display: grid; gap: 7px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.footer-logo img { height: 52px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 16px; font-size: 13.5px; text-align: center; }

/* ---------- Legal pages ---------- */
.legal-main { padding: 48px 0 72px; }
.legal-main .container { max-width: 800px; }
.legal-main h1 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 6px; }
.legal-updated { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.legal-main h2 { font-size: 22px; margin: 34px 0 10px; }
.legal-main p, .legal-main li { color: #333a55; margin-bottom: 12px; }
.legal-main ul, .legal-main ol { padding-inline-start: 24px; margin-bottom: 14px; }
.legal-main li { margin-bottom: 8px; }
.legal-box {
  background: var(--sky); border-inline-start: 4px solid var(--orange);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { background: #1eb958; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-box { grid-template-columns: 1fr; text-align: center; }
  .about-box img { margin: 0 auto; }
  .site-header .logo img { height: 44px; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 520px) {
  .services { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

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