/* Aesthetic clinics page - builds on styles.css */
:root {
  --blush: #FBEFF2;
  --blush-line: #F2D3DC;
  --leak: #B2453A;
  --ok: #2F7D5B;
}

/* ---------- Hero: the audit hook + Leak Report ---------- */
.c-hero {
  position: relative; overflow: hidden;
  padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, #F2EBFE 0%, #E7DAFC 100%);
}
.c-hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: -280px; top: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 179, 255, .7), rgba(205, 179, 255, 0));
}
.c-hero .container { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 28px; }
.h1-line { display: block; }
@media (min-width: 901px) { .h1-line { white-space: nowrap; } }
.c-hero .lead { margin-bottom: 0; font-size: 1.0625rem; }
.c-hero .actions { margin: 26px 0 18px; }
@media (max-width: 900px) { .c-hero .container { grid-template-columns: 1fr; } }

/* Hero promise: audit -> build -> 30-day trial */
.promise {
  margin: 4px 0 0; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .72); box-shadow: 0 6px 20px rgba(42, 24, 46, .07);
}
.promise__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--plum); }
.promise__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; }
.promise__steps li {
  position: relative; display: flex; align-items: center; gap: 8px; height: 100%; padding: 8px 12px 8px 8px; border-radius: 16px;
  background: var(--lav-soft); color: var(--plum);
  font-family: var(--font-display); font-weight: 600; font-size: .875rem; line-height: 1.25;
}
.promise__steps li span {
  display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: var(--violet); font-size: .8125rem;
}
.promise__steps li + li::before { content: "\2192"; position: absolute; left: -17px; top: 50%; transform: translateY(-50%); color: var(--violet); font-weight: 600; }
.promise__steps li.is-last { background: var(--plum); color: #fff; }
.promise__steps li.is-last span { background: var(--lav); color: var(--plum); }
.promise__note { margin: 10px 0 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--violet); }
@media (max-width: 600px) {
  .promise { padding: 16px; }
  .promise__title { font-size: 1rem; margin-bottom: 10px; }
  .promise__steps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .promise__steps li { padding: 8px 10px 8px 8px; font-size: .8125rem; }
  .promise__steps li + li::before { display: none; }
}

/* Hero phone: the DM that proves the headline */
.phone {
  width: min(340px, 100%); margin: 0 auto; background: #fff; border-radius: 34px; padding: 14px;
  box-shadow: 0 2px 4px rgba(42, 24, 46, .06), 0 24px 60px rgba(42, 24, 46, .18);
  border: 1px solid rgba(42, 24, 46, .06);
}
.phone__thread { display: grid; gap: 8px; padding: 6px 4px 8px; }
.c-hero__visual { display: grid; gap: 20px; align-self: start; margin-top: clamp(0px, 4vw, 56px); }
.phone--second { position: relative; width: min(300px, 92%); margin: -36px 0 0 auto; transform: rotate(1.5deg); }
.c-hero__visual .phone:first-child { transform: rotate(-1.5deg); margin: 0 auto 0 0; }
.phone__silence {
  margin: 0; justify-self: center; padding: 6px 14px; border-radius: 999px;
  background: var(--blush); color: var(--leak); font-family: var(--font-display); font-weight: 600; font-size: .8125rem;
}
@media (max-width: 900px) {
  .c-hero__visual { margin-top: 0; }
  .c-hero__visual .phone:first-child, .phone--second { transform: none; margin: 0 auto; }
}
.ts { margin: 6px 0 0; text-align: center; font-size: .6875rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.dm { margin: 0; max-width: 82%; padding: 9px 13px; border-radius: 20px; font-size: .875rem; line-height: 1.4; }
.dm--in { background: #EFEFF1; border-bottom-left-radius: 6px; justify-self: start; }
.dm--out { background: var(--violet); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.seen { margin: -4px 4px 0 0; justify-self: end; font-size: .6875rem; color: var(--muted); }

/* Audit intro + sample Leak Report */
.audit { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(40px, 6vw, 80px); align-items: center; }
.audit .section__intro { margin-bottom: 24px; }
.c-hero__label {
  margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: .875rem; color: var(--violet);
}
.audit .report { box-shadow: 0 2px 4px rgba(42, 24, 46, .06), 0 24px 60px rgba(42, 24, 46, .14); }
@media (max-width: 900px) { .audit { grid-template-columns: 1fr; } }

/* ---------- Patient journey with leaks ---------- */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: j; }
.journey li { display: flex; flex-direction: column; gap: 12px; }
.journey__step {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 10px;
  border-radius: 999px; background: var(--plum-2); color: #fff; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.journey li:not(:last-child) .journey__step::after {
  content: ""; position: absolute; right: -12px; top: 50%; width: 12px; height: 2px; background: var(--lav);
}
.leak {
  flex: 1; margin: 0; padding: 16px; border-radius: var(--radius-sm); background: #3A2541;
  border: 1px dashed rgba(142, 197, 255, .45); color: var(--plum-text); font-size: .9375rem; line-height: 1.45;
}
.leak::before {
  content: ""; display: block; width: 22px; height: 22px; margin-bottom: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3s6 6.7 6 11a6 6 0 0 1-12 0c0-4.3 6-11 6-11Z' fill='%238EC5FF'/%3E%3Cpath d='M9.2 14.2a3 3 0 0 0 2.3 2.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") center/contain no-repeat;
}
.leak q { quotes: "\201C" "\201D"; font-style: italic; color: #fff; }
@media (max-width: 1000px) { .journey { grid-template-columns: repeat(3, 1fr); } .journey li .journey__step::after { display: none; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; } }
.leaks__close { margin: 48px 0 0; text-align: center; font-family: var(--font-display); font-weight: 500; line-height: 1.2; font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; }
.leaks__close span { color: var(--lav); display: block; }

/* ---------- Monday 8:42pm: without vs with ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.convo { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.convo h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.convo h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--leak); flex: none; }
.convo--with h3::before { background: var(--ok); }
.convo .dm { max-width: 88%; }
.convo .ts { text-align: left; margin-top: 4px; }
.gap-note { margin: 2px 0; padding: 8px 12px; border-radius: 12px; background: #F4F1F5; color: var(--muted); font-size: .8125rem; font-style: italic; }
.outcome { margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; }
.outcome--lost { background: var(--blush); color: var(--leak); }
.outcome--won { background: #E6F3EC; color: var(--ok); }
.compare__note { margin: 24px auto 0; max-width: 40em; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.3; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* ---------- What we set up ---------- */
.setup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.setup li { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; }
.setup h3 { font-size: 1.1rem; margin-bottom: 8px; }
.setup p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.setup svg {
  display: block; width: 42px; height: 42px; padding: 10px; margin-bottom: 16px; border-radius: 50%; background: var(--lav-soft);
  fill: none; stroke: var(--violet); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 1000px) { .setup { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .setup { grid-template-columns: 1fr; } }

/* ---------- AI and the human ones ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(40px, 6vw, 88px); align-items: start; }
.asks { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.asks li { padding: 10px 16px; border-radius: 999px 999px 999px 6px; background: #EFEFF1; font-size: .9375rem; font-style: italic; }
.asks__note { margin: 20px 0 0; color: var(--ink-soft); }
.rules { background: var(--plum); color: var(--plum-text); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.rules h3 { color: #fff; font-size: 1.35rem; margin-bottom: 16px; }
.rules li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--plum-line); line-height: 1.45; }
.rules li:first-child { border-top: 0; }
.rules li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--lav) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5' fill='none' stroke='%232A182E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.rules strong { color: #fff; font-weight: 600; }
.split__close { grid-column: 1 / -1; margin: 8px 0 0; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.2; }
.split__close span { display: block; color: var(--violet); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Leak Report sample ---------- */
.report { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.report__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report__head strong { font-family: var(--font-display); font-size: 1.15rem; }
.report__head span { font-size: .8125rem; color: var(--muted); }
.report dl { margin: 0; display: grid; }
.report dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report dt { color: var(--ink-soft); font-size: .9375rem; }
.report dd { margin: 0; font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.report dd.is-bad { color: var(--leak); }
.report__total { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--lav-soft); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.report__total span { font-size: .9375rem; color: var(--ink-soft); }
.report__total strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--plum); white-space: nowrap; }
.report__note { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); }

/* ---------- Not another AI company: comparison ---------- */
.hl { font-weight: 600; color: var(--violet); }
/* Each row: what most AI companies do (crossed out), then what we do instead */
.inst { max-width: 820px; margin: 0; padding: 4px 24px; list-style: none; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.inst li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.inst li:last-child { border-bottom: 0; }
.inst__no { margin: 0 0 6px 30px; font-size: .9375rem; color: var(--muted); }
.inst__no s { text-decoration-color: rgba(178, 69, 58, .55); }
.inst__yes {
  display: flex; gap: 10px; align-items: flex-start; margin: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--ink);
}
.inst__yes::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-5' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Booking section: heading only on the left, level with the top of the form */
#call .offer__main { display: flex; flex-direction: column; justify-content: flex-start; }
#call .offer__main h2 { margin-bottom: 0; }

/* Form: keep the "other booking system" box hidden until it's needed */
.field[hidden] { display: none; }

/* Small helpers */
.c-center { text-align: center; }
.c-center .section__intro { margin-left: auto; margin-right: auto; }
.section--plain { background: var(--bg); }

/* ---------- Phones: tighter, shorter, easier to scan ---------- */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section__intro { font-size: 1.0625rem; margin-bottom: 28px; }
  .c-hero { padding: 32px 0 32px; }
  .c-hero .kicker { margin-bottom: 16px; font-size: .8125rem; }
  .c-hero h1 { font-size: 2.15rem; margin-bottom: 20px; }
  .c-hero .actions { margin: 20px 0 14px; gap: 10px; }
  .c-hero .container { gap: 28px; }

  /* Tick lists: three even columns (tick above label) instead of a ragged 2 + 1 wrap */
  .ticks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ticks li { flex-direction: column; gap: 6px; text-align: center; font-size: .875rem; line-height: 1.3; }

  /* One phone is enough to make the point */
  .phone--second { display: none; }
  .phone { border-radius: 28px; padding: 10px; }
  .tools { padding-bottom: 40px; }

  /* Comparison: tighter rows on phones */
  .inst { padding: 4px 18px; }
  .inst li { padding: 16px 0; }
  .inst__no { font-size: .875rem; }
  .inst__yes { font-size: 1.0625rem; }

  /* Leaks: stage name and leak in one compact card */
  .journey { gap: 10px; }
  .journey li {
    gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm);
    background: #3A2541; border: 1px dashed rgba(142, 197, 255, .45);
  }
  .journey__step {
    justify-content: flex-start; min-height: 0; padding: 0; background: none; border-radius: 0;
    color: var(--lav); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
  }
  .leak { position: relative; padding: 0 0 0 28px; background: none; border: 0; font-size: 1rem; }
  .leak::before { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; margin: 0; }
  .leaks__close { margin-top: 32px; }

  /* Sample report */
  .report { padding: 20px 18px; }
  .report__head { flex-direction: column; gap: 2px; }
  .report dl div { padding: 10px 0; }
  .report__total { flex-direction: column; gap: 2px; }

  /* Monday 8:42pm */
  .convo { padding: 18px 16px; }
  .convo h3 { font-size: 1.125rem; }
  .compare__note { font-size: 1.15rem; }

  /* What we set up: icon beside the text, not above it */
  .setup { gap: 10px; }
  .setup li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .setup svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; margin: 0; }
  .setup h3 { font-size: 1.0625rem; margin-bottom: 4px; }
  .setup p { font-size: .9375rem; line-height: 1.5; }

  /* Booking: the section heading already says it, so drop the repeat */
  #call .offer__main { padding: 24px 20px 20px; }
  #call .offer__main .eyebrow { margin-bottom: 10px; }
  #call .offer__form { padding: 24px 20px 28px; }
  #call .offer__form h3 { display: none; }
  .offer__form-intro { margin-bottom: 18px; }

  .faq { padding: 4px 18px; }
  .faq summary { padding: 18px 0; font-size: 1rem; }
}
