/* ==========================================================
   BƯỚC 7 · LIÊN HỆ / ĐẶT LỊCH — 3 options, under the chosen sections
   Forms are UI only: submit shows a demo confirmation, nothing is sent.
   Clinic addresses / hours are SAMPLES (nguồn thật: _CHUNG\co-so).
   ========================================================== */
.ct { position: relative; padding: clamp(96px, 11vw, 160px) 24px; }
.ct__wrap { max-width: 1240px; margin: 0 auto; }
.ct__title {
  margin: 0; font-family: var(--font-accent); font-weight: 300;
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144; text-wrap: balance;
}
.ct__intro { margin: 18px 0 0; max-width: 52ch; font-size: 1.0625rem; font-weight: 300; line-height: 1.7; }

/* ---------- form (light by default) ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fld { display: grid; gap: 7px; }
.fld--full { grid-column: 1 / -1; }
.fld label, .fld legend { font-size: .875rem; font-weight: 500; }
.fld .opt { font-weight: 400; opacity: .65; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #D9CFC3; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--font); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: #8B6F4E; box-shadow: 0 0 0 3px rgba(213, 193, 169, .45); }
.fld input:user-invalid, .fld select:user-invalid { border-color: #B4533A; }
.fld input[type="file"] { padding: 10px; font-size: .875rem; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: .8125rem; line-height: 1.55; opacity: .75; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form__done {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px;
  background: rgba(31, 138, 120, .1); border: 1px solid rgba(31, 138, 120, .35); color: #155E52; font-size: .9375rem; line-height: 1.55;
}
.form__done[hidden] { display: none; }
.form__done svg { width: 22px; height: 22px; flex-shrink: 0; }

/* dark-surface form */
.form--dark .fld input, .form--dark .fld select, .form--dark .fld textarea {
  background: rgba(254, 248, 231, .05); border-color: var(--glass-line); color: var(--on-dark);
}
.form--dark .fld select option { color: var(--ink); }
.form--dark .fld input::placeholder, .form--dark .fld textarea::placeholder { color: rgba(201, 192, 180, .6); }
.form--dark .form__done { background: rgba(92, 200, 179, .12); border-color: rgba(92, 200, 179, .4); color: #9FE3D5; }

/* quick contact buttons */
.quick { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.quick a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--glass-line); color: var(--on-dark); transition: background-color .2s var(--ease);
}
.quick a:hover { background: rgba(254, 248, 231, .08); }
.quick svg { width: 20px; height: 20px; color: var(--sand); }
.quick b { display: block; font-weight: 500; }
.quick small { color: var(--on-dark-soft); font-size: .8125rem; }

/* ==========================================================
   OPTION 1 · Split: photo + quick contact left, form right (light)
   ========================================================== */
.ct1 { background: #F6F2ED; color: var(--ink); }
.ct1 .ct__intro { color: var(--ink-soft); }
.ct1__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.ct1__aside { position: relative; border-radius: 22px; overflow: hidden; min-height: 640px; color: var(--on-dark); }
.ct1__aside > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct1__aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 22, 20, .92) 0%, rgba(23, 22, 20, .55) 50%, rgba(23, 22, 20, .1) 100%); }
.ct1__aside-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 640px; padding: 28px; }
.ct1__hotline { font-family: var(--font-accent); font-weight: 300; font-size: 2.25rem; line-height: 1; letter-spacing: -.01em; color: #fff; }
.ct1__hours { margin: 8px 0 22px; font-size: .875rem; color: var(--on-dark-soft); }
.ct1__form { padding: clamp(28px, 3vw, 44px); border-radius: 22px; background: #fff; border: 1px solid #E8E1D8; box-shadow: 0 18px 48px rgba(33, 32, 30, .07); }
.ct1__form .ct__title { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem); }
.ct1__form .form { margin-top: 32px; }
@media (max-width: 960px) {
  .ct1__grid { grid-template-columns: 1fr; }
  .ct1__aside, .ct1__aside-in { min-height: 460px; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================
   OPTION 2 · Step-by-step booking over a dimmed lounge photo (dark)
   ========================================================== */
.ct2 { background: var(--night-deep); color: var(--on-dark); overflow: hidden; isolation: isolate; border-top: 1px solid var(--glass-line); }
.ct2__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ct2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 22, 20, .82) 0%, rgba(23, 22, 20, .9) 100%); }
.ct2__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.ct2 .ct__intro { margin-inline: auto; color: var(--on-dark-soft); }
.ct2__card {
  max-width: 780px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 24px;
  background: rgba(33, 32, 30, .72); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 12px; border-top: 3px solid var(--glass-line); font-size: .875rem; color: var(--on-dark-soft); }
.steps li::before { content: "Bước " counter(s); display: block; font-size: .75rem; opacity: .7; }
.steps li[aria-current="step"], .steps li.is-done { border-top-color: var(--sand); color: var(--on-dark); }
.step[hidden] { display: none; }
.step__nav { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; grid-column: 1 / -1; }
.choice label {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--glass-line); font-size: .9375rem; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice input { accent-color: #D5C1A9; width: 18px; height: 18px; }
.choice label:has(input:checked) { border-color: var(--sand); background: rgba(213, 193, 169, .1); }
.step-legend { grid-column: 1 / -1; margin: 0 0 4px; font-size: 1.125rem; font-weight: 500; }
.ct2__alt { margin-top: 28px; text-align: center; font-size: .9375rem; color: var(--on-dark-soft); }
.ct2__alt a { color: var(--sand); font-weight: 500; }
@media (max-width: 640px) { .choice { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   OPTION 3 · Illustrated map + clinic cards + short form
   ========================================================== */
.ct3 { padding-bottom: 0; background: var(--night); color: var(--on-dark); border-top: 1px solid var(--glass-line); }
.ct3__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; }
.ct3 .ct__intro { color: var(--on-dark-soft); }
.ct3__map { position: relative; margin: 0 -24px; min-height: 720px; overflow: hidden; }
.ct3__map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.pin {
  position: absolute; z-index: 1; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--sand); box-shadow: 0 0 0 6px rgba(213, 193, 169, .25), 0 0 0 14px rgba(213, 193, 169, .1);
}
.pin span {
  position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap;
  padding: 6px 10px; border-radius: 8px; background: rgba(23, 22, 20, .85); font-size: .8125rem; color: var(--on-dark);
}
.ct3__layer {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 360px) 1fr minmax(0, 400px);
  gap: 24px; max-width: 1288px; margin: 0 auto; padding: 40px 24px;
}
.ct3__clinics { display: grid; gap: 12px; align-content: start; margin: 0; padding: 0; list-style: none; }
.clinic {
  padding: 18px 20px; border-radius: 14px; background: rgba(23, 22, 20, .82); border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.clinic b { display: block; font-weight: 600; }
.clinic p { margin: 4px 0 0; font-size: .875rem; line-height: 1.5; color: var(--on-dark-soft); }
.clinic a { display: inline-flex; margin-top: 8px; font-size: .875rem; font-weight: 500; color: var(--sand); }
.ct3__form {
  grid-column: 3; align-self: start; padding: 28px; border-radius: 20px; background: #FBF8F4; color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.ct3__form h3 { margin: 0 0 6px; font-family: var(--font-accent); font-weight: 400; font-size: 1.625rem; }
.ct3__form > p { margin: 0 0 20px; font-size: .9375rem; color: var(--ink-soft); }
.ct3__form .form { grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 1100px) {
  .ct3__layer { grid-template-columns: 1fr 1fr; }
  .ct3__form { grid-column: 2; }
}
@media (max-width: 760px) {
  .ct3__map { min-height: 0; margin: 0; }
  .ct3__map > img { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .pin span { display: none; }
  .ct3__layer { grid-template-columns: 1fr; padding: 24px 0 64px; }
  .ct3__form { grid-column: 1; }
}

.step { grid-column: 1 / -1; }

/* calm the busy illustrated map so pins + cards read first */
.ct3__map::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(23, 22, 20, .55) 0%, rgba(23, 22, 20, .25) 50%, rgba(23, 22, 20, .55) 100%); pointer-events: none; }
.ct3__map .pin { z-index: 1; }
@media (max-width: 760px) { .ct3__map .pin { display: none; } }   /* map shrinks above the stacked cards; pins would land on the cards */
