:root {
  --sky: #e6f5fc;
  --orange: #f97e55;
  --yellow: #fec93b;
  --teal: #0d7c87;
  --teal-dark: #0a5f67;
  --ink: #13363c;
  --muted: #4b6468;
  --line: #d7e9ef;
  --white: #ffffff;
  --whatsapp: #1fa855;
  --radius: 20px;
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  color-scheme: light;
}

:lang(he) { --font-body: "Rubik", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(230, 245, 252, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--teal); text-decoration: none; margin-inline-end: auto; }
.nav { display: none; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.lang {
  font-weight: 700; font-size: .9rem; text-decoration: none;
  color: var(--teal); border: 2px solid var(--teal); border-radius: 999px; padding: 4px 14px;
}
.lang:hover { background: var(--teal); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  padding: 14px 24px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(19, 54, 60, .15); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-outline { background: var(--white); color: var(--teal); border: 2px solid var(--teal); }

.pill {
  display: inline-block; font-weight: 700; font-size: .95rem;
  padding: 6px 18px; border-radius: 999px;
  background: var(--orange); color: var(--ink);
}
.pill-yellow { background: var(--yellow); }

/* Hero */
.hero { background: var(--sky); border-bottom: 6px solid var(--yellow); padding: 40px 0 0; overflow: hidden; }
.hero .wrap { display: grid; gap: 24px; align-items: end; }
.hero-text { padding-bottom: 8px; }
.hero h1 { margin-top: 18px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero .lead strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-art { max-width: 360px; margin-inline: auto; }

/* Credentials */
.creds { padding: 32px 0; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.creds li {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-align: center;
}
.creds .big { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; color: var(--teal); line-height: 1.1; }
.creds .small { display: block; font-size: .92rem; color: var(--muted); margin-top: 4px; }
.nowrap { white-space: nowrap; }
.creds li.key { grid-column: 1 / -1; background: #fff6d6; border-color: var(--yellow); }

/* Sections */
section.block { padding: 56px 0; }
section.alt { background: var(--sky); }
.section-head { max-width: 40em; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.eyebrow { font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: 6px; }
:lang(he) .eyebrow { text-transform: none; letter-spacing: 0; }

/* Story */
.story { display: grid; gap: 32px; align-items: start; }
.story-text p { max-width: 38em; }
.photo {
  width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--white); box-shadow: 0 10px 30px rgba(19, 54, 60, .15);
}

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.1rem; }
.checks li::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; margin-top: 1px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Cards */
.cards { display: grid; gap: 16px; }
.card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; font-size: 1.4rem; }
.card:nth-child(4n+1) .icon { background: #fff1d1; }
.card:nth-child(4n+2) .icon { background: #ffe3d9; }
.card:nth-child(4n+3) .icon { background: #d8f0f2; }
.card:nth-child(4n+4) .icon { background: #e6f5fc; }

.format .card { position: relative; }
.price-amount { display: block; font-family: var(--font-head); font-weight: 600; font-size: 2.6rem; line-height: 1.1; color: var(--teal); margin-bottom: 4px; }
.format .card.featured { border-color: var(--teal); }
.format .tag { position: absolute; top: -13px; inset-inline-start: 20px; }

/* Testimonials */
.quote { background: var(--white); border-radius: var(--radius); padding: 24px; border-inline-start: 6px solid var(--yellow); }
.quote p { font-size: 1.1rem; color: var(--ink); }
.quote { margin: 0; }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: .95rem; }
.source { margin-top: 20px; color: var(--muted); font-size: .92rem; }

/* Contact */
.contact { padding: 56px 0 72px; }
.contact-card { background: var(--teal); color: var(--white); border-radius: 28px; padding: 32px 24px; }
.contact-card h2 { color: var(--yellow); }
.contact-card > p { color: #d8f0f2; max-width: 36em; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px 18px;
}
.contact-list a:hover { background: rgba(255, 255, 255, .18); }
.contact-list svg { width: 24px; height: 24px; flex: none; color: var(--yellow); }
.contact-list .label { display: block; color: var(--yellow); font-weight: 700; font-size: .8rem; }
.contact-list .value { display: block; font-size: 1.1rem; word-break: break-word; }

.site-footer { padding: 24px 0 96px; text-align: center; color: var(--muted); font-size: .9rem; }

/* Sticky mobile call bar */
.callbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
}
.callbar .btn { padding: 12px 10px; font-size: 1rem; }

/* Draft placeholders – remove before launch */
.todo { background: #fff6d6; outline: 2px dashed #e0a800; outline-offset: 2px; border-radius: 4px; padding: 0 4px; }
.todo-block { position: relative; outline: 2px dashed #e0a800; outline-offset: 6px; border-radius: var(--radius); }
.todo-block::after {
  content: "DRAFT – needs Barak's input"; position: absolute; top: -18px; inset-inline-end: 12px;
  background: #e0a800; color: var(--ink); font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 6px;
}
:lang(he) .todo-block::after { content: "טיוטה – צריך השלמה מברק"; }

@media (min-width: 720px) {
  .creds ul { grid-template-columns: repeat(5, 1fr); }
  .creds li.key { grid-column: auto; }
  .creds .big { font-size: 1.4rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr 300px; }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
  .contact-card { padding: 44px; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .hero { padding-top: 56px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
  .hero-text { padding-bottom: 56px; }
  .hero-art { max-width: 420px; }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .callbar { display: none; }
  .site-footer { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
