/* ============================================
   SHAHAR DIGITAL MARKETING — Aesthetic Clinic Lead Page (Hebrew/RTL)
   he/med-spa-leads/med-spa-leads.css
   Structural copy of ../../med-spa-leads/med-spa-leads.css (the
   approved English funnel) — same layout, contrast system and
   component classes, so this must stay in lockstep with any future
   structural change there. Two deltas from the English file:
   1) font tokens swapped to the site's approved Hebrew pairing
      (Frank Ruhl Libre / Assistant — see ../../he/index.html and
      ../../he/thank-you/index.html for precedent).
   2) a "HEBREW TYPOGRAPHY" block at the end pulls back the
      Latin-uppercase-derived letter-spacing and nudges small text
      up slightly, mirroring the same adjustment already applied
      site-wide for Hebrew in ../../style.css ("VIBELIER 2.1 --
      HEBREW TYPOGRAPHY SCALE").
   Page-isolated — does not link the global style.css.
   ============================================ */

:root {
  --bg-main: #F5F1EB;
  --white: #FFFFFF;
  --text-dark: #211D1B;
  --accent: #B57C86;
  --accent-dark: #7A4A54;
  --shadow-soft: 0 4px 24px rgba(33, 29, 27, 0.08);
  --shadow-medium: 0 10px 40px rgba(33, 29, 27, 0.14);

  /* Hebrew font pairing — matches the rest of the approved
     Vibelier Hebrew site. Cormorant Garamond / Manrope (the
     English funnel's fonts) do not carry proper Hebrew glyph
     coverage and would fall back to an unstyled system font. */
  --font-display: 'Frank Ruhl Libre', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Assistant', 'Manrope', system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;

  --easing-out: cubic-bezier(0.16, 1, 0.3, 1);

  --text-body: #2E2420;
  --text-muted: #5F4E48;
  --border-visible: #7A6A62;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.15;
}

.msl-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.msl-label {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
}

/* ============================================
   HEADER — logo only, no navigation
   ============================================ */

.msl-header {
  padding: 18px 0;
  border-bottom: 1px solid rgba(122, 106, 98, 0.22);
}

.msl-header-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.msl-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  direction: ltr;
  unicode-bidi: isolate;
}

.msl-logo-img { height: 32px; width: auto; display: block; }

/* ============================================
   HERO + OFFER
   ============================================ */

.msl-hero {
  padding: 32px 0 8px;
  text-align: center;
}

.msl-hero h1 {
  font-size: clamp(1.9rem, 5.6vw, 2.6rem);
  margin: 0 0 12px;
  letter-spacing: 0;
}

.msl-hero > .msl-container > p {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.65;
}

.msl-offer {
  margin: 22px auto 0;
  max-width: 460px;
  background: var(--white);
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
}

.msl-offer-price {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.msl-offer-highlight {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.msl-offer-note {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.55;
}

.msl-offer-note + .msl-offer-note { margin-top: 8px; }

.msl-offer-definition {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.55;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(122, 106, 98, 0.3);
  text-align: right;
}

.msl-offer-definition strong { font-weight: 700; }



/* ============================================
   QUICK Q&A — offer clarity
   ============================================ */

.msl-faq {
  padding: 24px 0 22px;
}

.msl-faq-heading {
  text-align: center;
}

.msl-faq-heading .msl-label {
  margin-bottom: 6px;
}

.msl-faq-heading h2 {
  font-size: clamp(1.65rem, 4vw, 2rem);
}

.msl-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.msl-faq-item {
  background: var(--white);
  border: 1.5px solid rgba(122, 106, 98, 0.42);
  border-radius: 16px;
  padding: 17px 18px;
  box-shadow: var(--shadow-soft);
}

.msl-faq-item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 6px;
}

.msl-faq-item p {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.6;
}

.msl-faq-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

@media (min-width: 769px) {
  .msl-faq {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .msl-faq-heading h2 {
    font-size: 2.2rem;
  }

  .msl-faq-list {
    gap: 14px;
  }

  .msl-faq-item {
    padding: 21px 24px;
  }

  .msl-faq-item h3 {
    font-size: 1.24rem;
  }

  .msl-faq-item p {
    font-size: 1.12rem;
  }

  .msl-faq-note {
    font-size: 0.98rem;
  }
}

/* ============================================
   BUTTONS — solid dark CTA, strong contrast
   ============================================ */

.msl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 18px 28px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  background: var(--text-dark);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(33, 29, 27, 0.28);
  transition: transform 0.2s var(--easing-out), box-shadow 0.2s var(--easing-out), background 0.2s;
}

.msl-btn:hover {
  background: #3A2D27;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(33, 29, 27, 0.34);
}

.msl-btn:active { transform: translateY(0); }

.msl-btn:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

.msl-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================
   VALUE STATEMENT
   ============================================ */

.msl-value {
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid rgba(122, 106, 98, 0.22);
}

.msl-value p {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 48ch;
  margin: 8px auto 0;
  line-height: 1.65;
}

/* ============================================
   WHAT WE HANDLE — compact single line
   ============================================ */

.msl-handle {
  padding: 28px 0;
  border-top: 1px solid rgba(122, 106, 98, 0.22);
  text-align: center;
}

.msl-handle .msl-label { margin-bottom: 8px; }

.msl-handle-line {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.65;
  max-width: 44ch;
  margin: 0 auto;
}

.msl-handle-sub {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 8px;
}

/* ============================================
   FORM SECTION
   ============================================ */

.msl-form-section {
  padding: 8px 0 48px;
  border-top: 1px solid rgba(122, 106, 98, 0.22);
}

.msl-form-intro { text-align: center; margin-bottom: 22px; }

.msl-reminder-line {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.55;
}

.msl-reminder-sub {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.msl-form-intro h2 {
  font-size: clamp(1.5rem, 3.6vw, 1.9rem);
  margin: 8px 0 6px;
}

.msl-form-intro > p:last-child { color: var(--text-muted); font-size: 0.98rem; }

.msl-form {
  background: var(--white);
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.msl-field { display: flex; flex-direction: column; gap: 6px; }

.msl-field label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.msl-field input {
  background: var(--bg-main);
  border: 1.5px solid var(--border-visible);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  min-height: 48px;
  -webkit-appearance: none;
}

.msl-field input:focus {
  border-color: var(--text-dark);
  border-width: 2px;
  background: var(--white);
}

.msl-field input::placeholder { color: var(--text-muted); opacity: 0.75; }

.msl-divider {
  height: 1px;
  background: rgba(122, 106, 98, 0.3);
  margin: 4px 0;
}

.msl-qualify-title {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
  margin-bottom: 2px;
}

fieldset.msl-field { border: none; padding: 0; margin: 0; }

fieldset.msl-field legend {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0;
  margin-bottom: 10px;
  line-height: 1.45;
}

.msl-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

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

@media (min-width: 480px) {
  .msl-pills.msl-pills-5 { grid-template-columns: repeat(3, 1fr); }
}

.msl-pill { position: relative; }

.msl-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.msl-pill label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--border-visible);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.35;
}

.msl-pill input:checked + label {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #FFFFFF;
}

.msl-pill input:focus-visible + label {
  outline: 3px solid var(--text-dark);
  outline-offset: 2px;
}

.msl-form-submit { margin-top: 4px; }

.msl-form-note {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  margin-top: 4px;
}

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

.msl-footer {
  padding: 22px 0 36px;
  text-align: center;
}

.msl-footer p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.msl-footer a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.msl-footer a:hover { color: var(--accent-dark); }

/* ============================================
   THANK YOU PAGE
   ============================================ */

.msl-ty-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.msl-ty-card {
  width: min(560px, 100%);
  text-align: center;
  background: var(--white);
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  box-shadow: var(--shadow-medium);
}

.msl-ty-card h1 {
  font-size: clamp(2rem, 6vw, 2.6rem);
  margin: 14px 0 16px;
}

.msl-ty-card p {
  color: var(--text-body);
  max-width: 42ch;
  margin: 0 auto 28px;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .msl-hero { padding: 44px 0 10px; }
  .msl-value, .msl-handle { padding-top: 36px; padding-bottom: 36px; }
  .msl-form-section { padding-top: 10px; padding-bottom: 36px; }
}

/* ============================================
   DESKTOP SCALE-UP (min-width: 769px only)
   Mobile (<=768px) is approved and untouched — every rule above
   this point still governs it exactly as before. This block only
   ever matches >=769px and raises type scale + container width
   ~15-20% for more desktop presence, with slightly tighter section
   padding to offset the taller line-heights so the page doesn't
   grow substantially longer. Colors, borders, radii, copy,
   structure and functionality are untouched — sizing only. The
   thank-you page (.msl-ty-*) is intentionally not included here.
   ============================================ */
@media (min-width: 769px) {
  .msl-container,
  .msl-header-inner { max-width: 800px; }

  .msl-hero { padding: 40px 0 10px; }
  .msl-value, .msl-handle { padding-top: 28px; padding-bottom: 28px; }
  .msl-form-section { padding-top: 10px; padding-bottom: 28px; }

  .msl-hero h1 { font-size: 3.2rem; }
  .msl-hero > .msl-container > p { font-size: 1.25rem; }

  .msl-offer { max-width: 540px; }
  .msl-offer-price { font-size: 2.05rem; }
  .msl-offer-highlight { font-size: 1.22rem; }
  .msl-offer-note { font-size: 1.14rem; }
  .msl-offer-definition { font-size: 1.02rem; }

  .msl-btn { font-size: 1.08rem; }

  .msl-value p { font-size: 1.28rem; }

  .msl-handle-line { font-size: 1.18rem; }
  .msl-handle-sub { font-size: 1.08rem; }

  .msl-reminder-line { font-size: 1.12rem; }
  .msl-form-intro h2 { font-size: 2.25rem; }
  .msl-form-intro > p:last-child { font-size: 1.15rem; }

  .msl-field label { font-size: 1rem; }
  .msl-field input { font-size: 1.15rem; }
  .msl-qualify-title { font-size: 1rem; }
  fieldset.msl-field legend { font-size: 1.12rem; }
  .msl-pill label { font-size: 1.08rem; }
  .msl-form-note { font-size: 1rem; }
}

/* ============================================
   CONSENT BANNER
   Structural copy of ../../med-spa-leads/med-spa-leads.css's
   consent banner. Hidden (display:none) until med-spa-leads.js
   adds .is-visible — see that file's comment for why visibility
   is controlled entirely through the class, not the "hidden"
   attribute. Text sizes bumped ~15% over the English values,
   matching this file's existing Hebrew-readability convention.
   ============================================ */

.msl-consent-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--white);
  border-top: 2px solid var(--text-dark);
  box-shadow: 0 -10px 30px rgba(33, 29, 27, 0.18);
  padding: 16px 20px;
}

.msl-consent-banner.is-visible { display: flex; }

.msl-consent-inner {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.msl-consent-text { flex: 1 1 260px; min-width: 0; }

.msl-consent-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.msl-consent-body {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.55;
}

.msl-consent-body a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.msl-consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.msl-consent-btn {
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.msl-consent-accept {
  background: var(--text-dark);
  color: #FFFFFF;
  border: 2px solid var(--text-dark);
}

.msl-consent-accept:hover { background: #3A2D27; }

.msl-consent-reject {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.msl-consent-reject:hover { background: var(--bg-main); }

.msl-consent-btn:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .msl-consent-inner { flex-direction: column; align-items: stretch; }
  /* flex-basis is main-axis-relative — once the row above switches to
     column, the 260px basis on .msl-consent-text would apply to
     height, not width. Reset it here so the block sizes to content. */
  .msl-consent-text { flex: 0 0 auto; }
  .msl-consent-actions { justify-content: stretch; }
  .msl-consent-btn { flex: 1 1 0; }
}

.msl-footer-consent-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.msl-footer-consent-link:hover { color: var(--accent-dark); }
