/* /virtual1/assets/css/assistant.css */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --sage: #7C8F6A;
  --sage-dark: #586B49;
  --sage-light: #E7ECDF;
  --coral: #D9714A;
  --coral-dark: #AD5230;
  --coral-light: #FBE7DC;
  --cream: #FAF7F0;
  --card: #FFFFFF;
  --ink: #2B2B24;
  --muted: #6E6C60;
  --line: #E5E0D2;
  --warn: #B8863C;
  --warn-bg: #FBF1DE;
  --danger: #B84B3C;
  --danger-bg: #FBE7E3;
  --ok: #4C7A4E;
  --ok-bg: #E9F1E5;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  margin: 0 0 .4em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

header.top p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}

header.top strong {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.progress {
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  margin: 0 0 32px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--sage);
  transition: width .35s ease;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: rise .3s ease;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  font-size: 13px;
  color: var(--sage-dark);
  font-weight: 600;
  margin: 0 0 6px;
}

.sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.field input[type=text],
.field input[type=number] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(124, 143, 106, 0.15);
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.opt-card {
  text-align: left;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color .15s, background .15s, transform .1s;
}

.opt-card:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
}

.opt-card.selected {
  border-color: var(--sage);
  background: var(--sage-light);
  font-weight: 500;
}

.opt-card .ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: .75;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.opt-row {
  text-align: left;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}

.opt-row:hover {
  border-color: var(--sage);
}

.opt-row.selected {
  border-color: var(--sage);
  background: var(--sage-light);
  font-weight: 500;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  cursor: pointer;
  user-select: none;
}

.check-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
  cursor: pointer;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.btn {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn.secondary:hover {
  background: var(--sage-light);
  border-color: var(--sage);
}

.back-link {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.back-link:hover {
  color: var(--ink);
}

.error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

input[type=range] {
  width: 100%;
  accent-color: var(--sage);
  height: 6px;
  border-radius: 3px;
  background: var(--line);
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0 6px;
}

.slider-num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  min-width: 44px;
  text-align: center;
  color: var(--sage-dark);
  font-weight: 600;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* Result Card */
.result-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.r-eyebrow {
  font-size: 12px;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  margin: 0 0 4px;
}

.r-name {
  font-size: 26px;
  margin: 0 0 4px;
}

.r-tagline {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 10px;
}

.r-meta {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-weight: 500;
}

.tag.status-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.tag.status-warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.tag.status-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.review-banner {
  background: var(--danger-bg);
  color: var(--danger);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  margin-bottom: 18px;
  line-height: 1.5;
  border: 1px solid rgba(184, 75, 60, 0.2);
}

.review-banner a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.r-what {
  font-size: 15px;
  margin: 0 0 20px;
  line-height: 1.6;
}

.r-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 600;
}

.r-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.r-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  margin-bottom: 7px;
  line-height: 1.45;
}

.r-list li .dot {
  flex-shrink: 0;
  margin-top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.r-list.for .dot {
  background: var(--sage);
}

.r-list.notfor .dot {
  background: var(--danger);
}

.r-list.benefits .dot {
  background: var(--coral);
}

.faq {
  margin-top: 8px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 13px 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
  gap: 10px;
}

.faq-a {
  display: none;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}

.faq-item.open .faq-a {
  display: block;
}

.match-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 8px;
}

.schedule-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 16px;
  border-left: 3px solid var(--sage);
  padding-left: 10px;
}

.why {
  background: var(--sage-light);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--sage-dark);
  margin: 0 0 16px;
  line-height: 1.5;
}

.why.schedule {
  background: var(--warn-bg);
  color: var(--warn);
}

.secondary-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 20px;
}

.secondary-note a {
  color: var(--sage-dark);
  font-weight: 600;
}

.alt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alt-row {
  text-align: left;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all .15s ease;
}

.alt-row:hover {
  border-color: var(--sage);
  background: #FDFCF9;
}

.alt-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.alt-tagline {
  font-size: 13px;
  color: var(--muted);
}

.book-box {
  background: var(--sage-light);
  border-radius: 12px;
  padding: 18px;
  margin: 22px 0 10px;
  border: 1px solid rgba(124, 143, 106, 0.3);
}

.book-q {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}

.book-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.book-confirm {
  font-size: 13.5px;
  color: var(--sage-dark);
  margin: 0;
  line-height: 1.45;
}

.book-confirm a {
  color: inherit;
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.cta-row a.btn,
.cta-row button.btn {
  text-decoration: none;
  text-align: center;
}

/* Modal overlay & popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(43, 43, 36, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(2px);
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.modal-close:hover {
  color: var(--ink);
  background: var(--line);
}

.modal-body {
  padding: 20px 22px;
  overflow-y: auto;
}

.btn-pill-explore {
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sage-dark);
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.btn-pill-explore:hover {
  border-color: var(--sage);
  background: var(--sage-light);
}

.loc-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.loc-price-badge.loc-inr {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.loc-price-badge.loc-intl {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

