/* ==========================================
   COMPONENTS — דנית חולי
   ========================================== */

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--ease), box-shadow var(--ease);
  padding: 0 var(--s4);
}

.navbar.scrolled {
  background: rgba(248,245,240,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm);
}

/* Keep the pill appearance when on the hero page even after scrolled
   — only adjust visual styling, but keep the nav positioned as a pill. */
.navbar.hero-mode.scrolled {
  /* full-width white bar when scrolled: flush to page edges */
  background: var(--white) !important;
  box-shadow: var(--sh-sm);
  padding: 0 !important; /* remove nav padding so bar is flush to edges */
  border-radius: 0 !important;
}

.navbar.hero-mode.scrolled .nav-inner {
  /* keep the inner container positioning identical to the initial state
     but remove the pill background so the outer bar fills the page */
  background: transparent;
  border-radius: 0;
  padding: 0 1.5rem; /* preserve horizontal spacing for internal items */
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

/* Navbar בצורת pill צף מעל ה-hero */
.navbar.hero-mode {
  top: 1.2rem;
  height: auto;
  padding: 0 1.5rem;
  background: transparent;
}

.navbar.hero-mode .nav-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 26px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.045);
  /* increase internal padding so the logo sits away from the frame edge (~0.5cm) */
  padding: 0 1.2rem 0 0.6rem;
  height: 56px;
  gap: 1.2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.hero-mode .nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-inline-end: 1rem;
  padding-inline-end: 1rem;
  border-inline-end: 1px solid rgba(58,104,104,0.12);
  /* vertically center the logo content inside the pill;
     flex-start = right edge in RTL, so name and subtitle share the same edge */
  justify-content: center;
  align-items: flex-start;
}

.navbar.hero-mode .nav-logo-name {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 800;
}

.navbar.hero-mode .nav-logo-sub {
  font-size: 0.65rem;
  color: var(--text-soft);
}

.navbar.hero-mode .nav-links {
  /* in RTL layout keep menu items to the right side of the pill (next to the logo) */
  margin-inline-end: auto;
  gap: 1.8rem;
  align-items: center;
}

/* Pin the contact group (icons + CTA) visually to the left inside the pill */
.navbar.hero-mode .nav-actions {
  position: absolute;
  inset-inline-end: 12px; /* logical: visual left in RTL */
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  margin: 0 !important;
}

/* ensure the nav-links have enough space on the visual-left side so the absolute CTA doesn't overlap */
.navbar.hero-mode .nav-links { padding-inline-end: 190px; }

.navbar.hero-mode .nav-links a {
  color: var(--text);
  font-size: 0.92rem;
  position: relative;
  transition: color 0.2s ease;
}

.navbar.hero-mode .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.navbar.hero-mode .nav-links a:hover {
  color: var(--teal);
}

.navbar.hero-mode .nav-links a:hover::after {
  width: 100%;
}

.nav-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-name {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  transition: color var(--ease-fast);
}

.nav-logo-sub {
  font-family: var(--font-b);
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.nav-links a {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
  position: relative;
  transition: color var(--ease-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: var(--r-pill);
  transition: left var(--ease-fast);
}

.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { left: 0; }

.nav-cta-btn {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--r-pill);
  font-weight: 600 !important;
  transition: background var(--ease-fast), transform var(--ease-fast) !important;
}

.nav-cta-btn::after { display: none !important; }

.nav-cta-btn:hover {
  background: var(--teal-light) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: var(--r-pill);
  transition: var(--ease-fast);
}

/* Inner pages: before scrolling, the bar is transparent over the dark .page-hero —
   switch the logo, links and hamburger to light colors so they stay readable */
.navbar:not(.hero-mode):not(.scrolled) .nav-logo-name { color: var(--white); }
.navbar:not(.hero-mode):not(.scrolled) .nav-logo-sub { color: rgba(255,255,255,0.8); }
.navbar:not(.hero-mode):not(.scrolled) .nav-links a:not(.nav-cta-btn) { color: rgba(255,255,255,0.92); }
.navbar:not(.hero-mode):not(.scrolled) .nav-links a:not(.nav-cta-btn):hover { color: var(--white); }
.navbar:not(.hero-mode):not(.scrolled) .nav-cta-btn { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.5); }
.navbar:not(.hero-mode):not(.scrolled) .hamburger span { background: var(--white); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  right: 0;
  left: 0;
  background: var(--bg);
  box-shadow: var(--sh-md);
  padding: var(--s3) var(--s4);
  z-index: 999;
  flex-direction: column;
  gap: var(--s2);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--ease-fast);
}

.mobile-menu a:hover { color: var(--teal); }

/* Inner pages: same arrangement as the home page — links sit on the right, right after
   the logo (with a thin divider), and the "צור קשר" button is pushed to the far left */
@media (min-width: 901px) {
  .navbar:not(.hero-mode) .nav-logo {
    margin-inline-end: var(--s3);
    padding-inline-end: var(--s3);
    border-inline-end: 1px solid rgba(58,104,104,0.15);
  }
  .navbar:not(.hero-mode):not(.scrolled) .nav-logo { border-inline-end-color: rgba(255,255,255,0.3); }
  .navbar:not(.hero-mode) .nav-links { flex: 1; gap: 1.8rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* Home page pill on mobile: the CTA sat on top of the hamburger — move it beside it */
@media (max-width: 900px) {
  .navbar.hero-mode .nav-actions { inset-inline-end: 64px; }
  .navbar.hero-mode .nav-cta-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem;
  }
}

/* "צרו קשר" with WhatsApp + Instagram icons to its right — same group on every page */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.nav-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: background var(--ease-fast), color var(--ease-fast);
}

.nav-icon .icon { width: 20px; height: 20px; }

.nav-icon:hover { background: var(--teal-pale); }

.nav-actions .nav-cta-btn { margin-inline-start: 0.4rem; }

/* inner pages before scrolling: light icons over the dark page hero */
.navbar:not(.hero-mode):not(.scrolled) .nav-icon { color: var(--white); }
.navbar:not(.hero-mode):not(.scrolled) .nav-icon:hover { background: rgba(255,255,255,0.16); }

/* phones: icons move into the menu; the CTA stays next to the hamburger */
@media (max-width: 900px) {
  .nav-icon { display: none; }
  .navbar:not(.hero-mode) .nav-actions { margin-inline-start: auto; margin-inline-end: var(--s2); }
  .navbar:not(.hero-mode) .nav-cta-btn { padding: 8px 16px !important; font-size: 0.85rem; }
}

.mobile-menu-social {
  display: flex;
  gap: var(--s2);
  padding-top: var(--s3);
}

.mobile-menu-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-pale);
  color: var(--teal);
}

.mobile-menu-social .icon { width: 22px; height: 22px; }

/* ==========================================
   HERO
   ========================================== */

/* Sticky wrapper — 220 "screen heights" (--vh, set once by main.js so the phone
   keyboard opening doesn't shrink the hero and make the page jump) */
.hero-wrapper {
  /* reduce the 'hang' after the fullscreen state so scrolling continues sooner */
  height: calc(var(--vh, 1vh) * 220);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}

.hero {
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* Floating text above the image */
.hero-text-above {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 5.5rem 2rem 2rem;
  transition: opacity 0.3s ease;
}

.hero-tag-above {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.4rem 1.2rem;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero-title-above {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0; /* remove gap to CTA */
}

.hero-title-above span {
  color: var(--teal);
}

.hero-subtitle-above {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto 1.8rem;
}

.hero-actions-above {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* hero-frame: wrapper שמקבל clip-path animation מה-JS */
.hero-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* round the initial hero card more noticeably and hide overflow */
.hero-frame, .hero-bg {
  border-radius: 96px; /* much more pronounced rounded corners in initial state */
  overflow: hidden;
}

/* slightly reduce the visible image scale in its initial state so the interior area appears smaller */
.hero-bg {
  transform: scale(0.99);
  transition: transform 0.45s var(--ease-fast);
}

/* when hero is expanded (JS should toggle .expanded), remove the shrink so it fills the frame */
.hero-sticky.expanded .hero-bg,
.hero-frame.expanded .hero-bg {
  transform: scale(1);
}

/* Remove rounding when hero is expanded to fullscreen so edges are flush */
.hero-sticky.expanded .hero-frame,
.hero-sticky.expanded .hero-bg,
.hero-frame.expanded .hero-frame,
.hero-frame.expanded .hero-bg,
.hero-sticky.expanded-soft .hero-frame,
.hero-sticky.expanded-soft .hero-bg,
.hero-frame.expanded-soft .hero-frame,
.hero-frame.expanded-soft .hero-bg {
  border-radius: 0 !important;
}

.hero-actions-above { margin-top: 0.4rem; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Soft shade only at the bottom, behind the text — the sculptures and sky keep their real colours */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* bottom shade + a soft shade from the right edge, behind the text block —
     the sculptures in the middle stay clear */
  background:
    linear-gradient(to left, rgba(20,32,32,0.7) 0%, rgba(20,32,32,0.45) 32%, rgba(20,32,32,0) 58%),
    linear-gradient(to top, rgba(24,36,36,0.78) 0%, rgba(24,36,36,0.45) 22%, rgba(24,36,36,0) 45%);
  z-index: 1;
}

/* on narrow screens the text spans the whole width — shade the lower half evenly */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(to top, rgba(20,32,32,0.88) 0%, rgba(20,32,32,0.7) 55%, rgba(20,32,32,0) 92%);
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  /* only once the text appears — the small card before it stays bright */
  .hero-frame.expanded-soft .hero-overlay { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s4);
  padding-top: var(--nav-h);
  width: 100%;
}

/* when the hero expands to fullscreen, add extra vertical gap under the navbar
   so the content (texts & buttons) don't feel crowded under the pill */
/* Text block sits low, on the dark ground of the photo, so it never covers the sculptures */
.hero-frame {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-sticky.expanded .hero-content,
.hero-frame.expanded .hero-content,
.hero-sticky.expanded-soft .hero-content,
.hero-frame.expanded-soft .hero-content,
.hero-content {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
}

.hero-inner {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  background: rgba(196,169,109,0.2);
  border: 1px solid rgba(196,169,109,0.5);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  margin-bottom: var(--s3);
  backdrop-filter: blur(6px);
}

.hero-tag span {
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.25rem; /* tighter to the following CTA */
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle-secondary {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.hero-title .highlight {
  color: #F3DC9A; /* lighter gold so it reads on the photo */
}

.hero-title,
.hero-subtitle {
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}


.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: 1rem; /* reduce large gap when expanded */
  max-width: 640px;
}

/* two short paragraphs under the title */
.hero-subtitle p {
  color: inherit;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  margin: 0 0 0.6rem;
}

.hero-actions {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-family: var(--font-h);
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
  .hero { min-height: calc(var(--vh, 1vh) * 90); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ==========================================
   APPROACH SECTION
   ========================================== */

/* Two columns: intro text (right) · layer cards (left) */
.approach-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--s7);
  align-items: center;
}

.approach-intro .lead {
  margin-top: var(--s1);
}

.approach-intro .btn {
  margin-top: var(--s4);
}

#approach .approach-layers {
  margin: 0;
}

.approach-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 100%;
  align-self: stretch;
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.approach-image:hover img {
  transform: scale(1.04);
}

.approach-image-badge { display: none !important; }

.approach-layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: var(--s3) 0;
  max-width: 940px;
}

/* Layer card — closed: [image] [title + summary] [+]
                 open:   details slide open under the text */
.approach-layer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon body  toggle"
    ".    extra extra";
  column-gap: 1.1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  padding-inline-start: 0.75rem;
  border-radius: var(--r-md);
  background: var(--white);
  border-inline-start: 3px solid transparent;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: box-shadow var(--ease), border-color var(--ease), background-color var(--ease);
}

.approach-layer:hover {
  box-shadow: var(--sh-md);
}

.approach-layer:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.approach-layer.open {
  border-inline-start-color: var(--gold);
  box-shadow: var(--sh-md);
}

/* Round "window" — the watercolor fills it instead of floating in a square */
.approach-layer-icon {
  grid-area: icon;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-light);
  box-shadow: 0 0 0 1px rgba(196,169,109,0.25);
  flex-shrink: 0;
}

.approach-layer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  transition: transform var(--ease);
}

.approach-layer:hover .approach-layer-icon img,
.approach-layer.open .approach-layer-icon img {
  transform: scale(1.45);
}

.approach-layer-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.approach-layer h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.approach-layer-body p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
  color: var(--text-soft);
}

/* + that turns into × when open */
.approach-layer-toggle {
  grid-area: toggle;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease);
}

.approach-layer-toggle::before,
.approach-layer-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--teal);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: background-color var(--ease);
}

.approach-layer-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.approach-layer.open .approach-layer-toggle {
  transform: rotate(45deg);
  background: var(--teal);
  border-color: var(--teal);
}

.approach-layer.open .approach-layer-toggle::before,
.approach-layer.open .approach-layer-toggle::after {
  background: var(--white);
}

/* Details — height animates from 0 via grid rows */
.approach-layer-extra {
  grid-area: extra;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows var(--ease), opacity var(--ease);
}

.approach-layer-extra > div {
  overflow: hidden;
  min-height: 0;
}

.approach-layer.open .approach-layer-extra {
  grid-template-rows: 1fr;
  opacity: 1;
}

.approach-layer-extra p {
  margin: 0.7rem 0 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
}

.approach-layer-extra strong {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 600px) {
  .approach-layer {
    grid-template-areas:
      "icon  body  toggle"
      "extra extra extra";
    column-gap: 0.85rem;
  }
  .approach-layer-icon {
    width: 60px;
    height: 60px;
  }
}

#approach .section-title {
  color: var(--dark);
}

#approach .section-label {
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .approach-layers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
  .approach-image { aspect-ratio: 3/2; }
}

/* ==========================================
   HEALING CIRCLE
   ========================================== */

.healing-circle-section {
  text-align: center;
}

.healing-circle-image {
  max-width: 500px;
  margin: var(--s5) auto 0;
  filter: drop-shadow(var(--sh-md));
  transition: transform 0.6s ease;
}

.healing-circle-image:hover {
  transform: scale(1.02) rotate(1deg);
}

.healing-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s2);
  margin-top: var(--s5);
}

.healing-step {
  text-align: center;
  padding: var(--s3) var(--s2);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--sh-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: default;
}

.healing-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}

.healing-step-num {
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.healing-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .healing-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .healing-steps-grid { grid-template-columns: 1fr 1fr; }
}

/* Interactive circle (home page): hotspots over the image + explanation panel */
.healing-circle-grid {
  align-items: center;
  margin-top: var(--s5);
}

.healing-circle-interactive {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

.healing-circle-map {
  position: relative;
  filter: drop-shadow(0 18px 40px rgba(58,104,104,0.18));
}

.healing-circle-map img {
  width: 100%;
}

/* Invisible round click target on each word — the visual feedback is the word turning gold */
.healing-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  z-index: 3;
}

.healing-hotspot-center {
  width: 30%;
}

.healing-hotspot:focus-visible {
  outline: none; /* focus is shown by the word turning gold */
}

/* Gold word: a gold image cut to the exact letters of each word in the artwork.
   On hover / when selected it is revealed from right to left (reading direction).
   (A plain <img>, not a CSS mask — masks are blocked when the page is opened as a local file.) */
.healing-word {
  position: absolute;
  pointer-events: none;
  /* soft cream halo around the letters — the glow lives on the wrapper,
     the img inside is the word cut out of the artwork in its own colors */
  filter:
    drop-shadow(0 0 1.5px rgba(255, 252, 244, 1))
    drop-shadow(0 0 3px rgba(255, 250, 238, 0.95))
    drop-shadow(0 0 10px rgba(58, 104, 104, 0.6));
}

.healing-word img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.healing-word.is-hover img,
.healing-word.is-active img {
  opacity: 1;
}

/* the selected word keeps breathing softly */
.healing-word.is-active {
  animation: wordGlow 2.6s ease-in-out infinite;
}

@keyframes wordGlow {
  50% {
    filter:
      drop-shadow(0 0 2px rgba(255, 252, 244, 1))
      drop-shadow(0 0 4px rgba(255, 250, 238, 1))
      drop-shadow(0 0 16px rgba(58, 104, 104, 0.75));
  }
}

@media (prefers-reduced-motion: reduce) {
  .healing-word.is-active { animation: none; }
}

/* Position of each word on the image (generated from the artwork) */
.healing-word[data-step="1"] { left: 72.01%; top: 27.85%; width: 6.45%; }
.healing-word[data-step="2"] { left: 77.14%; top: 46.46%; width: 10.33%; }
.healing-word[data-step="3"] { left: 69.94%; top: 65.38%; width: 12.84%; }
.healing-word[data-step="4"] { left: 53.73%; top: 77.85%; width: 12.46%; }
.healing-word[data-step="5"] { left: 34.38%; top: 77.85%; width: 9.02%; }
.healing-word[data-step="6"] { left: 17.97%; top: 65.38%; width: 9.39%; }
.healing-word[data-step="7"] { left: 11.71%; top: 46.65%; width: 9.64%; }
.healing-word[data-step="8"] { left: 17.09%; top: 28.16%; width: 9.27%; }
.healing-word[data-step="9"] { left: 32.31%; top: 16.20%; width: 11.21%; }
.healing-word[data-step="10"] { left: 55.42%; top: 16.20%; width: 9.83%; }

.healing-circle-hint {
  margin-top: var(--s2);
  font-size: 0.92rem;
  color: var(--text-soft);
}

.healing-panel {
  text-align: right;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: var(--s5) var(--s5) var(--s4);
  border-top: 4px solid var(--gold);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.healing-panel-body {
  flex: 1;
}

.healing-step-content {
  animation: healingFade 0.5s ease both;
}

@keyframes healingFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.healing-panel-num {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--s1);
}

.healing-panel h3 {
  color: var(--teal);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--s2);
}

.healing-panel-tagline {
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.6;
}

.healing-panel p + p {
  margin-top: var(--s2);
}

.healing-panel-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}

.healing-panel-btn {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
  padding: 10px 20px;
  min-height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  transition: background-color var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast);
}

.healing-panel-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

@media (max-width: 768px) {
  .healing-panel {
    padding: var(--s4) var(--s3) var(--s3);
    min-height: 0;
  }
}

/* ==========================================
   SERVICE CARDS
   ========================================== */

/* Four compact columns in one row */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.service-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}

.service-card-top {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-card-top img {
  transform: scale(1.06);
}

.service-card-body {
  padding: var(--s3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-tag {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.service-card-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: var(--s1);
  line-height: 1.35;
}

.service-card-body p {
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--s2);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal);
  margin-top: auto;
  transition: gap var(--ease-fast), color var(--ease-fast);
}

.service-card-link:hover {
  gap: 10px;
  color: var(--teal-light);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   WHO IS IT FOR
   ========================================== */

.who-for-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s5);
}

.who-for-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  padding: var(--s3);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.5);
  transition: background var(--ease-fast);
}

.who-for-item:hover {
  background: var(--white);
  box-shadow: var(--sh-sm);
}

.who-for-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.who-for-item p {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .who-for-list { grid-template-columns: 1fr; }
}

/* ==========================================
   ABOUT PREVIEW
   ========================================== */

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: center;
}

.about-preview-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview-img-frame {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: var(--r-lg);
  z-index: -1;
}

.about-preview-quote {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.5;
  border-right: 4px solid var(--gold);
  padding-right: var(--s3);
  margin: var(--s4) 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
  .about-preview-img { aspect-ratio: 4/3; }
}

/* ==========================================
   FLIGHT MODEL
   ========================================== */

.flight-model-diagram {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin: var(--s5) 0;
}

.flight-part {
  text-align: center;
  padding: var(--s5) var(--s3);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.flight-part:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}

.flight-part-icon {
  font-size: 3.5rem;
  margin-bottom: var(--s3);
  line-height: 1;
}

.flight-part h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.flight-part-role {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s2);
  opacity: 0.75;
}

.flight-part p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.85;
}

.flight-part-pilot {
  background: var(--teal);
  color: var(--white);
}

.flight-part-pilot h3,
.flight-part-pilot p { color: var(--white); }

.flight-part-navigator {
  background: var(--cream-light);
  color: var(--text);
  border: 2px solid var(--cream);
}

/* light card inside .section-dark — override its white h3/p */
.flight-part-navigator h3 { color: var(--teal); }
.flight-part-navigator p { color: var(--text); }

.flight-part-engine {
  background: var(--gold);
  color: var(--white);
}

.flight-part-engine h3,
.flight-part-engine p { color: var(--white); }

@media (max-width: 768px) {
  .flight-model-diagram { grid-template-columns: 1fr; }
}

/* Home page: Danit's story above the cards */
.flight-story {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-dark .flight-story p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 var(--s3);
}

.flight-story em { color: #F3DC9A; }

.flight-imagine {
  text-align: center;
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  margin: var(--s5) auto 0;
}

.section-dark .flight-imagine { color: #F3DC9A; }

/* Question card — the answer fades in on hover (mouse) or tap / Enter (.is-open).
   Both faces share one grid cell, so the card is as tall as its longer face. */
.flight-flip {
  display: grid;
  cursor: pointer;
  padding: var(--s4) var(--s3);
}

.flight-face {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.flight-face-back {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

.flight-flip.is-open .flight-face-front,
.flight-flip:focus-visible .flight-face-front { opacity: 0; transform: translateY(-14px); }
.flight-flip.is-open .flight-face-back,
.flight-flip:focus-visible .flight-face-back { opacity: 1; transform: none; }

@media (hover: hover) {
  .flight-flip:hover .flight-face-front { opacity: 0; transform: translateY(-14px); }
  .flight-flip:hover .flight-face-back { opacity: 1; transform: none; }
}

.flight-flip:focus-visible { outline: 2px solid #F3DC9A; outline-offset: 4px; }

.flight-part .flight-q {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  opacity: 1;
}

.flight-part .flight-q-sub {
  margin-top: var(--s2);
}

.flight-part .flight-ask {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: var(--s3);
  opacity: 1;
}

.flight-hint {
  display: inline-block;
  align-self: center;
  margin-top: var(--s3);
  font-size: 0.85rem;
  opacity: 0.7;
  border-bottom: 1px solid currentColor;
}

.flight-face-back h3 { font-size: 1.8rem; }

.flight-face-back p { line-height: 1.75; }

@media (prefers-reduced-motion: reduce) {
  .flight-face { transition: none; }
}

/* ==========================================
   CTA BANNER
   ========================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(196,169,109,0.12);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(196,169,109,0.08);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--s2);
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: var(--s5);
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonials-section .section-header {
  margin-bottom: var(--s4);
}

/* One testimonial at a time: [→ prev] [card] [next ←], dots below */
.testimonials-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev view next"
    ".    dots .";
  align-items: center;
  column-gap: var(--s2);
  max-width: 760px;
  margin: 0 auto;
}

.testimonials-viewport {
  grid-area: view;
  overflow: hidden;
  padding: var(--s2) 6px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-track .testimonial-card {
  flex: 0 0 100%;
  text-align: center;
}

.testimonials-track .testimonial-author {
  justify-content: center;
  text-align: right;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 1.2rem;
  box-shadow: var(--sh-sm);
  transition: background-color var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast);
}

.slider-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.slider-prev { grid-area: prev; }
.slider-next { grid-area: next; }

.slider-dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--s2);
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: var(--gray-light);
  transition: background-color var(--ease-fast), transform var(--ease-fast);
}

.slider-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: var(--sh-card);
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
}

.testimonial-quote-mark {
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.8;
  font-family: Georgia, serif;
  margin-bottom: var(--s2);
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--s3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.testimonial-author-detail {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: var(--s2);
  letter-spacing: 2px;
}

@media (max-width: 600px) {
  .testimonials-slider { column-gap: var(--s1); }
  .slider-arrow { width: 40px; height: 40px; font-size: 1rem; }
  .testimonials-track .testimonial-card { padding: var(--s3); }
}

/* ==========================================
   FAQ
   ========================================== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: right;
  padding: var(--s3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  cursor: pointer;
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  transition: color var(--ease-fast);
}

.faq-question:hover { color: var(--teal); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--ease-fast), background var(--ease-fast);
  font-weight: 700;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: var(--s3);
  font-size: 1rem;
  line-height: 1.85;
}

/* ==========================================
   BLOG PREVIEW
   ========================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: transform var(--ease), box-shadow var(--ease);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-md);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.07);
}

.blog-card-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--teal-pale), var(--gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: var(--s3);
}

.blog-card-category {
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s1);
}

.blog-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: var(--s1);
}

.blog-card-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: var(--s2);
}

.blog-card-link {
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease-fast);
}

.blog-card-link:hover { gap: 8px; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   INSTAGRAM FEED
   ========================================== */

.instagram-section {
  text-align: center;
}

.instagram-header {
  margin-bottom: var(--s4);
}

.instagram-header p {
  margin-top: var(--s1);
  font-size: 1rem;
}

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  transition: color var(--ease-fast);
}

.instagram-handle .icon {
  width: 30px;
  height: 30px;
}

.instagram-handle:hover { color: var(--berry); }

/* Live feed (Behold widget) sits here; until it is connected only the button shows */
.instagram-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.instagram-feed behold-widget {
  display: block;
  width: 100%;
  max-width: 760px; /* same width as the FAQ list */
  aspect-ratio: 3 / 2; /* room for the 3×2 grid before it loads, so the page doesn't jump */
}

/* ==========================================
   CONTACT DETAILS
   ========================================== */

.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: var(--white);
  font-family: var(--font-h);
  font-size: 1.05rem;
  transition: color var(--ease-fast);
}

.contact-item > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.contact-item-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--ease-fast), color var(--ease-fast);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--white);
  text-align: center;
}

.form-status a {
  color: var(--gold-light);
  text-decoration: underline;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-item:hover .contact-icon {
  background: var(--gold);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--s7) 0 var(--s4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s6);
  margin-bottom: var(--s6);
}

.footer-brand .nav-logo-name {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.footer-brand .nav-logo-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: var(--s3);
}

/* WhatsApp / email / location under the name and tagline, on every page */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-top: var(--s3);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease-fast);
}

.footer-contact a:hover { color: var(--gold); }

.footer-contact .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--s3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease-fast);
  line-height: 1.8;
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background var(--ease-fast), color var(--ease-fast);
}

.footer-social .icon {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--s3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================
   LECTURES PAGE
   ========================================== */

/* one button per lecture — more get added here over time */
.lecture-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s1);
  margin-bottom: var(--s6);
}

.lecture-tab {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--white);
  transition: background-color var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast);
}

.lecture-tab:hover,
.lecture-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.lecture-soon {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--s6) var(--s4);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
}

.lecture-soon-badge {
  display: inline-block;
  font-family: var(--font-h);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--gold);
  padding: 4px 16px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s3);
}

.lecture-soon .lecture-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lecture-soon p {
  margin: var(--s2) 0 var(--s4);
}

.lecture-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s7);
  align-items: start;
}

.lecture-poster {
  position: sticky;
  top: calc(var(--nav-h) + var(--s3));
  margin: 0;
}

.lecture-poster img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}

.lecture-poster figcaption {
  margin-top: var(--s1);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.nowrap { white-space: nowrap; }

.lecture-title {
  color: var(--teal);
  margin-bottom: var(--s1);
}

.lecture-subtitle {
  font-family: var(--font-h);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: var(--text);
}

.lecture-body p + p {
  margin-top: var(--s2);
}

.lecture-points-title {
  font-size: 1.2rem;
  color: var(--teal);
  margin: var(--s5) 0 var(--s2);
}

.lecture-points {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.lecture-points li {
  position: relative;
  padding-inline-start: 1.5rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.lecture-points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.lecture-points strong {
  color: var(--text);
}

.lecture-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  margin: var(--s5) 0 0;
  padding: var(--s3);
  background: var(--cream-light);
  border-radius: var(--r-md);
}

.lecture-meta dt {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.lecture-meta dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  line-height: 1.6;
}

.lecture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s4);
}

@media (max-width: 900px) {
  .lecture-grid {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }
  .lecture-poster {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .lecture-meta { grid-template-columns: 1fr; }
}

/* ==========================================
   PAGE HERO (inner pages)
   ========================================== */

.page-hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--bg-dark) 100%);
  padding: calc(var(--nav-h) + var(--s7)) 0 var(--s7);
  text-align: center;
  color: var(--white);
}

.page-hero h1 { color: var(--white); }

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: var(--s2) auto 0;
}

/* ==========================================
   BREADCRUMB
   ========================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  justify-content: center;
  margin-bottom: var(--s3);
}

.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--ease-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ==========================================
   STATS / NUMBERS
   ========================================== */

.stats-row {
  display: flex;
  gap: var(--s5);
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 4px;
}

/* ==========================================
   UTILITY: BACK TO TOP
   ========================================== */

.back-to-top {
  position: fixed;
  bottom: var(--s4);
  left: var(--s4);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--sh-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-fast), transform var(--ease-fast);
  cursor: pointer;
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover { transform: translateY(-3px); }

/* Flight model (home): story sits close under the title, not a full section-header gap */
#flight-model .section-header { margin-bottom: var(--s3); }

/* About page: the photo column follows the reader on wide screens only —
   once the columns stack (phones), sticky made the photo cover the story */
@media (min-width: 769px) {
  .about-photo-col { position: sticky; top: 100px; }
}
