/* Layout, order and sizes follow liorfinefinances.co.il/workshop (Noga, 25.11).
   Palette: soft beige, terracotta, soft olive (corrections round 1). Font: Heebo. */
:root {
  --bg: #F5EEE3;          /* beige */
  --card: #FCF8F1;
  --sand: #EADFCF;
  --ink: #3D3029;         /* warm dark brown text */
  --muted: #6E5F53;
  --accent: #B0603F;      /* terracotta */
  --accent-dark: #93492C;
  --accent-soft: #F0DCCD; /* soft fill: refund card, hero circle */
  --accent-on-dark: #EBB08F;
  --dark: #4E5838;        /* deep soft olive, the dark sections */
  --dark-2: #434C30;      /* cards inside the dark sections */
  --on-dark: #FBF6EE;
  --line: #D8C7B1;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  --content: 1169px;
  --gap: 140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Heebo", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 900; margin: 0; }
h2 { font-size: 45px; line-height: 52px; text-align: center; margin-bottom: 60px; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
img { max-width: 100%; }
.line { display: block; }
.accent { color: var(--accent); }
.nw { white-space: nowrap; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

/* Gender note: one thin line above the hero */
.note-line { margin: 0; font-size: 12px; line-height: 28px; max-height: 28px; text-align: center; color: var(--muted); overflow: hidden; }

/* Buttons: pill 47px, accent dot with an arrow */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 47px; padding-inline: 26px 6px;
  background: var(--accent); color: #fff;
  font: inherit; font-size: 19px; font-weight: 700;
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn .dot {
  width: 35px; height: 35px; flex: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .arrow:focus-visible, .soft-link:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn.block { width: 100%; justify-content: center; position: relative; }
.btn.block .dot { position: absolute; inset-inline-end: 6px; }
.btn.quiet { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding-inline: 26px; justify-content: center; }
.btn.quiet:hover { background: var(--sand); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.card {
  background: var(--card); border: 1px solid var(--accent); border-radius: 15px;
  box-shadow: var(--shadow); padding: 28px;
}
.card .icon { width: 36px; height: 36px; color: var(--accent); display: block; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }
.when { font-size: 14px; color: var(--muted); margin: 0 0 4px !important; }

.ph {
  background: var(--sand); border: 1px dashed var(--muted); color: var(--muted);
  font-size: 15px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
}

/* Section spacing (desktop 140px) */
main > section, .s-close, .s-faq { margin-top: var(--gap); }
main > .s-about { margin-top: 64px; }

/* 0. Hero: compact, fits the first screen */
.hero { padding-top: 16px; }
.pill {
  display: inline-block; border: 1px solid var(--accent); border-radius: 999px;
  padding: 3px 14px; font-size: 14px; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(28px, 3.3vw, 45px); line-height: 1.15; text-wrap: balance; margin-bottom: 18px; }
.hero h1 .accent { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.who { font-size: 20px; font-weight: 300; line-height: 1.45; margin-bottom: 10px; }
.who strong { display: block; font-weight: 700; margin-top: 6px; color: var(--accent-dark); }
.desc { font-size: 17px; margin-bottom: 18px; max-width: 560px; }
.cta-block { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.soft-link { font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.refund-card { background: var(--accent-soft); border-radius: 15px; padding: 14px 20px; margin: 18px 0 14px; }
.refund-card strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.3; }
.refund-card p { margin: 2px 0 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { border: 1px solid var(--accent); border-radius: 15px; padding: 8px; text-align: center; }
.stat b { display: block; font-size: 22px; font-weight: 900; line-height: 1.25; }
.stat span { font-size: 13px; color: var(--muted); }
.countdown {
  background: var(--dark); color: var(--on-dark); border-radius: 15px;
  padding: 10px 18px; margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.countdown p { margin: 0; font-size: 15px; }
.cd-row { display: flex; gap: 16px; }
.cd-row span { display: flex; flex-direction: column; align-items: center; font-size: 12px; }
.cd-row b { font-size: 24px; font-weight: 900; line-height: 1.1; color: var(--accent-on-dark); font-variant-numeric: tabular-nums; }

/* Hero photo: accent circle 330px at the bottom of the column. Without a cutout: a round photo on the face. */
.hero-photo { margin: 0; align-self: end; display: flex; justify-content: center; }
.hero-photo img, .hero-photo .ph {
  width: 330px; height: 330px; border-radius: 50%; object-fit: cover; object-position: 50% 35%;
  background: var(--accent-soft); display: block;
}

/* Photos */
.photo { margin: 0 auto; display: block; border-radius: 15px; overflow: hidden; border: 1px solid var(--accent); box-shadow: var(--shadow); }
.photo img, .photo .ph { width: 100%; height: 100%; object-fit: cover; display: flex; }
.photo.wide { width: 960px; max-width: 100%; aspect-ratio: 3 / 2; }
.photo.wide img { object-position: 50% 40%; }
.photo.tall { width: 480px; max-width: 100%; aspect-ratio: 4 / 5; }

/* 3 and 7: dark sections, 50px corners on all four sides */
.dark { background: var(--dark); color: var(--on-dark); border-radius: 50px; padding: 100px 48px; }
.dark h2 .accent { color: var(--accent-on-dark); }
.dark .card { background: var(--dark-2); border-color: var(--accent-on-dark); color: var(--on-dark); }
.dark .when { color: rgba(251, 246, 238, 0.75); }
.num {
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 16px;
  background: var(--accent-on-dark); color: var(--dark-2); font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* Addition: who am I, compact */
.about { display: grid; grid-template-columns: 1fr 200px; gap: 40px; align-items: start; max-width: 900px; }
.about-title { font-size: 30px; margin-bottom: 4px; }
.about .hi { font-weight: 700; color: var(--accent-dark); margin-bottom: 10px; }
.about p { font-size: 17px; margin-bottom: 0.6em; }
.about-photo { margin: 0; }
.about-photo img, .about-photo .ph { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--accent-soft); display: block; }

/* 5. Carousel */
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px 4px 24px;
}
.carousel::-webkit-scrollbar { display: none; }
.c-card {
  scroll-snap-align: start; background: var(--card); border: 1px solid var(--accent);
  border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.c-media { aspect-ratio: 9 / 16; position: relative; overflow: hidden; }
.c-media img, .c-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: flex; }
.c-name { font-weight: 700; font-size: 16px; line-height: 1.35; margin: 12px 14px 2px; }
.c-result { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0 14px 14px; }
.c-media.chat { position: static; overflow: visible; background: #E6DDD0; display: flex; align-items: center; padding: 18px 14px; flex: 1; }
.c-card.quote .c-media.chat .ph { position: static; min-height: 160px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.quotes .bubble { font-size: 16px; padding: 18px 20px; }
.bubble {
  margin: 0; background: #fff; border-radius: 12px 12px 2px 12px; padding: 12px 14px;
  font-size: 15px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.arrows { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.arrow {
  width: 47px; height: 47px; border-radius: 50%; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); font-size: 20px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.arrow:hover { background: var(--sand); }

/* 7. Closing */
#register { scroll-margin-top: 140px; }
.close-box { text-align: center; }
.close-box > * { max-width: 620px; margin-inline: auto; }
.close-box h2 { margin-bottom: 36px; }
.close-box h2 .accent { font-size: 24px; line-height: 1.4; margin-top: 10px; }
.info-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.info-boxes div { background: var(--dark-2); border-radius: 15px; padding: 12px; font-weight: 700; }
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; text-align: right; }
.package { background: var(--card); color: var(--ink); border-radius: 15px; padding: 22px; }
.package.featured { box-shadow: inset 0 0 0 2px var(--accent); }
.package h3 { font-size: 21px; }
.package .price { margin: 8px 0 2px; }
.package .price b { font-size: 32px; font-weight: 900; color: var(--accent-dark); }
.package .price s { font-size: 17px; color: var(--muted); margin-inline-start: 6px; }
.package .meta { font-size: 14px; color: var(--muted); margin: 0; }
.package ul { margin: 12px 0 0; padding-inline-start: 18px; font-size: 16px; }
.package .tag { display: inline-block; margin-top: 12px; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 700; }
.package.soldout { opacity: 0.5; }
.refund-strip { background: var(--accent-soft); color: var(--ink); border-radius: 15px; padding: 14px 18px; margin: 24px auto; font-size: 20px; font-weight: 700; }

.form { display: grid; gap: 12px; text-align: right; }
.form input, .form select {
  height: 43px; border-radius: 15px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); font: inherit; font-size: 16px; padding: 0 14px; width: 100%;
}
.form input::placeholder { color: var(--muted); opacity: 1; }
.form input:focus-visible, .form select:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 1px; }
.form-msg { font-size: 14px; margin: 0; color: var(--accent-soft); text-align: center; }
.form-msg:empty { display: none; }
.consent { font-size: 13px; text-align: center; margin: 0; opacity: 0.9; }
.link-btn { background: none; border: 0; padding: 2px; color: var(--on-dark); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; justify-self: center; }
.done a { color: var(--on-dark); font-weight: 700; }

/* 8. FAQ: its own section before the footer (round 3) */
.s-faq .faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; }
.faq details p { margin: 8px 0 0; font-size: 17px; color: var(--muted); }

/* Floating WhatsApp: small and partly transparent */
.wa-float {
  position: fixed; bottom: 16px; left: 16px; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%; opacity: 0.85;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { opacity: 1; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; opacity: 1; }

/* 8. Footer */
footer.site { text-align: center; font-size: 13px; padding: 80px 16px 40px; }
footer.site .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; }
footer.site a { color: var(--ink); text-decoration: underline; }
footer.site p { margin: 10px 0 0; color: var(--muted); }

/* Entrance animation: fade + slide up 32px, 600ms (JS adds .anim only when motion is allowed) */
.anim .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim .reveal.in { opacity: 1; transform: none; }

/* Thank-you and legal pages */
.page { padding: 32px 0 80px; }
.page .top { padding: 0 0 24px; }
.page .top h1 { font-size: 30px; line-height: 1.2; }
.page .text { max-width: 720px; }
.page h2 { font-size: 28px; line-height: 1.25; text-align: right; margin: 44px 0 14px; }
.page h2.done-title { font-size: 34px; margin-top: 0; }
.pay-box { margin: 28px 0; display: grid; gap: 16px; }
.pay-box .card h3 { font-size: 22px; }
.pay-box .price { font-size: 36px; font-weight: 900; color: var(--accent-dark); margin: 4px 0; }
.pkg-items { margin: 8px 0 0; padding-inline-start: 20px; font-size: 16px; }
.pay-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.plain { list-style: none; padding: 0; margin: 0 0 16px; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.cal-links { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 16px; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal .draft { background: var(--accent-soft); border-radius: 15px; padding: 12px 18px; font-size: 15px; }

/* Tablet */
@media (max-width: 1000px) {
  .cards { gap: 20px; }
  .card { padding: 22px; }
  .hero-photo img, .hero-photo .ph { width: 280px; height: 280px; }
}

/* Mobile (up to 720px): one column, tight gaps between adjoining blocks */
@media (max-width: 720px) {
  body { font-size: 17px; }
  :root { --gap: 100px; }
  h2 { font-size: 27px; line-height: 1.25; margin-bottom: 28px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }

  .hero { text-align: center; }
  .pill { font-size: 13px; }
  .hero h1 { font-size: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .who { font-size: 18px; }
  .desc { margin-inline: auto; }
  .cta-block { flex-direction: column; gap: 10px; }
  .refund-card { text-align: center; }
  .stats { gap: 6px; }
  .stat { padding: 6px 4px; }
  .stat b { font-size: 18px; }
  .stat span { font-size: 12px; }
  .countdown { justify-content: center; }
  .hero-photo { margin-top: 28px; }
  .hero-photo img, .hero-photo .ph { width: 230px; height: 230px; }

  main > .s-wide { margin-top: 16px; }
  main > .s-work { margin-top: 16px; }
  main > .s-tall1 { margin-top: 24px; }
  main > .s-about { margin-top: 24px; }
  .s-proof h2 { margin-bottom: 12px; }
  .s-close { margin-top: 16px; }
  .photo.wide, .photo.tall { width: 100%; }

  .dark { border-radius: 30px; padding: 64px 18px; }
  .about { grid-template-columns: 1fr; gap: 16px; }
  .about-photo { order: -1; }
  .about-photo img, .about-photo .ph { width: 160px; height: 160px; margin: 0 auto; }
  .about-title { font-size: 24px; text-align: center; }
  .about .hi { text-align: center; }

  .carousel { grid-auto-columns: 230px; }
  .quotes { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 16px; }
  .packages { grid-template-columns: 1fr; }
  .close-box h2 .accent { font-size: 19px; }
  .refund-strip { font-size: 18px; }
  .page h2.done-title { font-size: 27px; }
}

/* Accessibility menu (a11y.js). Bottom right; the WhatsApp button is bottom left. */
.a11y-toggle {
  position: fixed; bottom: 16px; right: 16px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--dark); color: var(--on-dark); opacity: 0.9;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.a11y-toggle:hover, .a11y-toggle[aria-expanded="true"] { opacity: 1; }
.a11y-toggle:focus-visible, .a11y-opt:focus-visible, .a11y-statement:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.a11y-panel {
  position: fixed; bottom: 70px; right: 16px; z-index: 60; width: 230px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 15px;
  box-shadow: var(--shadow); padding: 14px; display: grid; gap: 8px; font-size: 16px; text-align: right;
}
.a11y-panel[hidden] { display: none; }
.a11y-title { margin: 0 0 2px; font-weight: 900; font-size: 18px; }
.a11y-opt {
  font: inherit; font-size: 15px; text-align: right; cursor: pointer;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
}
.a11y-opt[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.a11y-reset { background: transparent; }
.a11y-statement { font-size: 14px; color: var(--ink); text-align: center; text-decoration: underline; }

/* What each choice does */
html.a11y-text-1 body { zoom: 1.15; }
html.a11y-text-2 body { zoom: 1.3; }
html.a11y-text-1 .a11y-panel, html.a11y-text-1 .a11y-toggle,
html.a11y-text-2 .a11y-panel, html.a11y-text-2 .a11y-toggle { zoom: 1; }
html.a11y-contrast {
  --bg: #FFFFFF; --card: #FFFFFF; --sand: #FFFFFF; --ink: #000000; --muted: #1A1A1A;
  --accent: #6B2A10; --accent-dark: #5A220C; --accent-soft: #FFFFFF; --accent-on-dark: #FFE08A;
  --dark: #000000; --dark-2: #1A1A1A; --on-dark: #FFFFFF; --line: #000000;
}
html.a11y-contrast .dark .package { color: #000; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid currentColor; outline-offset: 2px; }
html.a11y-links a.btn, html.a11y-links a.wa-float { outline-width: 3px; }
html.a11y-font body, html.a11y-font button, html.a11y-font input, html.a11y-font select {
  font-family: Arial, Helvetica, sans-serif !important; letter-spacing: 0.02em; word-spacing: 0.08em;
}
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

/* Legal pages: same look as the landing page */
.legal .back { display: inline-block; font-size: 15px; color: var(--ink); margin-bottom: 18px; }
.legal h1 { font-size: 40px; line-height: 1.15; margin-bottom: 6px; }
.legal .sub { color: var(--accent-dark); font-weight: 700; margin: 0 0 24px; }
.legal h3 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; }
.legal ul { padding-inline-start: 20px; margin: 0 0 12px; }
.legal .contact { background: var(--card); border: 1px solid var(--accent); border-radius: 15px; padding: 18px 22px; margin-top: 36px; }
.legal .contact h3 { margin-top: 0; }
.legal .contact p { margin: 4px 0; }
.legal .contact a { color: var(--ink); }
.legal .updated { color: var(--muted); font-size: 15px; margin-top: 28px; }
@media (max-width: 720px) {
  .legal h1 { font-size: 30px; }
  .legal h3 { font-size: 20px; }
}
/* QA fixes: toggle stays visible over black sections in contrast mode; legal text centred on desktop */
html.a11y-contrast .a11y-toggle { background: #000; color: #FFE08A; box-shadow: 0 0 0 3px #FFE08A; opacity: 1; }
.legal .text { margin-inline: auto; }

/* Round 4: quotes with large quote marks, centred package titles, a bit more colour */
.quotes-title { text-align: center; font-size: 28px; margin: 56px 0 0; }
.quotes { margin-top: 28px; }
.quotes .bubble {
  position: relative; background: var(--card); border: 1px solid var(--accent-soft); border-radius: 15px;
  box-shadow: var(--shadow); padding: 44px 26px 40px; font-size: 16px; line-height: 1.6;
}
.quotes .bubble::before, .quotes .bubble::after {
  position: absolute; font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1;
  color: var(--accent); opacity: 0.85;
}
.quotes .bubble::before { content: "\201D"; top: 6px; right: 14px; }
.quotes .bubble::after { content: "\201C"; bottom: -14px; left: 14px; }
.package h3, .package .price, .package .meta { text-align: center; }
.package .tag { display: table; margin-inline: auto; }
.s-pains .card { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--card) 55%); }
.s-pains .card:nth-child(2) { background: linear-gradient(180deg, #E4E7D2 0%, var(--card) 55%); }
.s-pains .card .icon { background: var(--card); border-radius: 50%; padding: 8px; box-sizing: content-box; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.about-photo.shot img, .about-photo.shot .ph {
  width: 220px; height: auto; aspect-ratio: auto; border-radius: 18px; object-fit: contain;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
#about { scroll-margin-top: 24px; }
html.a11y-contrast .s-pains .card { background: #fff; }
@media (max-width: 720px) {
  .quotes-title { font-size: 22px; margin-top: 36px; }
  .about-photo.shot img, .about-photo.shot .ph { width: 190px; margin: 0 auto; }
}

/* Round 5 (26.11): closing line of the about text */
.about-end { margin-top: 14px; font-size: 19px; color: var(--accent-dark); }
