/* ============================================
   SHAHAR DIGITAL MARKETING — Med Spa Lead Page
   med-spa-leads.css
   Page-isolated stylesheet. Deliberately does NOT
   link the global style.css (226KB, homepage-specific
   component classes) — this is a paid-traffic landing
   page where load speed matters. Base color tokens are
   copied from :root in ../style.css; several are
   overridden below (see "CONTRAST OVERRIDES") to hit
   AA-level contrast — the shared tokens read too pale
   for a conversion page at this font size.
   ============================================ */

: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);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: '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);

  /* CONTRAST OVERRIDES — darker than the homepage's --text-primary /
     --text-muted / --border-strong, chosen specifically so body copy,
     labels and form borders clear 4.5:1 / 3:1 against --bg-main. */
  --text-body: #2E2420;      /* ~13:1 on bg-main */
  --text-muted: #5F4E48;     /* ~6.4:1 on bg-main */
  --border-visible: #7A6A62; /* ~4.6:1 on bg-main, clears the 3:1 UI-boundary bar */
}

*, *::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.08;
}

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

.msl-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  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;
}

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

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

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

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

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

.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.25;
  margin-bottom: 6px;
}

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

.msl-offer-note {
  font-size: 0.85rem;
  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.78rem;
  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: left;
}

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

.msl-hero-cta { margin-top: 22px; }

/* ============================================
   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: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  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.05rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 48ch;
  margin: 8px auto 0;
  line-height: 1.6;
}

/* ============================================
   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: 0.96rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 44ch;
  margin: 0 auto;
}

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

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

.msl-form-section {
  padding: 28px 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.92rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.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.94rem; }

.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.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  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: 0.96rem;
  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.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 2px;
}

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

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

.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.87rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  line-height: 1.3;
}

.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.8rem;
  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.8rem;
  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.7;
}

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

/* ============================================
   CONSENT BANNER
   Hidden (display:none) until med-spa-leads.js adds
   .is-visible. Deliberately not using the "hidden" attribute
   alone — an author-stylesheet display rule would otherwise
   override the UA [hidden] rule, so visibility is controlled
   entirely through this one class instead.
   ============================================ */

.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.86rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

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

.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: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  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); }
