:root {
  --ink: #0b2239;
  --ink-soft: #395267;
  --paper: #f7fbfc;
  --white: #ffffff;
  --teal: #007f7b;
  --teal-dark: #00625f;
  --aqua: #d8f1ef;
  --blue: #dceafa;
  --line: #c8d8df;
  --danger: #9b3434;
  --shadow: 0 24px 70px rgba(11, 34, 57, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #f7b942; outline-offset: 3px; }

.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -5rem; z-index: 99;
  background: var(--ink); color: white; padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 251, 252, .94);
  border-bottom: 1px solid rgba(11,34,57,.12);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  max-width: var(--max); margin: auto; min-height: 78px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { text-decoration: none; display: grid; line-height: 1.15; }
.brand strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand span { color: var(--teal-dark); font-size: .82rem; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 650; font-size: .94rem; }
.main-nav a:hover { color: var(--teal-dark); }
.lang-switch { display: flex; gap: 5px; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.lang-switch a { padding: 4px 7px; border-radius: 7px; font-size: .82rem; }
.lang-switch a[aria-current="page"] { background: var(--ink); color: white; }
.nav-cta { background: var(--teal); color: white; padding: 9px 15px; border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,127,123,.14) 0 2px, transparent 3px) 0 0/26px 26px,
    linear-gradient(135deg, #f9fcfd 0%, #edf7f8 55%, #e7f0f9 100%);
}
.hero::after {
  content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%;
  background: rgba(0,127,123,.08); inset-inline-end: -150px; top: -170px;
}
.hero-grid {
  max-width: var(--max); margin: auto; padding: 70px 24px 58px;
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 64px; align-items: center;
}
.eyebrow { color: var(--teal-dark); font-weight: 800; letter-spacing: .02em; margin: 0 0 12px; }
h1 { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: -.045em; margin: 0; max-width: 850px; }
.hero h1 span { display: block; color: var(--teal-dark); font-size: .52em; line-height: 1.25; margin-top: 16px; letter-spacing: -.02em; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 720px; margin: 24px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 10px 20px; border-radius: 12px; text-decoration: none; font-weight: 800;
  border: 1px solid var(--ink); cursor: pointer;
}
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.button.secondary { background: transparent; }
.button.secondary:hover { background: white; }
.hero-portrait { position: relative; z-index: 1; isolation: isolate; }
.hero-portrait::before {
  content: ""; position: absolute; z-index: -1; inset: 9% 2% 5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,127,123,.25) 0%, rgba(220,234,250,.38) 45%, transparent 72%);
  filter: blur(12px);
}
.portrait-frame {
  max-width: 310px; margin-inline: auto; background: transparent;
}
.portrait-frame img {
  width: 100%; height: auto; object-fit: contain; border-radius: 38% 38% 24px 24px;
  filter: drop-shadow(0 22px 28px rgba(11,34,57,.18));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 87%, rgba(0,0,0,.78) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 87%, rgba(0,0,0,.78) 94%, transparent 100%);
}
.portrait-note {
  position: absolute; inset-inline-start: -28px; bottom: 22px; background: var(--ink); color: white;
  padding: 13px 17px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; max-width: 230px;
}

.trust { background: var(--ink); color: white; }
.trust-grid { max-width: var(--max); margin: auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.trust-item { border-inline-start: 1px solid rgba(255,255,255,.25); padding-inline-start: 18px; }
.trust-item:first-child { border: 0; padding-inline-start: 0; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { font-size: .86rem; color: #c9d8e2; }

.section { max-width: var(--max); margin: auto; padding: 84px 24px; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; margin-bottom: 36px; align-items: end; }
.kicker { color: var(--teal-dark); font-weight: 850; margin: 0 0 8px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; margin: 0; max-width: 700px; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  min-height: 230px; display: flex; flex-direction: column; justify-content: space-between;
}
.service-card:nth-child(1) { background: var(--ink); color: white; border-color: var(--ink); }
.service-card:nth-child(2) { background: var(--aqua); }
.service-card:nth-child(3) { background: var(--blue); }
.service-card h3 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 12px; }
.service-card p { margin: 0; color: inherit; opacity: .83; }
.service-card .num { font-size: .78rem; font-weight: 900; opacity: .6; margin-bottom: 30px; }

.about-band { background: white; border-block: 1px solid var(--line); }
.about-grid { max-width: var(--max); margin: auto; padding: 84px 24px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.timeline { display: grid; gap: 14px; }
.timeline-item { padding: 17px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.timeline-item strong { display: block; color: var(--teal-dark); }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--ink-soft); font-size: 1.06rem; }
.languages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 750; background: white; }

.research-bio { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; margin-bottom: 42px; }
.research-story { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.research-story h3, .research-subhead h3 { font-size: 1.5rem; margin: 0 0 14px; }
.research-story p { color: var(--ink-soft); margin: 0 0 14px; }
.research-story p:last-child { margin-bottom: 0; }
.academic-highlights { display: grid; gap: 12px; }
.academic-highlights div { background: var(--ink); color: white; border-radius: 18px; padding: 19px 20px; display: grid; align-content: center; }
.academic-highlights strong { font-size: 1.2rem; }
.academic-highlights span { color: #c9d8e2; font-size: .88rem; }
.research-subhead { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 15px; }
.research-subhead h3 { margin: 0; }
.research-subhead span { color: var(--ink-soft); font-size: .9rem; }
.publication-list { display: grid; gap: 12px; }
.publication {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 22px; align-items: center;
  text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.publication:hover { border-color: var(--teal); transform: translateY(-1px); }
.publication .year { color: var(--teal-dark); font-weight: 900; font-size: 1.1rem; }
.publication strong { display: block; line-height: 1.35; }
.publication small { color: var(--ink-soft); }
.publication .open { font-weight: 850; color: var(--teal-dark); }
.academic-events { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--aqua); overflow: hidden; }
.academic-events summary { cursor: pointer; padding: 19px 22px; font-weight: 850; }
.event-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 0 18px 18px; }
.event-grid a { display: grid; gap: 5px; text-decoration: none; background: white; border: 1px solid rgba(11,34,57,.14); border-radius: 14px; padding: 17px; }
.event-grid a:hover { border-color: var(--teal); }
.event-grid span { color: var(--ink-soft); font-size: .9rem; }

.booking-wrap { background: var(--ink); color: white; }
.booking-grid { max-width: var(--max); margin: auto; padding: 84px 24px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.booking-copy h2 { color: white; }
.booking-copy p { color: #cbd8e1; }
.booking-copy .notice { border: 1px solid rgba(255,255,255,.2); padding: 16px; border-radius: 14px; margin-top: 28px; font-size: .92rem; }
.admin-link { margin: 22px 0 0; }
.admin-link a { color: white; font-weight: 800; }
.booking-form { background: white; color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 750; font-size: .92rem; }
input, select, textarea {
  width: 100%; min-height: 46px; border: 1px solid #9db1bd; border-radius: 10px;
  padding: 9px 11px; background: white; color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.form-hint { margin: -2px 0 2px; color: var(--ink-soft); font-size: .86rem; }
.form-hint.unavailable-note { color: #b42318; font-weight: 850; background: #fff1f0; border: 1px solid #f3b5b0; border-radius: 10px; padding: 9px 11px; }
select option.unavailable-option { color: #b42318; font-weight: 800; }
.check input { width: 18px; height: 18px; min-height: auto; margin-top: 4px; flex: 0 0 auto; }
.booking-form .button { width: 100%; border: 0; background: #1ea97c; color: #071e1c; margin-top: 4px; }
.form-status { min-height: 24px; color: var(--danger); font-weight: 700; margin: 8px 0 0; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.contact-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 23px; }
.contact-card h3 { margin: 0 0 8px; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card a { color: var(--teal-dark); font-weight: 800; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-wrap { max-width: var(--max); margin: auto; padding: 34px 24px; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-wrap p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.whatsapp-float {
  position: fixed; z-index: 40; inset-inline-end: 20px; bottom: 20px; width: 58px; height: 58px;
  border-radius: 50%; display: grid; place-items: center; background: #1ea97c; color: #062b20;
  box-shadow: 0 12px 35px rgba(0,0,0,.24); text-decoration: none; font-weight: 950; font-size: .78rem;
}

@media (max-width: 900px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 78px; inset-inline: 0; background: var(--paper); padding: 22px 24px; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .lang-switch { border: 0; padding: 10px 0 0; }
  .hero-grid, .about-grid, .booking-grid, .research-bio { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 48px; gap: 42px; }
  .hero-portrait { order: -1; max-width: 300px; margin: auto; }
  .portrait-note { inset-inline-start: -18px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border: 0; padding-inline-start: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 620px) {
  .nav-wrap { min-height: 68px; padding: 0 16px; }
  .main-nav { top: 68px; }
  .brand span { display: none; }
  .hero-grid, .section, .about-grid, .booking-grid { padding-inline: 18px; }
  .hero-grid { padding-block: 34px 44px; }
  h1 { font-size: 2.55rem; }
  .lead { font-size: 1.04rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-inline-start: 3px solid var(--teal); padding-inline-start: 12px; }
  .services, .form-grid, .contact-grid, .event-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .publication { grid-template-columns: 62px 1fr; }
  .publication .open { display: none; }
  .section, .about-grid, .booking-grid { padding-block: 62px; }
  .portrait-frame { max-width: 245px; }
  .portrait-note { font-size: .86rem; max-width: 190px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .publication { transition: .18s ease; }
}
