@font-face {
  font-family: "Atlas Yatir";
  src: url("/assets/fonts/atlas-regular-aaa.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atlas Yatir";
  src: url("/assets/fonts/atlas-bold-aaa.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Oh Yatir";
  src: url("/assets/fonts/OHYaelLeibushor1.0-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --cream: #fff8f2;
  --sand: #f2e4d1;
  --mint: #ade8ca;
  --green: #25635d;
  --orange: #e29553;
  --brown: #715144;
  --purple: #3c2f7f;
  --ink: #132f2e;
  --muted: #5d6763;
  --line: #e3d7c7;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(19, 47, 46, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Atlas Yatir", "Arial Hebrew", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 8px clamp(16px, 4vw, 48px);
  color: var(--cream);
  background: rgba(19, 47, 46, 0.72);
  border-bottom: 1px solid rgba(255, 248, 242, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 248, 242, 0.76);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}

.main-nav a,
.header-cta {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--mint);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  color: var(--ink);
  background: var(--mint);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 47, 46, 0.18), rgba(19, 47, 46, 0.72)),
    linear-gradient(180deg, rgba(19, 47, 46, 0.2), rgba(19, 47, 46, 0.76));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: end;
}

.anchor-target {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero-copy {
  color: var(--cream);
  max-width: 720px;
  min-width: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--orange);
}

.hero h1 {
  margin: 0;
  font-family: "Oh Yatir", "Atlas Yatir", sans-serif;
  font-size: clamp(78px, 13vw, 154px);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: 0;
  max-width: 100%;
}

.hero-lead {
  width: min(680px, 100%);
  margin: 24px 0 0;
  font-size: clamp(19px, 2.4vw, 31px);
  line-height: 1.35;
  font-weight: 700;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-facts span {
  padding: 9px 15px;
  background: rgba(255, 248, 242, 0.15);
  border: 1px solid rgba(255, 248, 242, 0.36);
  border-radius: 999px;
  font-weight: 700;
}

.booking-panel {
  background: rgba(255, 248, 242, 0.96);
  border: 1px solid rgba(255, 248, 242, 0.65);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-head > div {
  min-width: 0;
}

.panel-kicker {
  margin: 0;
  color: var(--brown);
  font-weight: 700;
  font-size: 14px;
}

.booking-panel h2 {
  margin: 2px 0 0;
  color: var(--green);
  font-size: 26px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 48px;
  padding: 0 12px;
  color: var(--cream);
  background: var(--green);
  border-radius: 8px;
  font-size: 21px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label,
.wide-label {
  display: grid;
  gap: 6px;
  color: var(--brown);
  font-weight: 700;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 76px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(37, 99, 93, 0.22);
  border-color: var(--green);
}

.wide-label {
  margin-top: 12px;
}

.consent {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
}

.submit-button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 6px;
  color: var(--cream);
  background: var(--orange);
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.form-status.error {
  color: #9c2d2d;
}

.section {
  padding: clamp(56px, 8vw, 94px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-inner.compact {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}

.intro-band {
  background: var(--cream);
}

.intro-copy h2,
.section-heading h2,
.info-layout h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.03;
}

.intro-copy p:last-child,
.section-heading p,
.history-feature p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.program-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.program-grid article,
.info-grid article,
.station-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-grid article,
.info-grid article {
  padding: 20px;
}

.program-grid b,
.info-grid b,
.timeline b,
.station-card b {
  display: block;
  color: var(--brown);
  font-size: 18px;
}

.program-grid span,
.info-grid span,
.info-grid a,
.timeline span,
.station-card span {
  display: block;
  color: var(--muted);
}

.map-section,
.gallery-section {
  background: var(--sand);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
}

figure {
  margin: 0;
}

.main-map,
.history-feature,
.gallery-grid figure,
.local-map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.main-map img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 10px 14px 13px;
  color: var(--muted);
  font-size: 13px;
}

.station-list {
  display: grid;
  gap: 12px;
}

.station-card {
  padding: 16px;
}

.station-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.station-card strong {
  color: var(--green);
  font-size: 18px;
}

.station-card em {
  color: var(--orange);
  font-style: normal;
  font-weight: 700;
}

.station-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.local-map-section {
  background: var(--cream);
}

.local-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.local-map-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.local-map-card div {
  padding: 14px;
}

.local-map-card h3 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 18px;
}

.local-map-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.history-section {
  background: var(--cream);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.timeline article {
  padding: 18px;
  min-height: 132px;
  border-top: 5px solid var(--orange);
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.history-feature {
  display: grid;
  grid-template-columns: 44% 1fr;
}

.history-feature img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.history-feature div {
  padding: 24px;
}

.history-feature h3 {
  margin: 0;
  color: var(--green);
  font-size: 28px;
  line-height: 1.12;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}

.info-section {
  background: var(--green);
  color: var(--cream);
}

.info-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.info-layout h2 {
  color: var(--cream);
}

.info-grid article {
  background: rgba(255, 248, 242, 0.98);
}

.info-grid a {
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px clamp(18px, 4vw, 48px);
  color: var(--cream);
  background: var(--brown);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 38px;
  height: 50px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  max-width: 740px;
}

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--cream);
}

.message-page {
  width: min(560px, calc(100% - 40px));
  padding: 38px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.message-page img {
  width: 72px;
  margin: 0 auto 18px;
}

.message-page h1 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 34px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-inner,
  .section-inner.compact,
  .map-layout,
  .info-layout,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 32px;
    padding-top: 44px;
  }

  .booking-panel {
    width: min(620px, 100%);
  }

  .local-map-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
    padding-inline: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    max-width: 210px;
    justify-self: end;
  }

  .brand img {
    width: 34px;
    height: 44px;
    flex: 0 0 auto;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    justify-self: start;
    min-height: 38px;
    padding: 8px 13px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    display: block;
    width: 100%;
    padding: 76px 0 34px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    text-align: center;
  }

  .hero h1 {
    font-size: 54px;
    line-height: 0.95;
    overflow-wrap: normal;
  }

  .hero-lead {
    width: min(300px, 100%);
    margin-inline: auto;
    font-size: 16px;
    max-width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    width: min(300px, 100%);
    margin-inline: auto;
  }

  .hero-facts span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 8px;
    text-align: center;
    font-size: 13px;
  }

  .hero-facts span:nth-child(3) {
    grid-column: auto;
  }

  .booking-panel {
    width: min(320px, calc(100% - 40px));
    max-width: 320px;
    margin-left: 14px;
    margin-right: auto;
    margin-top: 32px;
    padding: 18px;
  }

  .panel-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .panel-head > div {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
  }

  .booking-panel h2 {
    font-size: 24px;
    text-align: right;
  }

  .price {
    justify-self: start;
    width: 74px;
  }

  .panel-kicker {
    text-align: right;
  }

  .form-grid,
  .program-grid,
  .info-grid,
  .local-map-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .history-feature {
    grid-template-columns: 1fr;
  }

  .history-feature img {
    min-height: 220px;
  }

  .site-footer {
    display: grid;
  }
}
