:root{
  --ink:#0b1020;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#f6f8fc;

  /* כמה כהה יהיה ההירו (0.12 יותר מואר, 0.35 יותר כהה) */
  --hero-dark: 0.18;
  --lab-dark: 0.22;

  /* כמה להאיר את התמונות בלי להשפיע על הטקסט */
  --hero-bright: 1.12;
  --lab-bright: 1.10;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Inter,system-ui,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

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

/* ================= HEADER ================= */
header{
  position:sticky;
  top:0;
  z-index:10;
  background:#fff;
  border-bottom:2px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.logo{height:200px;width:auto}

nav a{
  margin-left:18px;
  font-weight:600;
  opacity:.9;
}
nav a:hover{opacity:1}

/* ================= HERO ================= */
/* חשוב: לא משתמשים ב-filter על .hero עצמו כדי לא להרוס טקסט */
.hero{
  position:relative;
  min-height:72vh;
  max-height:820px;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
}

/* התמונה עצמה + Brightness רק על רקע */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("../images/doctor-hero.jpg") center 35% / cover no-repeat;
  filter: brightness(var(--hero-bright)) contrast(1.03);
  transform: scale(1.02); /* כדי שלא יראו קצוות אחרי פילטר */
  z-index:0;
}

/* שכבת כהות עדינה לקריאות */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(8,12,24,var(--hero-dark));
  z-index:1;
}

/* כל מה שבתוך ההירו מעל הרקע */
.hero > *{
  position:relative;
  z-index:2;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  gap:14px;
}

.badge{
  display:inline-block;
  font-size:12px;
  border-radius:999px;
  padding:6px 12px;
  background:rgba(0,0,0,0.35);
  color:#fff;
  width:fit-content;
}

.hero h1{
  font-size:56px;
  line-height:1.08;
  margin:0;
}

.hero p{
  margin:0;
  color:#eef2ff;
  max-width:520px;
}

/* BUTTON */
.btn{
  display:inline-block;
  margin-top:18px;
  padding:14px 32px;
  border-radius:12px;
  background:#111;
  color:#fff;
  border:none;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.05)}

/* ================= SECTIONS ================= */
.section{padding:80px 0}
.section.alt{background:var(--bg)}

/* cards/products */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:28px;
}

.card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:22px;
  text-align:center;
}

.card img.product{
  width:180px;
  margin:10px auto 14px;
}

.price{
  font-weight:800;
  margin:8px 0;
}

/* trust */
.trust{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}
.trust .t{
  padding:22px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}

/* ================= INNER BG ================= */
.page-bg{
  position:relative;
  background-image:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    url("../images/doctor-lab-1.jpg");
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  background-attachment:fixed;
}

/* ================= LAB SECTION ================= */
.section.lab-bg{
  position:relative;
  color:#fff;
  overflow:hidden;
}

/* תמונת רקע מוארת (רק על הרקע) */
.section.lab-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("../images/doctor-lab-3.jpg") center / cover no-repeat;
  filter: brightness(var(--lab-bright)) contrast(1.03);
  transform:scale(1.02);
  z-index:0;
}

/* שכבת כהות עדינה */
.section.lab-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,var(--lab-dark));
  z-index:1;
}

.section.lab-bg > *{
  position:relative;
  z-index:2;
}

.section.lab-bg h2,
.section.lab-bg p{color:#fff}

/* ================= CART/FORM ================= */
.list{list-style:none;padding:0;margin:0}
.list li{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.total{font-weight:900;margin-top:10px}
.notice{margin:12px 0;padding:10px;border-radius:10px;background:#eef2ff;color:#111}

input,textarea{
  width:100%;
  padding:12px;
  border:1px solid var(--line);
  border-radius:10px;
  margin:8px 0;
}

/* ================= FOOTER ================= */
footer{background:#0f1220;color:#fff}
footer .inner{
  padding:55px 20px;
  text-align:center;
  opacity:.92;
}
footer a{color:#c7d2fe}

/* ================= MOBILE ================= */
@media (max-width:900px){
  .hero{
    min-height:64vh;
  }
  .hero::before{
    background-position: center 20%;
  }
  .hero h1{
    font-size:40px;
  }
}
