:root {
  --primary: #16483b;
  --secondary: #c5a25e;
  --paper: #f5f0e7;
  --mint: #e4f1ec;
  --ink: #18221f;
  --muted: #66736f;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Be Vietnam Pro", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(197, 162, 94, 0.2), transparent 26rem),
    linear-gradient(135deg, #d7c7a8 0%, #efe7d8 45%, #cddfd7 100%);
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(19, 45, 38, 0.24);
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 22px rgba(22, 72, 59, 0.08);
}

.brand {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: 0.18em;
}

.brand-sub {
  margin-left: 9px;
  padding-left: 9px;
  border-left: 1px solid #e1e6e3;
  color: #9aa4a0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.screen {
  flex: 1;
  padding: 24px 20px;
}

.footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.78);
  color: #8f9a95;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--primary);
  font-family: "Be Vietnam Pro", Inter, Arial, sans-serif;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.lead {
  max-width: 360px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.hero {
  position: relative;
  margin: 28px 0;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 18px 48px rgba(22, 72, 59, 0.18);
}

.hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 54% 48%;
}

.hero img.hero-clinic-photo {
  object-position: 52% 46%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 72, 59, 0.92), rgba(22, 72, 59, 0.14), transparent);
}

.hero div {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: white;
}

.hero span {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h2 {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.cards {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.info-card,
.panel,
.question,
.metrics div {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(22, 72, 59, 0.08);
}

.info-card {
  padding: 16px;
  border-left: 4px solid var(--primary);
}

.info-card h3,
.panel h3 {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 14px;
}

.info-card p,
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.primary,
.zalo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 18px;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.primary {
  margin-top: 22px;
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 28px rgba(22, 72, 59, 0.22);
}

.zalo {
  margin-top: 10px;
  background: #0068ff;
  color: white;
}

.title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.title button {
  flex: 0 0 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(22, 72, 59, 0.09);
}

.title h1 {
  font-family: inherit;
  font-size: 22px;
}

.title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 16px;
}

.scalp-upload {
  margin: 0 0 20px;
  border: 1px solid rgba(22, 72, 59, 0.14);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(22, 72, 59, 0.08);
}

.upload-step {
  display: block;
  margin-bottom: 7px;
  color: #a77a25;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.upload-heading h2 { margin: 0; color: var(--primary); font-size: 18px; }
.upload-heading p { margin: 8px 0 0; color: #64716c; font-size: 11px; line-height: 1.65; }

.upload-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.upload-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  background: #f7faf8;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.upload-button.primary-upload { border-color: var(--primary); background: var(--primary); color: #fff; }
.upload-button:focus-within, .upload-button:hover { transform: translateY(-1px); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

#scalp-preview { margin-top: 12px; }
.upload-empty, .upload-error { display: grid; place-items: center; min-height: 118px; border: 1px dashed #ccd8d3; border-radius: 16px; background: #f8faf9; padding: 18px; text-align: center; }
.upload-empty > i { color: #99aaa3; font-size: 28px; }
.upload-empty p, .upload-error p { margin: 8px 0 0; color: #3f5049; font-size: 12px; font-weight: 850; }
.upload-empty span { color: #8a9691; font-size: 9px; }
.upload-error { color: #9a3412; background: #fff7ed; }
.upload-error i { font-size: 20px; }

.upload-preview-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; border-radius: 16px; background: #f1f6f3; padding: 10px; }
.upload-preview-card img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.upload-preview-card > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.upload-preview-card b { width: 100%; overflow: hidden; color: #24342e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.quality-badge { margin-top: 5px; border-radius: 999px; padding: 4px 7px; font-size: 8px; font-weight: 900; }
.quality-badge.good { background: #dcfce7; color: #166534; }
.quality-badge.warn { background: #fef3c7; color: #92400e; }
.upload-preview-card p { margin: 7px 0 0; color: #65726d; font-size: 8px; line-height: 1.45; }
.upload-preview-card button { margin-top: 5px; border: 0; background: none; padding: 0; color: #9a5c12; font-size: 9px; font-weight: 900; text-decoration: underline; }
.upload-privacy { display: flex; gap: 7px; margin: 12px 2px 0; color: #71807a; font-size: 9px; line-height: 1.5; }
.upload-privacy i { margin-top: 2px; color: #2b735f; }
.mini-spinner { width: 24px; height: 24px; border: 3px solid #dceae4; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }

.image-analysis { margin-top: 28px; }
.image-analysis-grid { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; border-radius: 18px; background: #fff; padding: 12px; box-shadow: 0 2px 10px rgba(17, 24, 39, .08); }
.image-analysis-grid > img { width: 100%; height: 100%; min-height: 180px; border-radius: 12px; object-fit: cover; }
.submitted-image { margin-top: 28px; }
.submitted-image-card { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 16px; margin: 0; border-radius: 24px; padding: 14px; background: #fff; box-shadow: 0 8px 28px rgba(17, 24, 39, .08); }
.submitted-image-card > img { width: 100%; height: 100%; min-height: 360px; max-height: 520px; border-radius: 16px; object-fit: cover; }
.image-visual-metrics { display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.image-visual-metrics article { display: flex; flex-direction: column; justify-content: center; border: 1px solid #e4e7e5; border-radius: 16px; padding: 14px 16px; background: #fff; }
.image-visual-metrics span { color: #7b8581; font-size: 9px; font-weight: 900; }
.image-visual-metrics strong { margin-top: 7px; color: var(--primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 4vw, 30px); line-height: 1.1; }
.image-visual-metrics small { margin-top: 8px; color: #9a6a18; font-size: 9px; font-weight: 800; line-height: 1.5; }
.image-result-unavailable { margin: 14px 0 0; border-radius: 12px; padding: 12px; color: #795712; background: #fff7df; font-size: 10px; line-height: 1.6; }
@media (max-width: 520px) {
  .submitted-image-card { grid-template-columns: 1fr; }
  .submitted-image-card > img { min-height: 300px; max-height: 420px; }
  .image-visual-metrics { grid-template-rows: none; }
}
.image-metrics { display: grid; gap: 8px; }
.image-metrics > div { display: grid; border: 1px solid #edf1ef; border-radius: 12px; padding: 10px; }
.image-metrics span { color: #7f8b86; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.image-metrics b { margin-top: 3px; color: var(--primary); font-size: 18px; }
.image-metrics small { color: #a06a14; font-size: 9px; font-weight: 800; }
.image-metrics > p { margin: 0; color: #6d7873; font-size: 8px; line-height: 1.5; }
.medical-disclaimer { margin: 11px 0 0; border-left: 3px solid #d6a84c; background: #fffaf0; padding: 11px 12px; color: #6c5b3d; font-size: 9px; line-height: 1.65; }

.ai-report { margin: 28px 0; border: 1px solid rgba(224, 189, 116, .42); border-radius: 22px; background: linear-gradient(145deg, #fffdf8, #f4f9f6); padding: 18px; box-shadow: 0 16px 40px rgba(18, 56, 47, .1); }
.ai-model-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px; border-radius: 999px; background: #153f35; padding: 7px 10px; color: #f0ce87; font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.ai-summary { border-radius: 16px; background: #fff; padding: 15px; box-shadow: 0 2px 10px rgba(17, 24, 39, .06); }
.ai-summary > p { margin: 10px 0 0; color: #31453d; font-size: 12px; font-weight: 650; line-height: 1.7; }
.urgency { display: inline-flex; border-radius: 999px; padding: 5px 8px; font-size: 8px; font-weight: 950; text-transform: uppercase; }
.urgency.routine { background: #dcfce7; color: #166534; }
.urgency.soon { background: #fef3c7; color: #92400e; }
.urgency.urgent { background: #fee2e2; color: #991b1b; }
.ai-quality { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 12px; border: 1px solid #e6ece9; border-radius: 14px; background: rgba(255,255,255,.7); padding: 12px; }
.ai-quality span { color: #77837e; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.ai-quality b { color: var(--primary); font-size: 15px; }
.ai-quality p { grid-column: 1 / -1; margin: 2px 0 0; color: #65716c; font-size: 9px; line-height: 1.55; }
.ai-observations { display: grid; gap: 8px; margin-top: 14px; }
.ai-observations article { border-left: 3px solid #d8b56b; background: #fff; padding: 11px 12px; }
.ai-observations article > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.ai-observations b { color: #24372f; font-size: 11px; }
.ai-observations span { color: #a36e18; font-size: 8px; font-weight: 850; }
.ai-observations p { margin: 6px 0 0; color: #66716d; font-size: 9px; line-height: 1.55; }
.ai-columns { display: grid; gap: 10px; margin-top: 14px; }
.ai-columns > div, .ai-red-flags, .ai-avoid { border-radius: 14px; background: #fff; padding: 13px; }
.ai-report h3 { margin: 0 0 8px; color: #254238; font-size: 10px; text-transform: uppercase; }
.ai-report ul { display: grid; gap: 6px; margin: 0; padding-left: 17px; color: #586760; font-size: 9px; line-height: 1.55; }
.ai-red-flags { margin-top: 10px; background: #fff7ed; }
.ai-red-flags h3 { color: #9a3412; }
.ai-avoid { margin-top: 10px; background: #f8faf9; }
.ai-empty { margin: 0; color: #7a8580; font-size: 9px; }
.ai-report-error { background: #fff7ed; border-color: #fed7aa; }
.ai-report-error h2 { margin: 0; color: #9a3412; font-size: 18px; }
.ai-report-error > p { color: #7c4a22; font-size: 11px; line-height: 1.6; }
.ai-report-error > small { color: #986a43; font-size: 9px; }

@media (min-width: 520px) {
  .ai-columns { grid-template-columns: 1fr 1fr; }
}

.lead-lock {
  margin: -4px 0 20px;
  border: 1px solid rgba(22, 72, 59, 0.12);
  border-radius: 18px;
  background: rgba(228, 241, 236, 0.85);
  padding: 16px;
}

.lead-lock b {
  display: block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 950;
}

.lead-lock p {
  margin: 7px 0 0;
  color: #53615c;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: white;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
}

.form .consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid rgba(22, 72, 59, .14);
  border-radius: 16px;
  background: #f7faf8;
  padding: 13px;
  color: #40534b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  cursor: pointer;
}

.form .consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--primary);
}

.consent-help {
  display: block;
  margin: -8px 2px 0;
  color: #71807a;
  font-size: 9px;
  line-height: 1.55;
}

.progress {
  margin-bottom: 18px;
}

.progress div {
  display: flex;
  justify-content: space-between;
  color: var(--primary);
  font-size: 12px;
}

.progress i {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-pill {
  margin: -4px 0 16px;
  border: 1px solid rgba(22, 72, 59, 0.1);
  border-radius: 14px;
  background: rgba(228, 241, 236, 0.75);
  padding: 11px 13px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.question {
  margin-bottom: 14px;
  padding: 16px;
}

.question h3 {
  margin: 0 0 13px;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.55;
}

.question-note {
  margin: -4px 0 12px;
  border-radius: 12px;
  background: var(--mint);
  padding: 10px 12px;
  color: #4b635b;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.question button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  border: 1px solid #edf0ee;
  border-radius: 15px;
  background: white;
  padding: 12px 13px;
  color: #4b5563;
  text-align: left;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.question button.selected {
  border-color: var(--primary);
  background: var(--mint);
  color: var(--primary);
}

.hint {
  margin: 10px 0 0;
  color: #7d8783;
  font-size: 11px;
  text-align: center;
}

.quiz-nav {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  margin-top: 16px;
}

.quiz-nav .primary {
  margin-top: 0;
}

.secondary-btn {
  width: 100%;
  border: 1px solid #dfe5e2;
  border-radius: 18px;
  background: white;
  padding: 15px 12px;
  color: #3f4b47;
  font-size: 13px;
  font-weight: 900;
}

.processing,
.done {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.spinner {
  width: 92px;
  height: 92px;
  border: 10px solid var(--mint);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin-bottom: 24px;
  animation: spin 1s linear infinite;
}

.steps {
  width: 100%;
  margin-top: 22px;
  padding: 15px;
  border-radius: 18px;
  background: white;
  text-align: left;
}

.steps p {
  margin: 10px 0;
  color: #a1aaa6;
  font-size: 12px;
  font-weight: 700;
}

.steps p.active {
  color: var(--primary);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  margin: 18px 0;
}

.metrics div {
  padding: 14px;
  text-align: center;
}

.metrics span {
  display: block;
  color: #9aa4a0;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.metrics b {
  display: block;
  margin-top: 7px;
  color: var(--primary);
  font-size: 12px;
}

.panel {
  padding: 16px;
  margin: 16px 0;
}

.bar-row {
  margin-top: 14px;
}

.bar-row div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.bar-row i {
  display: block;
  height: 9px;
  overflow: hidden;
  margin-top: 6px;
  border-radius: 999px;
  background: #eef1ef;
}

.bar-row em {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 26px;
}

.result-summary article {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.1);
  text-align: center;
  padding: 14px 8px;
}

.result-summary span {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.result-summary strong,
.result-summary b {
  margin-top: 12px;
  color: #000;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.result-summary b {
  padding: 7px 14px;
  border-radius: 999px;
}

.result-summary b.mild {
  background: #dcfce7;
  color: #166534;
}

.result-summary b.moderate {
  background: #fef3c7;
  color: #92400e;
}

.result-summary b.severe,
.result-summary b.critical {
  background: #ffedd5;
  color: #9a3412;
}

.result-panel,
.diagnosis-card,
.treatment-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 6px rgba(17, 24, 39, 0.1);
}

.chart-panel {
  padding: 26px 24px;
  margin-bottom: 30px;
}

.chart-panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #050505;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chart-panel .icon {
  color: #050505;
  font-size: 13px;
  letter-spacing: -0.18em;
}

.cause-row {
  margin-top: 22px;
}

.cause-row div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #3f4b5d;
  font-size: 14px;
  font-weight: 800;
}

.cause-row b {
  flex: 0 0 auto;
  color: #000;
  font-size: 14px;
}

.cause-row i {
  display: block;
  height: 15px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 999px;
  background: #f0f0f2;
}

.cause-row em {
  display: block;
  height: 100%;
  min-width: 20px;
  border-radius: 999px;
  background: #10b981;
}

.cause-row em.hot {
  background: #f97316;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 18px;
  color: #050505;
  font-family: inherit;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-title span {
  font-size: 17px;
}

.diagnosis-list,
.treatment-list {
  display: grid;
  gap: 22px;
}

.diagnosis-card {
  padding: 28px 24px 32px;
}

.diagnosis-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.diagnosis-head h3 {
  margin: 0;
  color: #050505;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.35;
}

.diagnosis-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 900;
}

.diagnosis-head .warning {
  background: #fef3c7;
  color: #92400e;
}

.diagnosis-head .safe {
  background: #d1fae5;
  color: #047857;
}

.diagnosis-head .danger {
  background: #fee2e2;
  color: #991b1b;
}

.diagnosis-card > p,
.treatment-card > p {
  margin: 0;
  color: #5e6877;
  font-size: 14px;
  line-height: 1.8;
}

.recommendation {
  margin-top: 30px;
  padding-left: 16px;
}

.recommendation b {
  display: block;
  margin-bottom: 8px;
  color: #050505;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.recommendation p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.75;
}

.treatment-card {
  position: relative;
  padding: 28px 24px 24px;
}

.treatment-card > strong {
  position: absolute;
  right: 18px;
  top: 12px;
  color: #050505;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.treatment-card h3 {
  margin: 0 0 12px;
  padding-right: 86px;
  color: #050505;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.32;
}

.treatment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.treatment-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #dde2e7;
  border-radius: 6px;
  padding: 5px 10px;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.treatment-tags span:last-child {
  color: #9a5a13;
}

.check {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary);
  font-size: 48px;
  font-weight: 900;
}

.fade-in {
  animation: fadeIn 0.28s ease-out both;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 720px) {
  .app-shell { padding: 28px; }
  .phone-frame {
    border-radius: 28px;
    min-height: calc(100vh - 56px);
  }
}

/* Results report */
.result-hero {
  margin: -24px -20px 24px;
  padding: 34px 20px 56px;
  background: #113f35;
  color: #fff;
}

.result-hero h1 {
  max-width: 420px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.result-hero > p:last-child {
  margin: 14px 0 0;
  color: #d7e6e1;
  font-size: 13px;
  line-height: 1.7;
}

.result-kicker,
.section-heading > p {
  margin: 0 0 9px;
  color: #b18c44;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.result-summary {
  position: relative;
  z-index: 1;
  gap: 8px;
  margin: -48px 0 42px;
}

.result-summary article {
  min-height: 112px;
  border: 1px solid #e3e4df;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 45, 40, 0.09);
}

.result-summary strong,
.result-summary b {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.result-section {
  padding: 8px 0 44px;
  border-bottom: 1px solid #ddd8cf;
}

.result-section + .result-section {
  padding-top: 38px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  color: #13241f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading > span {
  display: block;
  margin-top: 10px;
  color: #6a736f;
  font-size: 13px;
  line-height: 1.65;
}

.result-panel,
.diagnosis-card,
.treatment-card {
  border: 1px solid #e4e2dc;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(31, 45, 40, 0.07);
}

.chart-panel {
  margin-bottom: 16px;
  padding: 22px 18px;
}

.cause-row:first-child {
  margin-top: 0;
}

.cause-row {
  margin-top: 24px;
}

.cause-row div {
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
}

.cause-row div span {
  max-width: 82%;
}

.cause-row i {
  height: 10px;
  border-radius: 3px;
}

.cause-row em {
  min-width: 0;
  border-radius: 3px;
  background: #26876d;
}

.cause-row em.hot {
  background: #d96d47;
}

.cause-row > p {
  margin: 8px 0 0;
  color: #737a77;
  font-size: 11px;
  line-height: 1.6;
}

.clinical-callout,
.safety-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid #c59a42;
  padding: 15px 15px 15px 14px;
  background: #fff8e8;
  color: #654b18;
}

.clinical-callout > i,
.safety-callout > i {
  margin-top: 3px;
  color: #a97418;
}

.clinical-callout p,
.safety-callout p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.diagnosis-list,
.treatment-list {
  gap: 14px;
}

.diagnosis-card {
  padding: 22px 18px 24px;
}

.diagnosis-head {
  display: grid;
  gap: 10px;
}

.diagnosis-head h3 {
  font-size: 17px;
}

.diagnosis-head span {
  width: max-content;
}

.recommendation {
  margin-top: 20px;
  border-left: 2px solid #c5a25e;
}

.section-bridge {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #dfddd7;
  color: #4f5955;
  font-size: 13px;
  line-height: 1.75;
}

.section-bridge.clinical-warning {
  border-top-color: #dfb9b4;
  color: #a3372b;
  font-weight: 600;
}

.section-bridge.clinical-warning b {
  color: #7f211a;
}

.follicle-section {
  background: #173f38;
  margin-inline: -20px;
  padding: 38px 20px 42px;
  border: 0;
  color: #fff;
}

.follicle-section .section-heading > p {
  color: #e0bd74;
}

.follicle-section .section-heading h2 {
  color: #fff;
  font-size: 22px;
}

.follicle-placeholder,
.follicle-clock {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.07);
}

.follicle-placeholder {
  text-align: center;
}

.follicle-placeholder h3 {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 16px;
}

.follicle-placeholder p {
  margin: 0;
  color: #cbddd7;
  font-size: 12px;
  line-height: 1.7;
}

.scan-rings {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
}

.scan-rings > i,
.scan-rings::before,
.scan-rings::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(224, 189, 116, 0.35);
  border-radius: 50%;
  inset: 0;
}

.scan-rings::before { inset: 9px; }
.scan-rings::after { inset: 18px; }

.scan-rings span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0bd74;
  color: #173f38;
}

.clock-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 18px;
  color: #e8f0ed;
  font-size: 10px;
}

.clock-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.clock-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.healthy { background: #50b694; }
.weak { background: #e0bd74; }
.scarred { background: #d06752; }

.clock-close {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.clock-footnote {
  display: block;
  color: #aebfba;
  font-size: 9px;
  line-height: 1.6;
}

.clock-unavailable {
  border-left-color: #e0bd74;
  background: rgba(255, 248, 232, 0.96);
}

.clock-day {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #d1e2dc;
  font-size: 12px;
}

.clock-day b {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
}

.stacked-follicles {
  display: flex;
  height: 34px;
  overflow: hidden;
  margin-top: 14px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #0d2d27;
}

.stacked-follicles span {
  height: 100%;
  transition: width 0.45s ease;
}

.clock-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
  color: #bdd0ca;
  font-size: 9px;
}

.clock-values b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 12px;
}

.clock-slider {
  display: block;
  margin-top: 22px;
  color: #d5e2de;
  font-size: 10px;
  font-weight: 700;
}

.clock-slider input {
  width: 100%;
  margin-top: 10px;
  accent-color: #e0bd74;
}

.hair-clock {
  --timeline-progress: 0%;
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: #204f45;
}

.clock-stage {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  min-height: 250px;
  align-items: center;
}

.flip-calendar {
  position: relative;
  align-self: center;
  overflow: hidden;
  width: 104px;
  border: 1px solid #d4a94e;
  border-radius: 8px;
  background: #f7f0df;
  box-shadow: 0 12px 28px rgba(6, 28, 23, 0.28);
  color: #173f38;
  text-align: center;
  perspective: 500px;
}

.flip-calendar > span {
  display: block;
  padding: 8px 6px;
  background: #d8ad55;
  color: #173f38;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-number {
  position: relative;
  display: grid;
  place-items: center;
  height: 82px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.calendar-number::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  top: 50%;
  left: 0;
  height: 1px;
  background: rgba(23, 63, 56, 0.2);
}

.calendar-number b {
  position: relative;
  z-index: 2;
  color: #173f38;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.calendar-number i {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 50%;
  border-bottom: 1px solid rgba(23, 63, 56, 0.16);
  background: #fff9eb;
  transform-origin: bottom;
}

.flip-calendar.is-flipping .calendar-number i {
  animation: calendarFlip 0.22s cubic-bezier(0.65, 0, 0.35, 1);
}

.flip-calendar small {
  display: block;
  min-height: 28px;
  padding: 6px 5px 8px;
  color: #6d705f;
  font-size: 8px;
  font-weight: 800;
}

.hair-visual {
  position: relative;
  min-width: 0;
  height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #173f38;
}

.hair-condition {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  padding: 5px 7px;
  background: #214f45;
  color: #d8e7e2;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.3;
}

.skin-surface {
  position: absolute;
  z-index: 2;
  top: 112px;
  right: 0;
  left: 0;
  height: 68px;
  border-top: 2px solid #e2bd78;
  background: #c99770;
}

.skin-surface::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24px;
  background: #9a6555;
  opacity: 0.45;
}

.skin-surface i {
  position: absolute;
  top: -20px;
  width: 2px;
  height: 20px;
  border-radius: 2px 2px 0 0;
  background: #70bc9d;
  transform-origin: bottom;
  transition: height 0.65s ease, opacity 0.65s ease, transform 0.65s ease;
}

.skin-surface i:nth-child(1) { left: 14%; }
.skin-surface i:nth-child(2) { right: 15%; height: 15px; }
.skin-surface i:nth-child(3) { right: 32%; height: 10px; }

.hair-shaft {
  position: absolute;
  z-index: 4;
  bottom: 138px;
  left: 50%;
  width: 8px;
  height: 116px;
  border-radius: 8px 8px 2px 2px;
  background: #73d1aa;
  transform: translateX(-50%);
  transform-origin: bottom;
  transition: width 0.38s ease, height 0.38s ease, background-color 0.38s ease, opacity 0.38s ease, transform 0.38s ease;
}

.follicle-canal {
  position: absolute;
  z-index: 3;
  top: 112px;
  left: 50%;
  width: 44px;
  height: 116px;
  border: 2px solid rgba(246, 216, 169, 0.65);
  border-top: 0;
  border-radius: 0 0 48% 48%;
  background: rgba(87, 48, 43, 0.32);
  transform: translateX(-50%);
  transform-origin: top;
  transition: width 0.38s ease, height 0.38s ease, opacity 0.38s ease, border-color 0.38s ease;
}

.hair-root {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 28px;
  height: 35px;
  border-radius: 50% 50% 46% 46%;
  background: #73d1aa;
  box-shadow: inset 0 -7px 0 rgba(23, 63, 56, 0.2);
  transform: translateX(-50%);
  transition: width 0.38s ease, height 0.38s ease, background-color 0.38s ease, opacity 0.38s ease;
}

.follicle-pulse {
  position: absolute;
  z-index: 1;
  top: 188px;
  left: 50%;
  width: 68px;
  height: 38px;
  border: 1px solid rgba(115, 209, 170, 0.42);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: width 0.7s ease, opacity 0.7s ease;
  animation: folliclePulse 2.2s ease-in-out infinite;
}

.hair-clock[data-stage="1"] .hair-shaft { width: 6px; height: 92px; background: #a9c978; transform: translateX(-50%) rotate(2deg); }
.hair-clock[data-stage="1"] .hair-root { width: 22px; height: 28px; background: #a9c978; }
.hair-clock[data-stage="1"] .follicle-canal { width: 37px; height: 104px; }
.hair-clock[data-stage="2"] .hair-shaft { width: 5px; height: 70px; background: #ddb85e; transform: translateX(-50%) rotate(4deg); }
.hair-clock[data-stage="2"] .hair-root { width: 17px; height: 22px; background: #ddb85e; }
.hair-clock[data-stage="2"] .follicle-canal { width: 31px; height: 94px; }
.hair-clock[data-stage="3"] .hair-shaft { width: 3.5px; height: 49px; background: #e18750; transform: translateX(-50%) rotate(7deg); }
.hair-clock[data-stage="3"] .hair-root { width: 13px; height: 17px; background: #e18750; }
.hair-clock[data-stage="3"] .follicle-canal { width: 25px; height: 82px; border-color: rgba(224, 135, 80, 0.75); opacity: 0.78; }
.hair-clock[data-stage="4"] .hair-shaft { width: 2.5px; height: 30px; background: #e06150; transform: translateX(-50%) rotate(11deg); }
.hair-clock[data-stage="4"] .hair-root { width: 10px; height: 13px; background: #e06150; }
.hair-clock[data-stage="4"] .follicle-canal { width: 20px; height: 68px; border-color: rgba(224, 97, 80, 0.7); opacity: 0.58; }
.hair-clock[data-stage="5"] .hair-shaft { width: 1.5px; height: 18px; background: #c94642; opacity: 0.62; transform: translateX(-50%) translateY(6px) rotate(17deg); animation: weakHair 0.58s ease-in-out infinite alternate; }
.hair-clock[data-stage="5"] .hair-root { width: 7px; height: 9px; background: #c94642; opacity: 0.68; }
.hair-clock[data-stage="5"] .follicle-canal { width: 15px; height: 53px; border-color: rgba(201, 70, 66, 0.62); opacity: 0.38; }

.hair-clock[data-stage="2"] .skin-surface i { height: 14px; opacity: 0.8; }
.hair-clock[data-stage="3"] .skin-surface i { height: 10px; opacity: 0.65; transform: rotate(5deg); }
.hair-clock[data-stage="4"] .skin-surface i { height: 6px; opacity: 0.45; transform: rotate(9deg); }
.hair-clock[data-stage="5"] .skin-surface i { height: 3px; opacity: 0.25; transform: rotate(12deg); }
.hair-clock[data-stage="3"] .follicle-pulse { width: 48px; border-color: rgba(225, 135, 80, 0.5); opacity: 0.55; }
.hair-clock[data-stage="4"] .follicle-pulse { width: 32px; border-color: rgba(224, 97, 80, 0.52); opacity: 0.32; }
.hair-clock[data-stage="5"] .follicle-pulse { width: 18px; border-color: rgba(201, 70, 66, 0.6); opacity: 0.12; }

.clock-message {
  min-height: 80px;
  margin-top: 14px;
  border-left: 3px solid #d8ad55;
  padding: 12px 14px;
  background: #173f38;
}

.clock-message b {
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.clock-message p {
  margin: 5px 0 0;
  color: #bcd1ca;
  font-size: 10px;
  line-height: 1.6;
}

.qualitative-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 0;
  color: #b9cbc5;
  font-size: 9px;
  line-height: 1.55;
}

.qualitative-note i {
  margin-top: 2px;
  color: #d8ad55;
}

.clock-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.clock-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 94px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  padding: 8px 10px;
  background: transparent;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.hair-clock .clock-slider {
  margin: 0;
}

.hair-clock .clock-slider input {
  display: block;
  height: 18px;
}

.clock-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.clock-milestones button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 5px 3px;
  background: transparent;
  color: #afc5be;
  font-size: 8px;
  font-weight: 800;
}

.clock-milestones button.active {
  border-color: #d8ad55;
  background: #d8ad55;
  color: #173f38;
}

@keyframes calendarFlip {
  0% { transform: rotateX(0); }
  55% { transform: rotateX(-92deg); }
  100% { transform: rotateX(-180deg); }
}

@keyframes folliclePulse {
  0%, 100% { opacity: 0.28; transform: translateX(-50%) scale(0.9); }
  50% { opacity: 0.58; transform: translateX(-50%) scale(1.08); }
}

@keyframes weakHair {
  from { transform: translateX(-50%) translateY(5px) rotate(14deg); }
  to { transform: translateX(-50%) translateY(8px) rotate(20deg); }
}

@media (min-width: 420px) {
  .clock-stage { grid-template-columns: 118px minmax(0, 1fr); gap: 18px; }
  .flip-calendar { width: 118px; }
  .clock-milestones { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-card {
  position: relative;
  border: 1px solid #dfddd7;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.method-card.featured {
  border: 2px solid #b9903f;
  box-shadow: 0 10px 30px rgba(126, 96, 37, 0.13);
}

.method-number {
  margin-bottom: 10px;
  color: #b18c44;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-weight: 800;
}

.method-title {
  display: grid;
  gap: 12px;
}

.method-title h3 {
  margin: 0;
  color: #16241f;
  font-size: 17px;
}

.method-title > div > span {
  color: #7b827f;
  font-size: 10px;
}

.star-rating span {
  display: flex;
  gap: 3px;
  color: #c7952e;
  font-size: 11px;
}

.star-rating b {
  display: block;
  margin-top: 4px;
  color: #5a625e;
  font-size: 9px;
}

.method-card dl {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  margin: 16px 0;
}

.method-card dl > div {
  border-top: 1px solid #ece9e3;
  padding-top: 9px;
}

.method-card dt {
  color: #8a918e;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.method-card dd {
  margin: 4px 0 0;
  color: #28332f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.method-pro,
.method-con {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  color: #56615c;
  font-size: 11px;
  line-height: 1.55;
}

.method-pro i { color: #248069; margin-top: 3px; }
.method-con i { color: #c45d48; margin-top: 3px; }

.connection-callout {
  margin-top: 16px;
  border-top: 3px solid #b9903f;
  padding: 18px;
  background: #1a443b;
  color: #fff;
}

.connection-callout span {
  color: #e2c27e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.connection-callout p {
  margin: 8px 0 0;
  color: #dbe7e3;
  font-size: 12px;
  line-height: 1.7;
}

.connection-callout b { color: #fff; }

.care-path {
  display: grid;
  grid-template-columns: 28px 1fr 28px 1fr 28px;
  align-items: center;
  margin: 4px 12px 16px;
}

.care-path span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #b9903f;
  border-radius: 50%;
  background: #fff;
  color: #8a651f;
  font-size: 11px;
  font-weight: 900;
}

.care-path i {
  height: 1px;
  background: #cdbd9c;
}

.plan-card {
  padding: 22px 18px 20px;
}

.plan-card > strong {
  position: static;
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 3px;
  padding: 5px 8px;
  background: #edf3f0;
  color: #275b4e;
  font-size: 9px;
}

.plan-card.primary-plan {
  border: 2px solid #b9903f;
}

.plan-card.primary-plan > strong {
  background: #b9903f;
  color: #fff;
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid #d8e2de;
  border-radius: 50%;
  background: #f5f8f7;
  color: #1f6a58;
}

.plan-card h3 {
  padding: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
}

.plan-card h4 {
  margin: 5px 0 12px;
  color: #8d6725;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.plan-card blockquote {
  margin: 18px 0 0;
  border-left: 2px solid #c5a25e;
  padding-left: 12px;
  color: #294039;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  line-height: 1.6;
}

.scar-note {
  margin-top: 14px !important;
  border: 1px solid #efd4c9;
  padding: 10px;
  background: #fff5f1;
  color: #7f4336 !important;
  font-size: 10px !important;
}

.lenxy-treatment-list + .safety-callout {
  margin-top: 16px;
}

.proof-section {
  background: #eee6d9;
  margin-inline: -20px;
  padding: 38px 20px 44px;
}

.proof-group + .proof-group {
  margin-top: 30px;
}

.proof-group > h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #27362f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-group > h3 i {
  color: #a77a25;
  font-size: 12px;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.proof-case {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(77, 66, 47, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(74, 58, 33, 0.09);
}

.proof-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ded8ce;
}

.proof-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.proof-photo > span {
  position: absolute;
  top: 6px;
  left: 6px;
  border-radius: 3px;
  padding: 4px 5px;
  background: rgba(20, 56, 48, 0.9);
  color: #fff;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-case figcaption {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 112px;
  padding: 10px;
}

.proof-case figcaption > span {
  color: #a77a25;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-case figcaption strong {
  overflow-wrap: anywhere;
  color: #1d2c26;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  line-height: 1.35;
}

.proof-case figcaption small {
  color: #747b77;
  font-size: 8px;
  line-height: 1.45;
}

.why-list {
  display: grid;
  gap: 1px;
  background: #dcdad4;
}

.why-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px;
  background: #fff;
}

.why-list > article > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #1c6c59;
  font-size: 14px;
}

.why-list h3 {
  margin: 0;
  color: #17231f;
  font-size: 13px;
  line-height: 1.45;
}

.why-list p {
  margin: 5px 0 0;
  color: #646e69;
  font-size: 10px;
  line-height: 1.65;
}

.final-booking {
  margin: 38px -20px -24px;
  padding: 42px 20px 36px;
  background: #102f29;
  color: #fff;
  text-align: center;
}

.final-booking .result-kicker {
  color: #e0bd74;
}

.final-booking h2 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.22;
  text-transform: none;
}

.final-booking > p:not(.result-kicker):not(.booking-note) {
  margin: 15px 0 0;
  color: #ceddd8;
  font-size: 12px;
  line-height: 1.75;
}

.booking-plan {
  display: grid;
  gap: 5px;
  margin: 22px 0;
  border: 1px solid rgba(224, 189, 116, 0.34);
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
}

.booking-plan span {
  color: #e0bd74;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-plan b {
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
}

.booking-plan small {
  color: #b5c8c2;
  font-size: 9px;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  background: #d4a74c;
  color: #17231f;
  line-height: 1.35;
}

.booking-note {
  margin: 10px 0 0;
  color: #a9bcb6;
  font-size: 9px;
  line-height: 1.5;
}
.booking-message { min-height: 20px; margin: 10px 0 0; color: #f2cf85; font-size: 10px; font-weight: 700; text-align: center; }
.booking-button:disabled { cursor: wait; opacity: .65; }

.booking-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 20px;
}

.booking-links a {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-underline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e0bd74;
  outline-offset: 3px;
}

@media (min-width: 420px) {
  .method-title {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .star-rating {
    max-width: 96px;
    text-align: right;
  }

  .star-rating span { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
