/* PracticeBuyer Dental Valuation Site
   Premium Green & Navy palette
*/

:root {
  --color-navy: #0B2545;
  --color-green: #1E6F5C;
  --color-gold: #C9A85C;
  --color-gold-alt: #B8963D;
  --color-bg-soft: #F7F9FB;
  --color-text: #222222;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-script: "Segoe Script", "Brush Script MT", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg-soft);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: var(--color-green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header – STUDIO FAB style: gold logo + tagline, primary nav right, secondary under logo */
header.site-header {
  background-color: var(--color-navy);
  color: #ffffff;
  padding: 1rem 1.5rem 1.25rem;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
}

.brand-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-title:hover {
  color: var(--color-gold-alt);
  text-decoration: none;
}

.brand-tagline {
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1.2;
}

.site-nav-secondary {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.6rem;
}

.site-nav-secondary a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-nav-secondary a:hover {
  color: #ffffff;
}

.site-nav-primary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav-primary a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
}

.site-nav-primary a:hover {
  color: #ffffff;
}

.site-nav-primary .nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.site-nav-primary .nav-cta:hover {
  background-color: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

main.site-main {
  flex: 1;
}

/* Hero – parallax image with gradient overlay (brand colours) */
.hero-parallax {
  position: relative;
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-parallax-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 37, 69, 0.88) 0%,
    rgba(30, 111, 92, 0.75) 45%,
    rgba(11, 37, 69, 0.85) 100%
  );
}

.hero-parallax-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 28rem;
}

.hero-parallax-subtitle {
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.92);
  margin: -0.5rem 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-parallax-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.hero-parallax-inner .btn-primary {
  color: #ffffff;
  border: 3px solid var(--color-gold);
}

.hero-parallax-inner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.92);
}

.hero-parallax-inner .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  background-color: var(--color-green);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 111, 92, 0.35);
  transition: background-color 0.16s ease-out, transform 0.12s ease-out,
              box-shadow 0.16s ease-out;
}

.btn-primary:hover {
  background-color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11, 37, 69, 0.4);
}

.btn-ghost {
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(11, 37, 69, 0.12);
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  color: var(--color-navy);
  font-weight: 500;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--color-navy);
}

/* Dark content strip – gold headline, light body (STUDIO FAB style) */
.content-strip {
  background-color: var(--color-navy);
  padding: 2.5rem 1.5rem 3rem;
}

.content-strip-inner {
  max-width: 800px;
  margin: 0 auto;
}

.content-strip-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--color-gold);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.content-strip-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.65;
}

.content-strip-points {
  margin: 1.2rem 0 0;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.content-strip-points li {
  margin-bottom: 0.45rem;
}

.content-section {
  padding: 2.5rem 1.5rem 3rem;
  background-color: var(--color-bg-soft);
}

.content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
}

.section-list li {
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.section-lede {
  max-width: 38rem;
  font-size: 0.98rem;
  opacity: 0.9;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
  margin-top: 1.5rem;
}

.ratio-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(11, 37, 69, 0.08);
}

.ratio-pill {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.78rem;
  background-color: rgba(247, 249, 251, 0.9);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.8rem;
}

.ratio-pill span.swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.ratio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.ratio-row span.label {
  opacity: 0.75;
}

.ratio-row span.value {
  font-weight: 600;
}

.ratio-note {
  font-size: 0.85rem;
  margin-top: 0.8rem;
  opacity: 0.8;
}

.form-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.9rem;
  max-width: 880px;
  margin: 0 auto 3rem;
  box-shadow: 0 14px 32px rgba(11, 37, 69, 0.12);
  border: 1px solid rgba(201, 168, 92, 0.25);
}

/* Multi-step form */
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}

.step-indicator-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.step-indicator-dot {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.0);
  color: rgba(11, 37, 69, 0.85);
}

.step-indicator-dot.is-active {
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.step-indicator-label {
  display: inline-block;
  margin-right: 0.5rem;
  color: rgba(11, 37, 69, 0.85);
}

.step-indicator-text {
  letter-spacing: 0.08em;
  opacity: 1;
  color: rgba(11, 37, 69, 0.85);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.form-title {
  font-size: 1.4rem;
  margin: 0;
  color: var(--color-navy);
}

.form-intro {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  opacity: 0.88;
  max-width: 38rem;
}

.form-tagline {
  font-size: 0.9rem;
  max-width: 17rem;
  opacity: 0.9;
}

.field-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem 1.3rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
}

.field-helper {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  border-radius: 8px;
  border: 1px solid rgba(11, 37, 69, 0.15);
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.field input[type="text"]:focus,
.field input[type="email"]:focus,
.field input[type="tel"]:focus,
.field input[type="number"]:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(201, 168, 92, 0.35);
  border-color: rgba(30, 111, 92, 0.4);
}

.field-group-title {
  margin: 1.35rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

.field-group-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.86rem;
}

.inline-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.form-footer {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: space-between;
  align-items: center;
}

.fine-print {
  font-size: 0.78rem;
  opacity: 0.75;
  max-width: 22rem;
}

.valuation-table {
  width: 100%;
  max-width: 24rem;
  border-collapse: collapse;
  margin: 1rem 0;
}
.valuation-table th,
.valuation-table td {
  padding: 0.4rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.valuation-table thead th {
  font-weight: 600;
  color: var(--color-navy);
}
.valuation-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.valuation-methods-title {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
}
.valuation-methods-intro {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.valuation-methods {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}
.valuation-methods li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-variant-numeric: tabular-nums;
}

.multiplier-editor-admin {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(11, 37, 69, 0.06);
  border: 1px solid rgba(11, 37, 69, 0.2);
  border-radius: 6px;
}
.multiplier-editor-admin .valuation-methods-title {
  margin-top: 0;
}
.multiplier-editor-row {
  margin-bottom: 0.75rem;
}
.multiplier-editor-row label {
  display: inline-block;
  min-width: 12rem;
  font-size: 0.9rem;
}
.multiplier-editor-row input,
.multiplier-editor-row select {
  padding: 0.35rem 0.5rem;
  font-size: 0.95rem;
}
.multiplier-editor-results {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer.site-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.3rem 1.5rem;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-contact {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-address,
.footer-phone {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 800px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  .site-nav-primary {
    width: 100%;
    justify-content: flex-end;
    order: -1;
  }

  .hero-parallax {
    min-height: 30vh;
  }

  .hero-parallax-bg {
    background-attachment: scroll;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-contact {
    text-align: left;
  }
}

