/* Health Focus Clinic — premium visual layer */
:root {
  --teal: #073f4d;
  --teal-2: #14373f;
  --cream: #fbf7f2;
  --cream-deep: #efe2d4;
  --terracotta: #bd704d;
  --terracotta-dark: #965338;
  --gold: #c69b61;
  --sage: #dce8e2;
  --blush: #f2e3da;
  --border: rgba(18, 55, 63, .12);
  --shadow: 0 28px 80px rgba(7, 63, 77, .10);
  --radius: 30px;
}

body {
  background:
    radial-gradient(circle at 8% 6%, rgba(198,155,97,.13), transparent 28rem),
    linear-gradient(180deg, #fcf8f4 0%, #f8f1ea 100%);
}

.site-header {
  padding-top: 25px;
  border-bottom: 1px solid rgba(7, 63, 77, .08);
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: -.02em;
}

.quiet-button {
  padding: 9px 14px;
  border: 1px solid rgba(7,63,77,.14);
  border-radius: 100px;
  text-decoration: none;
  background: rgba(255,255,255,.52);
}

.welcome {
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
  padding-top: clamp(50px, 7vw, 95px);
}

.welcome h1 {
  margin-bottom: 27px;
  font-size: clamp(3.4rem, 6.9vw, 6.65rem);
  letter-spacing: -.067em;
}

.welcome h1 em {
  display: inline-block;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03em;
  line-height: .95;
}

.welcome-copy {
  max-width: 680px;
  padding-bottom: 40px;
}

.welcome-copy::before {
  content: "HEALTH FOCUS CLINIC";
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--teal);
  background: var(--sage);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.welcome .eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
}

.lead {
  max-width: 590px;
  color: #4f686d;
}

.welcome-meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
}

.welcome-meta span {
  padding: 9px 13px;
  border: 1px solid rgba(7,63,77,.09);
  border-radius: 100px;
  background: rgba(255,255,255,.58);
}

.hero-button {
  min-width: 270px;
  min-height: 58px;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 16px 35px rgba(7,63,77,.19);
}

.hero-button:hover {
  background: #052f39;
}

.welcome-art {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  height: min(680px, 72vh);
  min-height: 540px;
  overflow: hidden;
  border: 9px solid rgba(255,255,255,.68);
  border-radius: 210px 210px 34px 34px;
  background:
    linear-gradient(180deg, rgba(7,63,77,.02) 35%, rgba(7,63,77,.86) 100%),
    url("assets/hfc-hero.jpg") 72% 42% / cover no-repeat;
  box-shadow: 0 36px 100px rgba(7,63,77,.20);
}

.welcome-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(251,247,242,.28), transparent 43%);
  pointer-events: none;
}

.portrait-shape,
.sun,
.line-flower {
  display: none;
}

.art-quote {
  right: 8%;
  bottom: 7%;
  z-index: 4;
  width: 78%;
  max-width: 310px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 3px 20px rgba(0,0,0,.25);
}

.art-quote::before {
  content: "“";
  position: absolute;
  top: -60px;
  right: 0;
  color: #e7ba7d;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
}

.assessment {
  width: min(960px, calc(100% - 32px));
  padding-top: 38px;
}

.progress-shell {
  padding: 18px 22px;
  border: 1px solid rgba(7,63,77,.09);
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
}

.progress-track {
  height: 6px;
  background: #e7ddd3;
}

.question-shell {
  position: relative;
  overflow: hidden;
  border-color: rgba(198,155,97,.28);
  background: rgba(255,255,255,.82);
  box-shadow: 0 34px 90px rgba(7,63,77,.09);
}

.question-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 190px;
  height: 190px;
  border-radius: 0 0 0 100%;
  background: linear-gradient(135deg, rgba(220,232,226,.65), rgba(242,227,218,.45));
  pointer-events: none;
}

.section-intro {
  position: relative;
  z-index: 1;
}

.section-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -.035em;
}

.question-group {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(7,63,77,.08);
}

.question-group:last-of-type {
  border-bottom: 0;
}

.question-group legend {
  font-size: 1.08rem;
  line-height: 1.6;
}

.question-number {
  min-width: 36px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .85rem;
}

.option {
  min-height: 64px;
  border-color: rgba(7,63,77,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
}

.option:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(7,63,77,.07);
}

.option:has(input:checked) {
  border-color: var(--teal);
  color: var(--teal);
  background: #edf5f1;
  box-shadow: 0 0 0 1px var(--teal), 0 10px 25px rgba(7,63,77,.07);
}

.option:has(input:checked)::before {
  border-color: var(--teal);
}

.form-actions {
  border-top-color: rgba(7,63,77,.1);
}

.results {
  padding-top: 70px;
}

.result-heading {
  max-width: 800px;
}

.result-heading h1 {
  letter-spacing: -.055em;
}

.score-card,
.result-card,
.consent-card {
  border-color: rgba(7,63,77,.1);
  background: rgba(255,255,255,.82);
  box-shadow: 0 28px 70px rgba(7,63,77,.09);
}

.score-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(220,232,226,.9), transparent 43%),
    rgba(255,255,255,.85);
}

.score-ring {
  background: conic-gradient(var(--terracotta) calc(var(--score) * 1%), #eadfd4 0);
  box-shadow: inset 0 0 0 1px rgba(7,63,77,.05), 0 18px 45px rgba(7,63,77,.1);
}

.next-step-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 20%, rgba(198,155,97,.32), transparent 30%),
    linear-gradient(135deg, #073f4d, #0d5664);
}

.consent-card {
  background:
    radial-gradient(circle at 100% 0, rgba(242,227,218,.8), transparent 38%),
    rgba(255,255,255,.88);
}

footer {
  border-top: 4px solid var(--gold);
  background: #063d49;
}

@media (max-width: 900px) {
  .welcome {
    display: block !important;
  }

  .welcome-art {
    height: 540px;
    min-height: 0;
    margin-top: 25px;
    border-radius: 190px 190px 26px 26px;
    background-position: 72% 42%;
  }
}

@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 24px);
    padding-top: 12px;
  }

  .brand-mark {
    transform: scale(.86);
    transform-origin: left center;
  }

  .quiet-button {
    padding: 7px 9px;
  }

  .welcome {
    width: calc(100% - 28px);
    padding-top: 34px;
  }

  .welcome-copy::before {
    margin-bottom: 15px;
  }

  .welcome h1 {
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 14vw, 4.1rem);
  }

  .welcome-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .welcome-meta span {
    width: fit-content;
  }

  .welcome-art {
    height: 430px;
    border-width: 6px;
    border-radius: 150px 150px 22px 22px;
    background-position: 70% 38%;
  }

  .art-quote {
    right: 8%;
    bottom: 6%;
    max-width: 250px;
  }

  .progress-shell {
    margin-bottom: 22px;
    padding: 14px 16px;
  }

  .question-shell {
    border-radius: 24px;
  }

  .question-shell::before {
    width: 100px;
    height: 100px;
  }

  .option {
    min-height: 60px;
  }
}
