/* =========================================================
   TechniCollege — base stylesheet (direction-agnostic: works LTR and RTL)
   Shared base; the Australian theme is layered on top in au-theme.css
   ========================================================= */

:root{
  --navy: #14224a;
  --navy-2: #1c3168;
  --blue: #2f5ea6;
  --blue-light: #eaf1fb;
  --blue-lighter: #f5f8fd;
  --gold: #e0a53c;
  --ink: #1f2430;
  --muted: #5b6472;
  --paper: #ffffff;
  --bg: #f6f8fb;
  --bg-alt: #eef2f9;
  --border-soft: #e2e7f0;
  --text-on-dark: #f2f4f9;
  --text-on-dark-muted: #b7c1d6;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20,34,74,0.07);
  --shadow-md: 0 12px 30px rgba(20,34,74,0.12);
  --shadow-lg: 0 24px 60px rgba(20,34,74,0.18);
  --font-head: 'Rubik', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Assistant', 'Segoe UI', Arial, sans-serif;
  --container-w: 1180px;
  --font-scale: 1;
}

*, *::before, *::after{ box-sizing: border-box; }
/* Text size from the display settings scales the root, so all rem-sized text follows. */
html{ scroll-behavior: smooth; font-size: calc(100% * var(--font-scale)); }
[hidden]{ display: none !important; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  direction: inherit; /* comes from <html dir> — rtl for Hebrew, ltr for en-US */
  text-align: start;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, textarea{ font-family: inherit; }

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.25;
  font-weight: 700;
}

p{ margin: 0 0 1em; color: var(--muted); }

.container{
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link{
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 999;
  border-end-end-radius: 8px;
  font-weight: 700;
}
.skip-link:focus{ inset-inline-start: 0; }

.text-accent{ color: var(--blue); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary{
  background: var(--navy);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--navy-2); box-shadow: var(--shadow-md); }
.btn-outline{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover{ background: var(--navy); color: var(--text-on-dark); }
.btn-gold{
  background: linear-gradient(135deg, #f0bd63, var(--gold));
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(224,165,60,0.35);
}
.btn-gold:hover{ box-shadow: 0 14px 32px rgba(224,165,60,0.45); }
.btn-lg{ padding: 17px 34px; font-size: 1.05rem; }
.btn-sm{ padding: 10px 20px; font-size: .9rem; }
.btn-block{ width: 100%; white-space: normal; text-align: center; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(246,248,251,0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo{ display: flex; align-items: center; flex-shrink: 0; }
.logo-img{ height: 48px; width: auto; }

.main-nav ul{ display: flex; align-items: center; gap: 28px; }
.main-nav a{
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after{
  content: "";
  position: absolute;
  inset-inline-start: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: 14px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}
.nav-toggle span{
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 40px;
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}
.eyebrow{
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: .2px;
}
.hero h1{
  font-size: clamp(2.1rem, calc(4vw * var(--font-scale)), 3.3rem);
  letter-spacing: -0.5px;
  margin-bottom: .45em;
}
.hero-sub{
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 1.8em;
}
.hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media img{
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 5/4;
}
.hero-shape{
  position: absolute;
  inset-inline-start: -180px;
  top: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,94,166,0.14), rgba(47,94,166,0) 70%);
  z-index: -1;
}

/* ---------- Sections (generic) ---------- */
.section{ padding: 88px 0; }
.section-alt{ background: var(--bg-alt); }
.section-dark{
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 20%, rgba(47,94,166,0.22), transparent 45%);
}
.section-head{ max-width: 680px; margin-bottom: 48px; }
.section-head p{ font-size: 1.05rem; }
.section-head-light h2, .section-head-light p{ color: var(--text-on-dark); }
.section-head-light p{ color: var(--text-on-dark-muted); }
.section-tag{
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}
.section-head-light .section-tag{ color: #9fc0ef; }
.section-head h2{ font-size: clamp(1.7rem, calc(3vw * var(--font-scale)), 2.3rem); }

/* ---------- Grids ---------- */
.grid{ display: grid; gap: 24px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

/* ---------- Feature cards ---------- */
.feature-card{
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.icon-badge{
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 18px;
}
.feature-card h3{ font-size: 1.08rem; margin-bottom: .4em; }
.feature-card p{ font-size: .93rem; margin-bottom: 0; }

/* ---------- Modules / Syllabus accordion ---------- */
.modules-list{ display: flex; flex-direction: column; gap: 14px; }
.module-item{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.module-item summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  color: var(--text-on-dark);
  font-family: var(--font-head);
  font-weight: 600;
}
.module-item summary::-webkit-details-marker{ display: none; }
.module-num{
  font-family: var(--font-head);
  font-weight: 800;
  color: #9fc0ef;
  font-size: 1.05rem;
  flex-shrink: 0;
  width: 34px;
}
.module-title{ flex: 1; font-size: 1.05rem; }
.module-toggle{
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
}
.module-toggle::before, .module-toggle::after{
  content: "";
  position: absolute;
  background: var(--text-on-dark);
  top: 50%; left: 50%;
}
.module-toggle::before{ width: 10px; height: 1.6px; transform: translate(-50%,-50%); }
.module-toggle::after{ width: 1.6px; height: 10px; transform: translate(-50%,-50%); transition: transform .2s ease, opacity .2s ease; }
.module-item[open] .module-toggle::after{ opacity: 0; transform: translate(-50%,-50%) rotate(90deg); }
.module-item[open] .module-toggle{ background: var(--gold); border-color: var(--gold); }
.module-item[open] .module-toggle::before, .module-item[open] .module-toggle::after{ background: var(--navy); }
.module-body{ padding: 0 26px 22px 26px; }
.module-body p{ color: var(--text-on-dark-muted); margin-bottom: 0; padding-inline-start: 52px; font-size: .96rem; }

/* ---------- Gallery carousel ---------- */
.gallery-viewport{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  max-width: var(--container-w);
  margin-inline: auto;
}
.gallery-track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  flex: 1;
}
.gallery-track::-webkit-scrollbar{ height: 8px; }
.gallery-track::-webkit-scrollbar-thumb{ background: var(--border-soft); border-radius: 8px; }
.gallery-slide{
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.gallery-slide img{ width: 300px; height: 220px; object-fit: cover; }
.gallery-arrow{
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--paper);
  color: var(--navy);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.gallery-arrow:hover{ background: var(--blue-light); }

/* ---------- Pricing ---------- */
.pricing-grid{ align-items: stretch; }
.price-card{
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.price-card-featured{
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.price-badge{
  position: absolute;
  top: -14px;
  inset-inline-start: 36px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .82rem;
  padding: 6px 16px;
  border-radius: 999px;
}
.price-tagline{ font-size: .95rem; margin-bottom: 1.2em; }
.price-tag{ display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price-amount{ font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.price-currency{ font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.price-features{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; flex: 1; }
.price-features li{ display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.check{ color: var(--blue); font-weight: 800; flex-shrink: 0; }
.pricing-note{ text-align: center; font-size: .92rem; margin-top: 32px; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list{ display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.faq-item{
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 4px 24px;
}
.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--navy);
  position: relative;
  padding-inline-end: 30px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  position: absolute;
  inset-inline-end: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--blue);
}
.faq-item[open] summary::after{ content: "−"; }
.faq-body{ padding-bottom: 18px; }
.faq-body p{ margin-bottom: 0; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy); color: var(--text-on-dark-muted); padding-top: 56px; }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo{ height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p{ margin-top: 10px; max-width: 260px; font-size: .92rem; color: var(--text-on-dark-muted); }
.footer-nav{ display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a{ font-size: .92rem; }
.footer-nav a:hover{ color: #9fc0ef; }
.footer-support{ display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-support h2, .footer-support h3{ color: var(--text-on-dark); font-size: 1rem; margin-bottom: 2px; }
.footer-whatsapp{ display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.footer-whatsapp:hover{ color: #9fc0ef; }
.footer-a11y-link{
  background: transparent; border: none; color: var(--text-on-dark-muted);
  font-size: .88rem; text-decoration: underline; padding: 0;
}
.footer-a11y-link:hover{ color: var(--text-on-dark); }
.footer-bottom{ padding: 20px 0; }
.footer-bottom p{ margin: 0; font-size: .82rem; text-align: center; color: var(--text-on-dark-muted); opacity: .8; }

/* ---------- Scroll to top ---------- */
.scroll-top{
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #9fc0ef;
  border: none;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 150;
}
.scroll-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Accessibility widget ---------- */
.a11y-widget{ position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 300; }
.a11y-toggle{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.a11y-toggle:hover{ background: var(--navy); }
.a11y-panel{
  position: absolute;
  bottom: 62px;
  inset-inline-start: 0;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.a11y-panel h2{ font-size: 1rem; margin-bottom: 6px; }
/* Short screens (landscape phones, large text): the panel scrolls inside itself. */
.a11y-panel{ max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.a11y-btn{
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  text-align: start;
}
.a11y-btn:hover{ background: var(--blue-light); }
.a11y-btn.is-active{ background: var(--blue); color: #fff; border-color: var(--blue); }
.a11y-btn-reset{ background: transparent; border: none; text-decoration: underline; color: var(--muted); justify-content: center; }

/* High contrast mode */
body.a11y-contrast{ background: #000; color: #fff; }
body.a11y-contrast .site-header{ background: #000; border-color: #fff; }
body.a11y-contrast .section-alt, body.a11y-contrast .section{ background: #000; }
body.a11y-contrast h1, body.a11y-contrast h2, body.a11y-contrast h3, body.a11y-contrast h4{ color: #fff; }
body.a11y-contrast p, body.a11y-contrast .main-nav a{ color: #fff; }
body.a11y-contrast .feature-card, body.a11y-contrast .price-card, body.a11y-contrast .faq-item{ background: #111; border-color: #fff; }
body.a11y-contrast a{ color: #ffd866; }
body.a11y-contrast .btn-primary{ background: #ffd866; color: #000; }
/* Complete high-contrast mode: every element white on black (photos and the photo scrim kept), links yellow,
   buttons yellow with black text, fields outlined. Overrides component colours so no dark text is left on black. */
body.a11y-contrast :where(*:not(svg, svg *, img, picture, video, .hero-scrim)){ background-color: #000 !important; color: #fff !important; border-color: #fff !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
body.a11y-contrast a, body.a11y-contrast a *, body.a11y-contrast .footer-link, body.a11y-contrast .req{ color: #ffd866 !important; }
body.a11y-contrast .btn, body.a11y-contrast .btn *, body.a11y-contrast .buy-btn, body.a11y-contrast .buy-now-fab, body.a11y-contrast .buy-now-fab *, body.a11y-contrast button[type="submit"], body.a11y-contrast .a11y-toggle, body.a11y-contrast .a11y-btn.is-active{ background-color: #ffd866 !important; color: #000 !important; }
body.a11y-contrast .btn, body.a11y-contrast button, body.a11y-contrast input, body.a11y-contrast select, body.a11y-contrast textarea{ border: 2px solid #fff !important; }
body.a11y-contrast .field-error, body.a11y-contrast .is-error{ color: #ffb4ab !important; }
body.a11y-contrast .nav-toggle span{ background-color: #fff !important; }
body.a11y-contrast .logo img, body.a11y-contrast .footer-brand img{ background: #fff; border-radius: 6px; padding: 2px 4px; }
body.a11y-contrast :focus-visible{ outline: 3px solid #ffd866 !important; outline-offset: 3px !important; }

/* Underline links mode */
body.a11y-underline a{ text-decoration: underline !important; }

/* Reduced motion mode */
body.a11y-no-motion, body.a11y-no-motion *{ transition: none !important; animation: none !important; scroll-behavior: auto !important; }
html:has(body.a11y-no-motion){ scroll-behavior: auto; }

/* Text spacing mode (the WCAG 1.4.12 values: line height 1.5, paragraph gap 2x, letters .12em, words .16em) */
body.a11y-spacing :where(p, li, dd, dt, label, a, button, summary, blockquote, td, th, h1, h2, h3, h4, h5, h6, .hint){ line-height: 1.8 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
body.a11y-spacing :where(p, li){ margin-bottom: 1em; }
body.a11y-spacing p + p{ margin-top: 1em; }

/* Keyboard focus highlight mode: a thick two-colour ring that shows on any background */
body.a11y-focus :focus{ outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px #000 !important; border-radius: 4px; }

/* Status line in the accessibility panel (also read out by screen readers) */
.a11y-status{ margin: 6px 0 0; min-height: 1.4em; font-size: .9rem; font-weight: 600; color: var(--navy); }
.a11y-status:empty{ display: none; }
.a11y-link{ display: block; margin-top: 8px; font-size: .9rem; text-align: center; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.a11y-btn span[aria-hidden]{ direction: ltr; unicode-bidi: isolate; }

/* ---------- Modals (accessibility statement / buy) ---------- */
.modal{ position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden]{ display: none; }
.modal-backdrop{ position: absolute; inset: 0; background: rgba(20,34,74,0.55); }
.modal-card{
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-close{
  position: absolute;
  top: 16px; inset-inline-end: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--bg-alt);
  font-size: 1rem;
}
.modal-card h2{ margin-bottom: .6em; }
.modal-card p{ font-size: .95rem; }

.buy-summary{ font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.form-row{ margin-bottom: 18px; }
.form-row-split{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label{ display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; color: var(--navy); }
.req{ color: var(--blue); }
.form-row input, .form-row textarea{
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg);
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
}
.form-row input:focus, .form-row textarea:focus{
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
}
.payment-placeholder{
  background: var(--blue-lighter);
  border: 1px dashed var(--blue);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.payment-placeholder p{ margin-bottom: 4px; font-size: .88rem; }
.payment-placeholder p:first-child{ color: var(--navy); font-size: .95rem; }
.payment-note{ color: var(--muted); }
.form-note{ margin-top: 14px; margin-bottom: 0; font-size: .9rem; text-align: center; min-height: 1.4em; color: var(--blue); font-weight: 600; }

/* ---------- Reveal (progressive enhancement only) ----------
   Content is fully visible by default so it never depends on JS
   running. Only if JS confirms IntersectionObserver support do we
   apply a brief, subtle fade-in — safer for accessibility and for
   an older/less tech-savvy audience. */
html.js-reveal .reveal{ opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
html.js-reveal .reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  html.js-reveal .reveal{ opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px){
  .hero-inner{ gap: 36px; }
}

@media (max-width: 900px){
  .main-nav{
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--bg);
    padding: 20px 24px 40px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--border-soft);
  }
  .main-nav.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav ul{ flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav a{ display: block; width: 100%; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle{ display: flex; }
  .header-actions .btn-sm{ display: none; }

  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }

  .grid-3, .grid-2{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .section{ padding: 60px 0; }
  .hero{ padding-top: 36px; }
  .form-row-split{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction: column; }
  .gallery-viewport{ padding: 0 8px; }
  .gallery-arrow{ display: none; }
}

@media (max-width: 480px){
  .container{ padding-inline: 18px; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .hero-cta .btn{ text-align: center; }
  .modal-card{ padding: 26px; }
}

/* =========================================================
   Shared additions (2026-10) — en-US site, legal pages,
   cookie preferences, accessible forms. Direction-agnostic
   (logical properties) so they work in RTL and LTR.
   ========================================================= */

/* Visible keyboard focus everywhere (WCAG 2.4.7 / 2.4.11) */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.form-row input:focus-visible, .form-row select:focus-visible, .form-row textarea:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 1px;
}
.visually-hidden{
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Language switcher */
.lang-switch{ font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: underline; padding: 8px 4px; }

/* Notices */
.notice{
  border-inline-start: 4px solid var(--blue);
  background: var(--blue-lighter);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 0 0 1.2em;
  color: var(--ink);
}
.notice p{ color: var(--ink); }
.notice p:last-child{ margin-bottom: 0; }
.notice-warn{ border-inline-start-color: #b4590a; background: #fff6ec; }
.notice-draft{ border-inline-start-color: #8a1c1c; background: #fdf0f0; }
.notice h2, .notice h3{ font-size: 1.05rem; margin-bottom: .4em; }

.info-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.info-card{ background: var(--paper); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 22px; }
.info-card h3{ font-size: 1.05rem; }
.info-card p, .info-card li{ font-size: .95rem; color: var(--ink); }
.info-card ul{ list-style: disc; padding-inline-start: 1.2em; }

.price-unavailable{ font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.price-meta{ font-size: .88rem; margin-bottom: 18px; }
.btn[disabled], .btn[aria-disabled="true"]{ opacity: .6; cursor: not-allowed; transform: none; }

/* Forms: checkboxes, selects, errors */
.form-row select{
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-soft); border-radius: 12px;
  background: var(--bg); font-size: .98rem; color: var(--ink); font-family: inherit;
}
.check-row{ display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .92rem; color: var(--ink); }
.check-row input{ width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; accent-color: var(--navy); }
.check-row a{ text-decoration: underline; color: var(--blue); }
.field-error{ color: #a8231b; font-size: .86rem; margin: 6px 0 0; font-weight: 600; }
[aria-invalid="true"]{ border-color: #a8231b !important; }
.form-note.is-error{ color: #a8231b; }
.hint{ font-size: .85rem; color: var(--muted); margin: 4px 0 0; }

/* Footer legal links */
.footer-legal{ display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin: 0 0 12px; }
.footer-legal a, .footer-legal button{ font-size: .84rem; color: var(--text-on-dark-muted); text-decoration: underline; background: none; border: 0; padding: 4px 0; }
.footer-legal a:hover, .footer-legal button:hover{ color: var(--text-on-dark); }
.footer-link{ text-decoration: underline; font-size: .92rem; }

/* Legal / content pages */
.legal-page{ padding: 48px 0 72px; }
.legal-page .container{ max-width: 860px; }
.legal-page h1{ font-size: clamp(1.7rem, calc(3vw * var(--font-scale)), 2.3rem); }
.legal-page h2{ font-size: 1.3rem; margin-top: 1.8em; }
.legal-page h3{ font-size: 1.08rem; margin-top: 1.3em; }
.legal-page p, .legal-page li{ color: var(--ink); }
.legal-page ul, .legal-page ol{ list-style: revert; padding-inline-start: 1.4em; margin: 0 0 1em; }
.legal-page li{ margin-bottom: .4em; }
.legal-page a{ color: var(--blue); text-decoration: underline; }
.legal-page table{ width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .93rem; }
.legal-page th, .legal-page td{ border: 1px solid var(--border-soft); padding: 10px 12px; text-align: start; vertical-align: top; }
.legal-page th{ background: var(--bg-alt); color: var(--navy); }
.table-wrap{ overflow-x: auto; }
.doc-meta{ font-size: .9rem; color: var(--muted); }
.breadcrumb ol{ display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.breadcrumb li + li::before{ content: "/"; margin-inline-end: 6px; color: var(--muted); }
.legal-index{ display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 12px; list-style: none !important; padding: 0 !important; }
.legal-index a{ display: block; background: var(--paper); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; font-weight: 600; text-decoration: none !important; color: var(--navy) !important; }
.legal-index a:hover{ border-color: var(--blue); }

/* Cookie / tracking preferences */
.cookie-banner{
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 450;
  max-width: 760px; margin-inline: auto;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
}
.cookie-banner h2{ font-size: 1.05rem; margin-bottom: .4em; }
.cookie-banner p{ font-size: .92rem; color: var(--ink); }
.cookie-banner a{ color: var(--blue); text-decoration: underline; }
.cookie-actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn{ padding: 11px 20px; font-size: .92rem; }
.cookie-category{ border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.cookie-category legend{ font-weight: 700; color: var(--navy); padding: 0 4px; }
.cookie-category p{ font-size: .9rem; color: var(--ink); margin: 6px 0 0; }
.cookie-category .check-row{ margin-bottom: 0; font-weight: 600; }
.cookie-status{ font-size: .9rem; font-weight: 600; color: var(--blue); min-height: 1.3em; }

@media (max-width: 480px){
  .cookie-actions .btn{ width: 100%; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn:hover{ transform: none; }
}
@media (forced-colors: active){
  .btn, .cookie-banner, .modal-card{ border: 1px solid CanvasText; }
}
/* LTR fields (phone/email) inside the RTL Hebrew form stay right-aligned.
   Done in CSS rather than inline style so the CSP needs no 'unsafe-inline'. */
[dir="rtl"] .buy-form input[dir="ltr"]{ text-align: right; }
.main-nav a{ white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 901px){
  .main-nav ul{ gap: 18px; }
  .main-nav a{ font-size: .9rem; }
}
.link-button{ background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

/* =========================================================
   en-US method-led homepage (2026-10-19)
   ========================================================= */
.hero-lead{
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  font-size: clamp(1.1rem, calc(2vw * var(--font-scale)), 1.3rem); line-height: 1.4; margin-bottom: .8em; max-width: 560px;
}
.hero-price{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: -.4em 0 1.4em; }
.hero-price-amount{ font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy); }
.hero-price-note{ font-size: .95rem; color: var(--muted); }
.hero-disclosure{ font-size: .88rem; margin: 1.2em 0 0; }
.hero-disclosure a{ color: var(--blue); text-decoration: underline; }

.method-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.method-step{
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md); padding: 26px 24px;
}
.method-step h3{ color: var(--text-on-dark); font-size: 1.1rem; }
.method-step p{ color: var(--text-on-dark-muted); margin: 0; font-size: .97rem; }
.method-num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 14px;
  background: var(--gold); color: var(--navy); font-family: var(--font-head); font-weight: 800;
}
.section-head-light p + p{ margin-top: -.2em; }

.mistake-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 28px; }
.mistake-list li{
  display: flex; align-items: center; gap: 12px; background: var(--paper);
  border: 1px solid var(--border-soft); border-inline-start: 4px solid #b4590a;
  border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink);
}

.outcome-list{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 28px; }
.outcome-list li{
  position: relative; padding-inline-start: 30px; color: var(--ink); font-size: .98rem;
}
.outcome-list li::before{
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--blue); font-weight: 800;
}
.outcome-list strong{ color: var(--navy); }

.single-package{ max-width: 600px; margin: 0 auto 56px; }
.single-package .price-card h3{ font-size: 1.3rem; }
.price-sales-note{ text-align: center; margin-top: 12px; }
.subhead{ font-size: 1.35rem; margin-bottom: 20px; }

.cta-band{ background: var(--navy); }
.cta-inner{ max-width: 720px; margin-inline: auto; text-align: center; }
.cta-inner h2{ color: var(--text-on-dark); font-size: clamp(1.6rem, calc(3vw * var(--font-scale)), 2.2rem); }
.cta-inner p{ color: var(--text-on-dark-muted); font-size: 1.08rem; }
.cta-inner strong{ color: var(--text-on-dark); }
.cta-inner .hero-cta{ justify-content: center; margin-top: 8px; }
.btn-outline-light{ background: transparent; border-color: var(--text-on-dark); color: var(--text-on-dark); }
.btn-outline-light:hover{ background: var(--text-on-dark); color: var(--navy); }
@media (max-width: 480px){
  .outcome-list{ grid-template-columns: 1fr; }
  .hero-price-amount{ font-size: 1.7rem; }
}

/* Checkout status page */
.status-panel{ background: var(--paper); border: 1px solid var(--border-soft); border-inline-start: 4px solid var(--blue); border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 20px; }
.status-panel p{ margin: 0; color: var(--ink); font-size: 1.05rem; }
.status-summary{ display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 20px; }
.status-summary dt{ font-weight: 700; color: var(--navy); }
.status-summary dd{ margin: 0; color: var(--ink); }
