/* /freeconsult + /thank-you + legal pages. Values match the source page's own stylesheet. */
:root {
  --coral: #fc8f8c;
  --peach: #fea687;
  --pink: #ffb0bf;
  --blush: #ffd9e0;
  --mauve: #a94c5e;
  --ink: #2d3748;
  --slate: #4a5568;
  --star: #fbbc04;
}
body { background: var(--coral); color: var(--ink); }

.fc-main {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--pink), var(--coral));
  min-height: 100vh;
  padding: 20px;
}
.fc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 12px;
}
.fc-header {
  background: linear-gradient(135deg, var(--coral), var(--mauve));
  color: #fff;
  padding: 40px 30px;
  text-align: center;
}
.fc-header h1 { font-size: calc(1.375rem + 1.5vw); font-weight: 500; line-height: 1.2; margin: 0 0 .5rem; }
@media (min-width: 1200px) { .fc-header h1 { font-size: 2.5rem; } }

.content { padding: 50px 40px; }
.headline { color: var(--ink); font-size: 36px; font-weight: 700; line-height: 1.3; margin-bottom: 30px; text-align: center; }
.headline .accent { color: var(--mauve); font-weight: 700; }
.subheadline { color: var(--slate); font-size: 20px; font-weight: 400; margin-bottom: 40px; line-height: 1.5; text-align: center; }

/* reviews */
.reviews-section { margin-bottom: 50px; padding: 30px 20px; background: #fff; border-radius: 15px; }
.reviews-header { text-align: center; margin-bottom: 25px; }
.reviews-header h2, .reviews-header h3 { color: var(--mauve); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.star-rating { color: var(--star); font-size: 28px; letter-spacing: 4px; margin-bottom: 5px; }
.reviews-subtitle { color: var(--slate); font-size: 14px; font-style: italic; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: 10px; border: 2px solid var(--blush); transition: border-color .3s ease, box-shadow .3s ease; }
.review-card:hover { border-color: var(--pink); box-shadow: 0 4px 12px hsla(2, 95%, 77%, .15); }
.review-stars { color: var(--star); font-size: 18px; margin-bottom: 10px; }
.review-text { color: var(--ink); font-size: 15px; line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.review-author { color: var(--mauve); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 0; }
.review-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.rating-wrap { text-align: center; }
.google-badge { display: inline-block; margin-top: 15px; padding: 8px 16px; background: var(--blush); border-radius: 20px; font-size: 12px; color: var(--mauve); font-weight: 600; }

/* form */
.form-section { background: var(--blush); padding: 40px; border-radius: 15px; max-width: 740px; margin: 0 auto; scroll-margin-top: 12px; }
.progress-label { text-align: center; margin-bottom: 25px; }
.progress-text { color: var(--mauve); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.progress-container { background: #fff; height: 6px; border-radius: 10px; overflow: hidden; max-width: 200px; margin: 0 auto; }
.progress-bar-fill { background: linear-gradient(90deg, var(--peach), var(--coral)); height: 100%; width: 100%; border-radius: 10px; transform: scaleX(.5); transform-origin: left center; transition: transform .3s ease; }
body.is-step2 .progress-bar-fill { transform: scaleX(1); }
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { color: var(--mauve); font-size: 28px; font-weight: 700; margin-bottom: 15px; line-height: 1.3; }
.form-header p { color: var(--slate); font-size: 16px; line-height: 1.6; margin-bottom: 0; }
.authority-line { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; max-width: 520px; margin: 0 auto; }
.authority-line img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(169, 76, 94, .25); background: #efe6e2; }
.authority-line strong { color: var(--ink); font-weight: 600; }

.form-row { display: grid; grid-template-columns: 48% 48%; gap: 4%; margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input {
  width: 100%; padding: 14px 16px; border: 2px solid var(--pink); border-radius: 8px;
  font-size: 16px; color: var(--ink); background: #fff; transition: border-color .3s ease, box-shadow .3s ease; -webkit-appearance: none; appearance: none;
}
.form-group input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px hsla(2, 95%, 77%, .1); }
.form-group input[aria-invalid="true"] { border-color: var(--mauve); }
.field-error { color: var(--mauve); font-size: 14px; line-height: 1.5; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }

.submit-button {
  width: 100%; background: linear-gradient(135deg, var(--peach), var(--coral)); color: #fff; border: none;
  padding: 20px; font-size: 18px; font-weight: 700; border-radius: 50px; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 15px hsla(16, 98%, 76%, .4); letter-spacing: .3px; margin-top: 10px;
}
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px hsla(16, 98%, 76%, .5); }
.submit-button:disabled { opacity: .7; cursor: default; transform: none; }
.no-payment-note { text-align: center; margin: 15px 0 0; color: var(--mauve); font-size: 15px; font-weight: 700; }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(169, 76, 94, .2); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--slate); font-size: 13px; text-align: center; }

/* step 2 */
.fc-sub { font-size: 16px; opacity: .95; line-height: 1.5; margin: 0; }
body.is-step2 .fc-header h1 { font-size: 32px; font-weight: 700; line-height: 1.3; text-shadow: 0 2px 4px rgba(0, 0, 0, .1); margin-bottom: 10px; }
.journey { margin-bottom: 40px; }
.journey h2, .pick-time h2 { color: var(--mauve); font-size: 24px; font-weight: 700; line-height: 1.3; text-align: center; margin: 0 0 25px; }
.journey-opt { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 2px solid var(--pink); border-radius: 10px; margin-bottom: 12px; cursor: pointer; transition: border-color .3s ease, box-shadow .3s ease; }
.journey-opt:has(input:checked) { border-color: var(--coral); box-shadow: 0 2px 8px hsla(1, 95%, 77%, .15); }
.journey-opt input { flex: none; width: 20px; height: 20px; margin: 0; cursor: pointer; accent-color: var(--coral); }
.journey-opt span { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.4; }
.pick-time { scroll-margin-top: 12px; }
.pick-time .calendly-box { border: 2px dashed var(--pink); background: var(--blush); }
.pick-time-note { text-align: center; margin: 20px 0 0; color: var(--slate); font-size: 14px; line-height: 1.6; font-style: italic; }
.dq-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); padding: 16px; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; }
.dq-box { background: #fff; border-radius: 15px; padding: 40px; max-width: 500px; width: 100%; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); text-align: center; }
.dq-box h2 { color: #070606; font-size: 24px; font-weight: 700; line-height: 1.3; margin: 0 0 20px; }
.dq-box p { color: var(--slate); font-size: 15px; line-height: 1.6; margin: 0 0 30px; }
.dq-btn { background: linear-gradient(135deg, var(--coral), var(--mauve)); color: #fff; border: 0; padding: 12px 30px; font-size: 16px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: transform .2s ease; }
.dq-btn:hover { transform: scale(1.05); }
.calendly-box { position: relative; min-width: 300px; height: 700px; border-radius: 10px; overflow: hidden; }
.calendly-box iframe { width: 100%; height: 100%; border: 0; }
.calendly-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; color: var(--slate); font-size: 15px; pointer-events: none; }
.calendly-box.loaded .calendly-loading { display: none; }
.calendly-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 24px; text-align: center; color: var(--slate); border: 2px dashed var(--pink); border-radius: 10px; }
.calendly-ph b { color: var(--mauve); }
.back-link { display: inline-block; margin-top: 14px; background: none; border: 0; color: var(--mauve); text-decoration: underline; font-size: 14px; cursor: pointer; padding: 4px; }
[hidden] { display: none !important; }

/* footer */
.fc-footer { text-align: center; color: #5e2633; font-size: 13px; padding: 22px 10px 6px; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; }
.fc-footer a { color: #5e2633; margin: 0 6px; }
.fc-footer p { margin: 6px 0 0; opacity: .9; }

@media (max-width: 1023px) and (min-width: 768px) { .form-section { max-width: 90%; } }
@media (max-width: 768px) {
  .headline { font-size: 28px; }
  .subheadline { font-size: 18px; }
  .content { padding: 40px 25px; }
  .reviews-header h2, .reviews-header h3 { font-size: 20px; }
  .review-grid { grid-template-columns: 1fr; }
  .form-section { padding: 30px 24px; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-group { margin-bottom: 20px; }
  .form-header h2 { font-size: 24px; }
  .dq-box { padding: 30px 22px; }
  .submit-button { position: sticky; bottom: 20px; z-index: 100; }
  .trust-row { gap: 15px; }
}

/* Final step on a phone: give the calendar the full width (it needs 320px+). */
@media (max-width: 768px) {
  body.is-step2 .fc-main { padding: 10px 0 0; }
  body.is-step2 .fc-card { border-radius: 0; padding: 0; }
  body.is-step2 .fc-header { padding: 22px 18px; }
  body.is-step2 .fc-header h1 { font-size: 24px; }
  body.is-step2 .content { padding: 16px 0 24px; }
  body.is-step2 .form-section { padding: 22px 0 24px; border-radius: 0; }
  body.is-step2 .progress-label, body.is-step2 .journey, body.is-step2 .pick-time h2, body.is-step2 .pick-time-note, body.is-step2 .trust-row, body.is-step2 .no-payment-note { padding-left: 16px; padding-right: 16px; }
  body.is-step2 .calendly-box { border-radius: 0; border-left: 0; border-right: 0; height: 1000px; }
}

/* ---------- thank-you ---------- */
.ty-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 2px solid rgba(255, 255, 255, .85); margin: 0 auto 14px; position: relative; }
.ty-check::after { content: ""; position: absolute; left: 22px; top: 12px; width: 14px; height: 28px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.ty-sub { font-size: 18px; margin: 6px 0 0; opacity: .95; }
.ty-note { background: var(--blush); border-radius: 15px; padding: 22px 24px; max-width: 740px; margin: 0 auto 36px; text-align: center; color: var(--ink); font-size: 16px; line-height: 1.6; }
.ty-note strong { color: var(--mauve); }
.ty-video { max-width: 740px; margin: 0 auto 40px; text-align: center; }
.ty-video h2, .ty-steps h2 { color: var(--mauve); font-size: 26px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.ty-video .video-slot { max-width: 360px; margin: 0 auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(169, 76, 94, .25); }
.ty-video .video-slot[style*="16/9"] { max-width: 640px; }
.ty-video-by { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--slate); font-size: 14px; }
.ty-video-by img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ty-steps { max-width: 740px; margin: 0 auto 36px; }
.ty-steps h2 { text-align: center; }
.ty-steps ol { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.ty-steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 64px; margin-bottom: 12px; border: 2px solid var(--blush); border-radius: 12px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.ty-steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--peach), var(--coral)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ty-steps li b { color: var(--mauve); }
.ty-dontmiss { max-width: 740px; margin: 0 auto; background: var(--mauve); color: #fff; border-radius: 15px; padding: 26px 24px; text-align: center; }
.ty-dontmiss h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.ty-dontmiss p { margin: 0; font-size: 15px; opacity: .95; }

/* ---------- legal ---------- */
.legal { max-width: 760px; margin: 0 auto; color: var(--ink); font-size: 16px; line-height: 1.7; }
.legal h2 { color: var(--mauve); font-size: 20px; font-weight: 700; margin: 28px 0 8px; }
.legal .draft { background: var(--blush); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--mauve); }
