/* Treatment pages generated from the SEO content pack (seo-pages.js). Typography and palette follow the
   go.thenurclinic.com landing pages now used for /botox-vancouver and /xerf-vancouver. */
.seo-page { --ivory: #F0EEE8; --sand: #E6E1D8; --charcoal: #272727; --brown: #5C4C42; --gold: #C9A15A; --line: #D4C8BA;
  grid-area: 1 / 1 / -1 / -1; width: 100%; background: #FFFFFF; color: var(--charcoal);
  position: relative; pointer-events: auto;   /* Wix sets pointer-events:none on the page container; without this nothing on the page can be tapped */
  font-family: 'Instrument Sans', Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.seo-page *, .seo-page *::before, .seo-page *::after { box-sizing: border-box; }
.seo-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.seo-prose { max-width: 760px; }
.seo-page h1, .seo-page h2, .seo-page h3 { font-family: 'Libre Caslon Text', Georgia, serif; font-weight: 400; color: inherit; margin: 0; }
.seo-page h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; text-wrap: balance; }
.seo-page h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin-bottom: 18px; text-wrap: balance; }
.seo-page h3 { font-size: clamp(20px, 2vw, 23px); line-height: 1.3; margin: 26px 0 8px; }
.seo-page p { margin: 0 0 14px; }
.seo-page a { color: var(--brown); text-underline-offset: 3px; }
.seo-page a:hover { color: var(--charcoal); }
.seo-page ul, .seo-page ol { margin: 0 0 16px; padding-left: 22px; }
.seo-page li { margin-bottom: 6px; }
.seo-page :focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

.seo-sec { padding: clamp(64px, 8vw, 112px) 0; }
.seo-bg--white { background: #FFFFFF; }
.seo-bg--ivory { background: var(--ivory); }
.seo-bg--sand { background: var(--sand); }
.seo-bg--dark { background: var(--charcoal); color: var(--ivory); }
.seo-bg--dark h2, .seo-bg--dark h3 { color: #FFFFFF; }
.seo-bg--dark p, .seo-bg--dark li { color: #DCD5CB; }
.seo-bg--dark a { color: #FFFFFF; }
.seo-bg--dark .seo-kicker { color: #A8998B; }
.seo-kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brown); margin: 0 0 18px !important; }

/* buttons */
.seo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-family: 'Instrument Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; transition: background .15s, color .15s; }
.seo-btn--primary { background: var(--gold); color: #1F1A16 !important; }
.seo-btn--primary:hover { background: #D6B272; }
.seo-btn--ghost { border: 1px solid currentColor; color: var(--charcoal) !important; }
.seo-btn--ghost:hover { background: var(--charcoal); color: var(--ivory) !important; }
.seo-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.seo-btn-wrap { margin: 26px 0 0; }

/* 01 hero */
.seo-hero { background: var(--ivory); padding: clamp(40px, 6vw, 88px) 0; }
.seo-hero__inner { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.seo-eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--brown); margin: 0 0 18px !important; }
.seo-hero__sub { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #3A302A; max-width: 34em; margin-top: 22px !important; }
.seo-hero__doctor { font-size: 14px; letter-spacing: .04em; color: var(--brown); margin: 0 !important; }
.seo-hero__doctor strong { font-weight: 500; }
.seo-hero__media { margin: 0; }
.seo-hero__media img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; background: var(--sand); }
.seo-page figcaption { font-size: 13px; color: var(--brown); margin-top: 8px; font-style: italic; }

/* 02 reviews (same look as the existing landing pages) */
.seo-reviews { background: var(--ivory); padding: 0 0 clamp(48px, 6vw, 80px); }
.seo-hero + .seo-reviews { padding-top: 8px; }
.seo-reviews__title { margin-bottom: 26px !important; }
.seo-reviews__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; background: #FFFFFF; border: 1px solid #DADCE0; border-radius: 8px; padding: 18px 24px; margin-bottom: 14px; font-family: Roboto, Arial, sans-serif; }
.seo-reviews__google { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.seo-reviews__google span:nth-child(1), .seo-reviews__google span:nth-child(4) { color: #4285F4; }
.seo-reviews__google span:nth-child(2), .seo-reviews__google span:nth-child(6) { color: #EA4335; }
.seo-reviews__google span:nth-child(3) { color: #FBBC05; }
.seo-reviews__google span:nth-child(5) { color: #34A853; }
.seo-reviews__label { font-size: 15px; color: #202124; }
.seo-reviews__score { font-size: 22px; color: #202124; }
.seo-reviews__stars { color: #FBBC04; font-size: 19px; letter-spacing: 1px; }
.seo-reviews__count { font-size: 14px; color: #70757A; }
.seo-reviews__all { margin-left: auto; font-size: 14px; color: #1A73E8 !important; text-decoration: none; }
.seo-reviews__all:hover { text-decoration: underline; }
.seo-reviews__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 2px; }
.seo-reviews__track::-webkit-scrollbar { display: none; }
.seo-review { flex: 0 0 calc((100% - 32px) / 2.4); scroll-snap-align: start; }
.seo-review { margin: 0; background: #FFFFFF; border: 1px solid #DADCE0; border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 12px; font-family: Roboto, Arial, sans-serif; }
.seo-review__top { display: flex; align-items: center; gap: 12px; }
.seo-review__av { width: 40px; height: 40px; border-radius: 50%; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 500; flex: none; }
.seo-review__who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.seo-review__who a { font-size: 15px; font-weight: 500; color: #202124 !important; text-decoration: none; }
.seo-review__who span { font-size: 13px; color: #70757A; }
.seo-review__g { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #DADCE0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #4285F4; flex: none; }
.seo-review__stars { color: #FBBC04; font-size: 19px; letter-spacing: 1px; }
.seo-review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: #3C4043; }
.seo-reviews__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.seo-reviews__controls button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; color: var(--charcoal); font-size: 20px; cursor: pointer; }
.seo-reviews__controls button:disabled { opacity: .35; cursor: default; }
.seo-reviews__pos { font-size: 14px; color: var(--brown); min-width: 3em; text-align: center; }

/* 03 facts */
.seo-facts { padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.seo-facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 36px; margin: 0; }
.seo-facts dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brown); margin-bottom: 6px; }
.seo-facts dd { margin: 0; font-size: 16px; line-height: 1.5; }

/* heading left, content right (as on the Botox/XERF pages) */
.seo-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.seo-cols__head h2 { margin-bottom: 0; }
.seo-cols--media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.seo-cols--media .seo-cols__head .seo-prose { margin-top: 22px; max-width: 640px; }
.seo-cols--media .seo-figure img { aspect-ratio: 4 / 5; object-fit: cover; }
.seo-cols__head > p:not(.seo-kicker) { margin-top: 18px; }
.seo-cols--sticky .seo-cols__head { position: sticky; top: 110px; }
.seo-cols__body > .seo-prose { max-width: 680px; }
.seo-prose > :last-child { margin-bottom: 0; }
.seo-prose h3 { font-size: clamp(20px, 1.8vw, 22px); margin: 30px 0 8px; }
.seo-figure { margin: 0; }
.seo-figure img { display: block; width: 100%; height: auto; background: var(--sand); }

/* concern groups -> cards */
.seo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); counter-reset: card; }
.seo-card { background: var(--ivory); padding: clamp(24px, 2.4vw, 32px); counter-increment: card; }
.seo-bg--ivory .seo-card { background: #FFFFFF; }
.seo-card::before { content: "( " counter(card) " )"; display: block; font-size: 12px; letter-spacing: .14em; color: var(--brown); margin-bottom: 14px; }
.seo-card h3 { margin: 0 0 10px; font-size: clamp(20px, 1.8vw, 23px); }
.seo-card p { font-size: 16px; line-height: 1.6; color: #3A302A; }
.seo-card > :last-child { margin-bottom: 0; }

/* steps -> numbered list beside a photo */
.seo-stepsplit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.seo-stepsplit h2 { margin-bottom: 18px; }
.seo-stepsplit__media { position: sticky; top: 110px; }
.seo-stepsplit__media img { aspect-ratio: 4 / 5; object-fit: cover; }
.seo-steplist { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; border-bottom: 1px solid var(--line); }
.seo-steplist > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 24px 0; margin: 0; border-top: 1px solid var(--line); }
.seo-steplist > li::before { content: "( " counter(step) " )"; grid-row: 1 / span 20; font-size: 12px; letter-spacing: .12em; color: var(--brown); padding-top: 6px; }
.seo-steplist > li > * { grid-column: 2; }
.seo-steplist h3 { margin: 0 0 8px; }
.seo-steplist p { font-size: 16px; line-height: 1.6; color: #3A302A; }
.seo-steplist > li > :last-child { margin-bottom: 0; }

/* tables */
.seo-table { overflow-x: auto; margin: 26px 0; max-width: 1000px; -webkit-overflow-scrolling: touch; }
.seo-table table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.seo-table th, .seo-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.seo-table th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); font-weight: 600; border-bottom: 1px solid var(--charcoal); }
.seo-table td[style*="right"], .seo-table th[style*="right"] { text-align: right; }
.seo-sec--pricing .seo-table table { font-size: 17px; }
.seo-sec--pricing .seo-table td:first-child { font-family: 'Libre Caslon Text', Georgia, serif; font-size: 18px; }
.seo-sec--pricing .seo-table td:last-child { font-weight: 600; white-space: nowrap; }

/* risks */
.seo-sec--risks .seo-prose p:last-child { margin-top: 22px; padding: 18px 22px; background: var(--ivory); font-size: 16px; }
.seo-bg--ivory.seo-sec--risks .seo-prose p:last-child { background: #FFFFFF; }

/* doctor */
.seo-doctor { display: grid; grid-template-columns: minmax(220px, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.seo-doctor__photo { margin: 0; max-width: 420px; }
.seo-doctor__photo img { display: block; width: 100%; height: auto; border-radius: 999px 999px 0 0; background: #D9D1C5; }
.seo-doctor h2 { margin-bottom: 22px; }
.seo-doctor__bio p:first-child { font-family: 'Libre Caslon Text', Georgia, serif; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; color: var(--charcoal); }

/* FAQ */
.seo-faq { border-bottom: 1px solid var(--line); }
.seo-faq details { border-top: 1px solid var(--line); }
.seo-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.seo-faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--brown); flex: none; transition: transform .2s; }
.seo-faq details[open] summary::after { transform: rotate(45deg); }
.seo-faq details > div { padding: 0 40px 20px 0; color: #3A302A; }

/* location */
.seo-location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.seo-location__map { min-height: 320px; background: var(--sand); border: 0; width: 100%; }

/* final CTA */
.seo-sec--final { background: var(--charcoal); color: var(--ivory); text-align: center; }
.seo-sec--final h2 { color: var(--ivory); }
.seo-sec--final p { color: #E6E1D8; }
.seo-sec--final .seo-cta-row { justify-content: center; }
.seo-sec--final .seo-btn--ghost { color: var(--ivory) !important; }
.seo-sec--final .seo-btn--ghost:hover { background: var(--ivory); color: var(--charcoal) !important; }
.seo-disclaimer { margin-top: 26px !important; font-size: 14px; font-style: italic; opacity: .85; }

@media (max-width: 900px) {
  .seo-hero__inner, .seo-cols, .seo-stepsplit, .seo-doctor, .seo-location { grid-template-columns: minmax(0, 1fr); }
  .seo-cols--sticky .seo-cols__head, .seo-stepsplit__media { position: static; }
  .seo-cols { gap: 24px; }
  .seo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-doctor__photo { max-width: 300px; }
  .seo-stepsplit__media { max-width: 480px; }
  .seo-cols--media { grid-template-columns: minmax(0, 1fr); }
  .seo-cols--media .seo-figure { max-width: 480px; }
  .seo-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-reviews__track { gap: 12px; }
  .seo-review { flex-basis: calc((100% - 12px) / 1.4); }
  .seo-reviews__all { margin-left: 0; }
}
@media (max-width: 600px) {
  .seo-page { font-size: 16px; }
  .seo-cards { grid-template-columns: minmax(0, 1fr); }
  .seo-facts dl { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .seo-cta-row .seo-btn { flex: 1 1 100%; }
}
/* price tables are two columns: keep them within the screen so the price is never off to the side */
.seo-sec--pricing .seo-table table { min-width: 0; }
/* Wix's page grid is sized for the shell page's own sections; let it grow with this content so the footer
   starts below it instead of overlapping the final call-to-action */
main:has(> .seo-page) { display: block !important; height: auto !important; min-height: 0 !important; grid-template-rows: none !important; }
.seo-page { grid-area: auto !important; }
@media (max-width: 600px) { .seo-review { flex-basis: 88%; } }
.seo-reviews.is-static .seo-reviews__controls { display: none; }

/* ---- icons, price callout, "why" strip, location photo, floating booking bar (as on the Botox/XERF pages) ---- */
.seo-facts dl > div { position: relative; padding-left: 56px; min-height: 44px; }
.seo-facts__icon { position: absolute; left: 0; top: 0; width: 40px; height: 40px; opacity: .9; }
.seo-card__icon { display: block; width: 64px; height: 64px; margin: 0 0 18px; }
.seo-card:has(.seo-card__icon)::before { display: none; }
.seo-price { display: flex; flex-direction: column; gap: 6px; margin: 32px 0 0 !important; padding: 26px 28px; border: 1px solid var(--line); background: #FFFFFF; max-width: 340px; }
.seo-price__amount { font-family: 'Libre Caslon Text', Georgia, serif; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; color: var(--charcoal); }
.seo-price__per { font-size: 14px; letter-spacing: .04em; color: var(--brown); }
.seo-why { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.seo-why li { margin: 0; padding-top: 24px; border-top: 1px solid rgba(240, 238, 232, .25); display: flex; flex-direction: column; gap: 8px; }
.seo-why img { width: 56px; height: 56px; margin-bottom: 8px; }
.seo-why strong { font-family: 'Libre Caslon Text', Georgia, serif; font-weight: 400; font-size: 20px; line-height: 1.3; color: #FFFFFF; }
.seo-why span { font-size: 15px; line-height: 1.55; color: #CFC5BA; }
.seo-location__media { display: grid; gap: 16px; }
.seo-location__photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sand); }
.seo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px) calc(10px + env(safe-area-inset-bottom)); background: var(--charcoal); border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 24px rgba(39, 39, 39, .25); transform: translateY(110%); transition: transform .3s ease; font-family: 'Instrument Sans', Helvetica, Arial, sans-serif; }
.seo-bar.is-on { transform: none; }
.seo-bar__text { font-size: 14px; color: #D4C8BA; }
.seo-bar__actions { display: flex; align-items: center; gap: 18px; }
.seo-bar__call { display: flex; align-items: center; gap: 8px; color: #F0EEE8 !important; text-decoration: none; font-size: 15px; white-space: nowrap; }
.seo-bar__book { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: #272727 !important; text-decoration: none !important;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 15px 22px; white-space: nowrap; box-shadow: 0 4px 18px rgba(201, 161, 90, .45); }
.seo-bar__book:hover { background: #D9B675; }
body:has(.seo-bar.is-on) { padding-bottom: 72px; }
@media (prefers-reduced-motion: reduce) { .seo-bar { transition: none; } }
@media (max-width: 900px) {
  .seo-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .seo-bar__text, .seo-bar__call span { display: none; }
  .seo-bar__actions { flex: 1; gap: 12px; }
  .seo-bar__call { width: 48px; height: 48px; justify-content: center; border: 1px solid rgba(240, 238, 232, .4); flex: none; }
  .seo-bar__book { flex: 1; padding: 15px 12px; letter-spacing: .12em; }
  .seo-why { grid-template-columns: minmax(0, 1fr); }
  .seo-price { max-width: none; }
}

/* "Is this what you're noticing?" (as on the XERF page) */
.seo-pain h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.seo-pain__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.seo-pain__card { margin: 0; background: #FFFFFF; display: flex; flex-direction: column; }
.seo-pain__card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ivory); }
.seo-page .seo-pain__card figcaption { margin: 0; padding: 18px 20px 22px; font-family: 'Libre Caslon Text', Georgia, serif; font-style: normal; font-size: 18px; line-height: 1.35; color: var(--charcoal); }
@media (max-width: 900px) { .seo-pain__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .seo-page .seo-pain__card figcaption { font-size: 16px; padding: 14px 14px 18px; } }

/* all reviews: long ones clamp with "Read more" */
.seo-review blockquote p { margin: 0 0 10px; }
.seo-review blockquote p:last-child { margin-bottom: 0; }
.seo-review blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.seo-review.is-open blockquote { display: block; -webkit-line-clamp: unset; }
.seo-review__more { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #1A73E8; cursor: pointer; }
.seo-review__more:hover { text-decoration: underline; }
.seo-reviews__track { align-items: flex-start; }

/* wide real treatment photo */
.seo-band { margin: 0; line-height: 0; background: var(--sand); }
.seo-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 760px) { .seo-band img { aspect-ratio: 4 / 3; object-position: 35% 50%; } }

/* real results (before and after) */
.seo-results__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); max-width: 980px; }
.seo-results__item { margin: 0; background: #111; }
.seo-results__item img { display: block; width: 100%; height: auto; }
.seo-page .seo-results__item figcaption { margin: 0; padding: 14px 16px 16px; background: #FFFFFF; font-style: normal; font-size: 15px; line-height: 1.5; color: var(--charcoal); }
.seo-bg--white .seo-results__item figcaption { background: var(--ivory); }
.seo-results__note { margin: 18px 0 0 !important; font-size: 14px; color: var(--brown); }
@media (max-width: 600px) { .seo-results__grid { grid-template-columns: minmax(0, 1fr); } }
