:root {
  --ink: #102a43;
  --muted: #5c6f7c;
  --navy: #0b3558;
  --teal: #46b8b8;
  --teal-dark: #178b93;
  --rose: #bc6f69;
  --gold: #c79a45;
  --cream: #fffaf2;
  --paper: #ffffff;
  --mist: #eef7f6;
  --shadow: 0 22px 70px rgba(16, 42, 67, 0.14);
  --soft-shadow: 0 12px 34px rgba(16, 42, 67, 0.1);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: "Arial", "Noto Sans Hebrew", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(11, 53, 88, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(70, 184, 184, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 88% 12%, rgba(70, 184, 184, 0.2), transparent 24rem),
    radial-gradient(circle at 8% 42%, rgba(188, 111, 105, 0.14), transparent 22rem),
    linear-gradient(180deg, #fff8ec 0%, #f0f9f8 42%, #fffaf2 100%);
  background-size:
    34px 34px,
    34px 34px,
    auto,
    auto,
    auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
  backdrop-filter: blur(18px);
  transition-property: box-shadow, background-color;
  transition-duration: 220ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 36px rgba(16, 42, 67, 0.12);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.28rem);
  color: var(--navy);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  object-fit: cover;
  background: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #2e5268;
  font-weight: 700;
  font-size: 0.95rem;
  transition-property: background-color, color, transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: rgba(70, 184, 184, 0.14);
}

.site-nav a:active,
.button:active,
.contact-link:active,
.menu-toggle:active,
.whatsapp-float:active {
  transform: scale(0.96);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--navy);
  background: rgba(70, 184, 184, 0.15);
  cursor: pointer;
  transition-property: transform, background-color;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 62px) 0 72px;
  background:
    linear-gradient(90deg, rgba(9, 41, 68, 0.72) 0%, rgba(9, 41, 68, 0.54) 30%, rgba(255, 248, 236, 0.86) 66%, rgba(255, 248, 236, 0.98) 100%),
    url("assets/family-resilience-hero-flipped.png") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.24), transparent 18rem),
    radial-gradient(circle at 18% 74%, rgba(70, 184, 184, 0.22), transparent 20rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 150px;
  background: linear-gradient(180deg, transparent, #fff8ec 88%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(180px, 0.32fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.6rem, 8.4vw, 7.8rem);
  text-shadow: 0 12px 36px rgba(255, 255, 255, 0.56);
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: #244d62;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.85;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition-property: transform, box-shadow, background-color, color;
  transition-duration: 190ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.button svg,
.contact-link svg,
.activity-grid svg,
.floating-note svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
  flex: 0 0 auto;
}

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 32px rgba(11, 53, 88, 0.24);
}

.button.primary:hover {
  background: #082b49;
  box-shadow: 0 18px 40px rgba(11, 53, 88, 0.28);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(11, 53, 88, 0.12);
}

.button.secondary:hover {
  background: #fff;
}

.hero-emblem {
  position: absolute;
  top: calc(var(--header-height) + 54px);
  right: clamp(30px, 8vw, 132px);
  z-index: 1;
  width: clamp(132px, 13vw, 188px);
  border-radius: 38px;
  opacity: 0.88;
  filter: drop-shadow(0 28px 48px rgba(83, 18, 12, 0.24));
}

.hero-emblem::before {
  content: "";
  position: absolute;
  inset: 16% 10%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 204, 111, 0.32);
  filter: blur(46px);
}

.hero-emblem img {
  width: 100%;
  border-radius: 34px;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 22px 72px rgba(83, 18, 12, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.split-section,
.activity-section,
.path-section,
.recommendations-section,
.contact-section {
  padding: 88px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
}

.section-copy h2,
.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2.15rem, 4vw, 4.2rem);
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.section-copy p:not(.eyebrow) {
  max-width: 710px;
}

.image-stack {
  position: relative;
}

.poster-image {
  width: min(420px, 100%);
  margin: 0 auto;
  border-radius: 24px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow);
}

.floating-note {
  position: absolute;
  right: -10px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(16, 42, 67, 0.16);
}

.floating-note span {
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.activity-grid {
  display: grid;
  gap: 16px;
}

.activity-grid article {
  min-height: 230px;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at top right, rgba(70, 184, 184, 0.16), transparent 11rem);
  box-shadow: var(--soft-shadow);
  transition-property: transform, box-shadow, background-color;
  transition-duration: 210ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.activity-grid article:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 20px 54px rgba(16, 42, 67, 0.16);
}

.activity-grid svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 14px;
  color: var(--teal-dark);
  background: rgba(70, 184, 184, 0.14);
}

.activity-grid h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 1.28rem;
}

.activity-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.activity-grid {
  grid-template-columns: repeat(3, 1fr);
}

.activity-grid article {
  min-height: 220px;
}

.recommendations-section {
  width: min(1080px, calc(100% - 40px));
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recommendations-grid article {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at top left, rgba(188, 111, 105, 0.12), transparent 12rem);
  box-shadow: var(--soft-shadow);
}

.recommendations-grid svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 16px;
  color: var(--rose);
  background: rgba(188, 111, 105, 0.12);
}

.recommendations-grid p {
  margin: 0;
  color: #38566a;
  font-size: 1.08rem;
  line-height: 1.85;
  text-wrap: pretty;
}

.recommendations-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.path-section {
  width: min(1040px, calc(100% - 40px));
}

.seatbelt-message {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 30px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 247, 246, 0.72)),
    radial-gradient(circle at 20% 0%, rgba(70, 184, 184, 0.12), transparent 20rem);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.seatbelt-message h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.35rem);
  font-weight: 900;
  line-height: 1.16;
  text-wrap: balance;
}

.seatbelt-message p {
  max-width: 890px;
  margin: 28px auto 0;
  color: #61727a;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.9;
}

.repair-section {
  padding: 16px 0 88px;
}

.repair-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 28px;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 247, 246, 0.86)),
    url("assets/poster-heart-belt.png") left 22% / min(360px, 42vw) auto no-repeat;
  box-shadow: var(--shadow);
}

.repair-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.84) 52%, rgba(255, 255, 255, 0.5) 100%);
}

.repair-card > * {
  position: relative;
  max-width: 760px;
}

.repair-card svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 16px;
  color: var(--teal-dark);
  background: rgba(70, 184, 184, 0.14);
}

.repair-card blockquote {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  text-wrap: balance;
}

.repair-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
  text-wrap: pretty;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 32px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 53, 88, 0.94), rgba(23, 139, 147, 0.9)),
    url("assets/family-resilience-hero.png") center/cover;
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel p,
.contact-panel .eyebrow {
  color: #fff;
}

.contact-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

.contact-actions {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-link {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition-property: transform, background-color;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-logo {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 86px;
  height: 86px;
  border-radius: 22px;
  outline: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  opacity: 0.92;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 18;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: #1fae64;
  box-shadow: 0 18px 40px rgba(31, 174, 100, 0.32);
  transition-property: transform, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.whatsapp-float:hover {
  box-shadow: 0 22px 48px rgba(31, 174, 100, 0.42);
}

.site-footer {
  padding: 28px 20px 36px;
  text-align: center;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition-property: opacity, transform;
  transition-duration: 700ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .split-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
    align-items: start;
    padding-top: calc(var(--header-height) + 52px);
    background:
      linear-gradient(180deg, rgba(255, 248, 236, 0.96) 0%, rgba(255, 248, 236, 0.92) 42%, rgba(9, 41, 68, 0.3) 100%),
      url("assets/family-resilience-hero-flipped.png") center bottom / cover no-repeat;
  }

  .hero-emblem {
    position: relative;
    inset: auto;
    width: min(250px, 62vw);
    justify-self: center;
    margin-top: -4px;
  }

  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommendations-grid {
    grid-template-columns: 1fr;
  }

  .contact-logo {
    position: static;
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 12px auto 12px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition-property: opacity, transform;
    transition-duration: 180ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: center;
    min-height: 46px;
  }

  .section-shell,
  .path-section {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    gap: 28px;
    min-height: 820px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-emblem {
    width: min(210px, 58vw);
    margin-top: -12px;
  }

  .split-section,
  .activity-section,
  .path-section,
  .recommendations-section,
  .contact-section,
  .repair-section {
    padding: 58px 0;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid article {
    min-height: auto;
  }

  .floating-note {
    right: 10px;
  }

  .repair-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 247, 246, 0.9)),
      url("assets/poster-heart-belt.png") center bottom / 220px auto no-repeat;
    padding-bottom: 210px;
  }

  .repair-card::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 74%, rgba(255, 255, 255, 0.35) 100%);
  }

  .contact-panel {
    border-radius: 22px;
  }

  .contact-link {
    overflow-wrap: anywhere;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }
}
