/* Hebrew Lab — Design DNA: ink navy + saffron, sharp modern school */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');

:root {
  --hl-ink: #0F2744;
  --hl-saffron: #E8A317;
  --hl-paper: #F7F4EE;
  --hl-gray: #8A96A8;
  --hl-gray-light: #E2E6EC;
  --hl-white: #FFFFFF;
  --hl-ink-soft: #1A3A5C;
  --hl-font-sans: 'Space Grotesk', system-ui, sans-serif;
  --hl-font-serif: 'Source Serif 4', Georgia, serif;
  --hl-radius: 4px;
  --hl-radius-pill: 999px;
  --hl-shadow: 0 4px 24px rgba(15, 39, 68, 0.08);
  --hl-max: 1200px;
  --hl-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--hl-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hl-ink);
  background: var(--hl-paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--hl-ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hl-saffron); }

.hl-container {
  width: 100%;
  max-width: var(--hl-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Cookie strip ── */
.hl-cookie {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--hl-ink);
  color: var(--hl-paper);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  transform: translateY(0);
  transition: transform 0.3s;
}
.hl-cookie.hl-cookie--hidden { transform: translateY(-100%); pointer-events: none; }
.hl-cookie p { margin: 0; }
.hl-cookie a { color: var(--hl-saffron); text-decoration: underline; }
.hl-cookie__btn {
  background: var(--hl-saffron);
  color: var(--hl-ink);
  border: none;
  padding: 6px 20px;
  border-radius: var(--hl-radius-pill);
  font-family: var(--hl-font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
}
.hl-cookie__btn:hover { background: #f0b030; }

body.hl-cookie-visible { padding-top: 44px; }
body.hl-cookie-visible .hl-header { top: 44px; }

/* ── Header ── */
.hl-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--hl-ink);
  height: var(--hl-header-h);
  transition: top 0.3s;
}
.hl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--hl-max);
  margin: 0 auto;
  padding: 0 24px;
}
.hl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hl-white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.hl-logo:hover { color: var(--hl-white); }
.hl-logo__mark {
  width: 36px;
  height: 36px;
  background: var(--hl-saffron);
  border-radius: var(--hl-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--hl-ink);
  font-weight: 700;
}
.hl-nav { display: flex; align-items: center; gap: 32px; }
.hl-nav__list {
  display: flex;
  list-style: none;
  gap: 28px;
}
.hl-nav__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 500;
}
.hl-nav__link:hover,
.hl-nav__link--active { color: var(--hl-saffron); }
.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--hl-radius-pill);
  font-family: var(--hl-font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.hl-btn--pill {
  background: var(--hl-saffron);
  color: var(--hl-ink);
}
.hl-btn--pill:hover { background: #f0b030; color: var(--hl-ink); transform: translateY(-1px); }
.hl-btn--outline {
  background: transparent;
  color: var(--hl-ink);
  border: 2px solid var(--hl-ink);
}
.hl-btn--outline:hover { background: var(--hl-ink); color: var(--hl-white); }
.hl-btn--white {
  background: var(--hl-white);
  color: var(--hl-ink);
}
.hl-btn--white:hover { background: var(--hl-paper); }

.hl-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hl-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hl-white);
  transition: transform 0.3s, opacity 0.3s;
}
.hl-burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hl-burger--open span:nth-child(2) { opacity: 0; }
.hl-burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (form hero) ── */
.hl-hero {
  background: var(--hl-ink);
  color: var(--hl-white);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hl-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--hl-saffron);
  opacity: 0.06;
  border-radius: 50%;
}
.hl-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hl-hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hl-saffron);
  margin-bottom: 16px;
}
.hl-hero__title {
  font-family: var(--hl-font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hl-hero__title em {
  font-style: italic;
  color: var(--hl-saffron);
}
.hl-hero__text {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 0;
}
.hl-hero__img {
  border-radius: var(--hl-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hl-hero__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* Course finder form */
.hl-finder {
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  padding: 28px 32px;
  margin-top: 40px;
  box-shadow: var(--hl-shadow);
  color: var(--hl-ink);
}
.hl-finder__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hl-finder__title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--hl-saffron);
  border-radius: 2px;
}
.hl-finder__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.hl-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hl-gray);
  margin-bottom: 6px;
}
.hl-field select,
.hl-field input,
.hl-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--hl-gray-light);
  border-radius: var(--hl-radius);
  font-family: var(--hl-font-sans);
  font-size: 0.9375rem;
  color: var(--hl-ink);
  background: var(--hl-paper);
  transition: border-color 0.2s;
}
.hl-field select:focus,
.hl-field input:focus,
.hl-field textarea:focus {
  outline: none;
  border-color: var(--hl-saffron);
}
.hl-finder .hl-btn { padding: 11px 28px; height: 44px; }

/* ── Sections ── */
.hl-section { padding: 80px 0; }
.hl-section--alt { background: var(--hl-white); }
.hl-section--dark { background: var(--hl-ink); color: var(--hl-white); }
.hl-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.hl-section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hl-saffron);
  margin-bottom: 12px;
}
.hl-section--dark .hl-section__eyebrow { color: var(--hl-saffron); }
.hl-section__title {
  font-family: var(--hl-font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hl-section__desc {
  color: var(--hl-gray);
  font-size: 1.0625rem;
}
.hl-section--dark .hl-section__desc { color: rgba(255,255,255,0.65); }

/* ── Stats ── */
.hl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.hl-stat {
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--hl-shadow);
}
.hl-stat__num {
  font-family: var(--hl-font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--hl-ink);
  line-height: 1;
  margin-bottom: 6px;
}
.hl-stat__num span { color: var(--hl-saffron); }
.hl-stat__label {
  font-size: 0.8125rem;
  color: var(--hl-gray);
  font-weight: 500;
}

/* ── Cards ── */
.hl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hl-card {
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  overflow: hidden;
  box-shadow: var(--hl-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hl-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(15,39,68,0.12); }
.hl-card__img { aspect-ratio: 4/3; overflow: hidden; }
.hl-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hl-card__body { padding: 24px; }
.hl-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hl-saffron);
  background: rgba(232,163,23,0.12);
  padding: 4px 10px;
  border-radius: var(--hl-radius-pill);
  margin-bottom: 12px;
}
.hl-card__title {
  font-family: var(--hl-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.hl-card__text { font-size: 0.9375rem; color: var(--hl-gray); margin-bottom: 16px; }
.hl-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hl-ink);
  padding-top: 16px;
  border-top: 1px solid var(--hl-gray-light);
}
.hl-card__price { color: var(--hl-saffron); font-size: 1rem; }

/* ── Features ── */
.hl-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hl-feature {
  padding: 32px 28px;
  background: var(--hl-paper);
  border-radius: var(--hl-radius);
  border-left: 4px solid var(--hl-saffron);
}
.hl-section--alt .hl-feature { background: var(--hl-paper); }
.hl-feature__icon {
  width: 48px;
  height: 48px;
  background: var(--hl-ink);
  color: var(--hl-saffron);
  border-radius: var(--hl-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.hl-feature__title {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 8px;
}
.hl-feature__text { font-size: 0.9375rem; color: var(--hl-gray); }

/* ── Split layout ── */
.hl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hl-split__img {
  border-radius: var(--hl-radius);
  overflow: hidden;
  box-shadow: var(--hl-shadow);
}
.hl-split__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hl-split__content h2 {
  font-family: var(--hl-font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hl-split__content p {
  color: var(--hl-gray);
  margin-bottom: 16px;
  font-size: 1.0625rem;
}
.hl-list {
  list-style: none;
  margin: 20px 0 28px;
}
.hl-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.9375rem;
}
.hl-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--hl-saffron);
  font-weight: 700;
}

/* ── CTA banner ── */
.hl-cta {
  position: relative;
  border-radius: var(--hl-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hl-cta__bg {
  position: absolute;
  inset: 0;
}
.hl-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.hl-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,39,68,0.92) 0%, rgba(15,39,68,0.6) 100%);
}
.hl-cta__content {
  position: relative;
  z-index: 1;
  padding: 48px 56px;
  max-width: 560px;
}
.hl-cta__content h2 {
  font-family: var(--hl-font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--hl-white);
  margin-bottom: 12px;
}
.hl-cta__content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  font-size: 1.0625rem;
}

/* ── Gallery ── */
.hl-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hl-gallery__item {
  border-radius: var(--hl-radius);
  overflow: hidden;
  position: relative;
}
.hl-gallery__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.3s; }
.hl-gallery__item:hover img { transform: scale(1.04); }
.hl-gallery__item--wide { grid-column: span 2; }
.hl-gallery__item--wide img { aspect-ratio: 16/9; }

/* ── Events ── */
.hl-events { display: flex; flex-direction: column; gap: 16px; }
.hl-event {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  padding: 20px 24px;
  box-shadow: var(--hl-shadow);
}
.hl-event__date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: var(--hl-ink);
  color: var(--hl-white);
  border-radius: var(--hl-radius);
  padding: 10px 8px;
}
.hl-event__date-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hl-saffron);
}
.hl-event__date-mon {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.hl-event__title { font-weight: 700; font-size: 1.0625rem; margin-bottom: 4px; }
.hl-event__desc { font-size: 0.875rem; color: var(--hl-gray); }

/* ── Page hero (inner pages) ── */
.hl-page-hero {
  background: var(--hl-ink);
  color: var(--hl-white);
  padding: 56px 0 64px;
}
.hl-page-hero__title {
  font-family: var(--hl-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.hl-page-hero__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
}
.hl-breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.hl-breadcrumb a { color: rgba(255,255,255,0.7); }
.hl-breadcrumb a:hover { color: var(--hl-saffron); }

/* ── Contact ── */
.hl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.hl-contact-info { display: flex; flex-direction: column; gap: 28px; }
.hl-contact-item h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hl-saffron);
  margin-bottom: 6px;
}
.hl-contact-item p,
.hl-contact-item a {
  font-size: 1.0625rem;
  color: var(--hl-ink);
}
.hl-contact-form {
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  padding: 36px;
  box-shadow: var(--hl-shadow);
}
.hl-contact-form h2 {
  font-family: var(--hl-font-serif);
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.hl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.hl-form-row--full { grid-template-columns: 1fr; }
.hl-field textarea { min-height: 120px; resize: vertical; }
.hl-form-note {
  font-size: 0.8125rem;
  color: var(--hl-gray);
  margin-top: 12px;
}

/* ── Privacy ── */
.hl-legal { max-width: 760px; margin: 0 auto; }
.hl-legal h2 {
  font-family: var(--hl-font-serif);
  font-size: 1.375rem;
  margin: 36px 0 12px;
  color: var(--hl-ink);
}
.hl-legal h2:first-child { margin-top: 0; }
.hl-legal p, .hl-legal li {
  color: var(--hl-gray);
  font-size: 0.9375rem;
  margin-bottom: 12px;
  line-height: 1.7;
}
.hl-legal ul { padding-left: 20px; margin-bottom: 16px; }
.hl-legal .hl-legal-updated {
  font-size: 0.8125rem;
  color: var(--hl-gray);
  margin-bottom: 32px;
}

/* ── Team ── */
.hl-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hl-team-member {
  text-align: center;
  padding: 32px 24px;
  background: var(--hl-white);
  border-radius: var(--hl-radius);
  box-shadow: var(--hl-shadow);
}
.hl-team-member__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--hl-ink);
  color: var(--hl-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.hl-team-member__name { font-weight: 700; font-size: 1.0625rem; margin-bottom: 4px; }
.hl-team-member__role { font-size: 0.8125rem; color: var(--hl-saffron); font-weight: 600; margin-bottom: 10px; }
.hl-team-member__bio { font-size: 0.875rem; color: var(--hl-gray); }

/* ── Filter bar ── */
.hl-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hl-filter__btn {
  padding: 8px 20px;
  border-radius: var(--hl-radius-pill);
  border: 1.5px solid var(--hl-gray-light);
  background: var(--hl-white);
  font-family: var(--hl-font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--hl-ink);
  transition: all 0.2s;
}
.hl-filter__btn:hover,
.hl-filter__btn--active {
  background: var(--hl-ink);
  color: var(--hl-white);
  border-color: var(--hl-ink);
}

/* ── Footer ── */
.hl-footer {
  background: var(--hl-ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.hl-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.hl-footer__brand .hl-logo { margin-bottom: 16px; }
.hl-footer__brand p { font-size: 0.875rem; line-height: 1.7; }
.hl-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hl-saffron);
  margin-bottom: 16px;
}
.hl-footer__links { list-style: none; }
.hl-footer__links li { margin-bottom: 10px; }
.hl-footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}
.hl-footer__links a:hover { color: var(--hl-saffron); }
.hl-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
}

/* ── Responsive 900px ── */
@media (max-width: 900px) {
  .hl-nav__list,
  .hl-nav .hl-btn--pill { display: none; }
  .hl-burger { display: flex; }
  .hl-nav--open .hl-nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--hl-header-h);
    left: 0;
    right: 0;
    background: var(--hl-ink-soft);
    padding: 24px;
    gap: 16px;
  }
  .hl-nav--open .hl-btn--pill { display: inline-flex; margin-top: 8px; }
  .hl-nav { position: relative; }
  .hl-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hl-hero { padding: 48px 0 64px; }
  .hl-finder__grid { grid-template-columns: 1fr 1fr; }
  .hl-finder__grid .hl-btn { grid-column: span 2; width: 100%; }
  .hl-stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .hl-cards { grid-template-columns: 1fr 1fr; }
  .hl-features { grid-template-columns: 1fr; }
  .hl-split { grid-template-columns: 1fr; gap: 32px; }
  .hl-gallery { grid-template-columns: 1fr 1fr; }
  .hl-gallery__item--wide { grid-column: span 2; }
  .hl-contact-grid { grid-template-columns: 1fr; }
  .hl-footer__grid { grid-template-columns: 1fr 1fr; }
  .hl-team { grid-template-columns: 1fr 1fr; }
  .hl-section { padding: 56px 0; }
}

/* ── Responsive 560px ── */
@media (max-width: 560px) {
  .hl-finder__grid { grid-template-columns: 1fr; }
  .hl-finder__grid .hl-btn { grid-column: span 1; }
  .hl-stats { grid-template-columns: 1fr 1fr; }
  .hl-cards { grid-template-columns: 1fr; }
  .hl-gallery { grid-template-columns: 1fr; }
  .hl-gallery__item--wide { grid-column: span 1; }
  .hl-footer__grid { grid-template-columns: 1fr; }
  .hl-form-row { grid-template-columns: 1fr; }
  .hl-team { grid-template-columns: 1fr; }
  .hl-cta__content { padding: 32px 24px; }
  .hl-event { flex-direction: column; text-align: center; }
  .hl-finder { padding: 20px; }
  .hl-cookie { font-size: 0.8125rem; padding: 10px 16px; }
}
