/* The Home Defenders — server-rendered pages (Florida / Texas pre-foreclosure, Sell Your Home)
   Loaded AFTER the React bundle's CSS (index-*.css) which provides Raleway, Tailwind utilities
   for the shared header/footer markup, and the brand tokens. Everything here is prefixed hd-. */

:root {
  --hd-primary: #19b8ce;
  --hd-primary-dark: #0f93a6;
  --hd-primary-soft: rgba(25, 184, 206, .10);
  --hd-ink: #1f2937;        /* gray-800 */
  --hd-ink-deep: #0b1220;   /* gray-950-ish */
  --hd-body: #4b5563;       /* gray-600 */
  --hd-muted: #6b7280;
  --hd-line: #e5e7eb;
  --hd-surface: #f3f4f6;    /* gray-100 */
  --hd-white: #fff;
  --hd-radius: 1.5rem;
  --hd-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

html { scroll-behavior: smooth; }
body.hd-page { font-family: "Raleway", sans-serif; color: var(--hd-ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.hd-page img { max-width: 100%; height: auto; }

.hd-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .hd-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .hd-container { padding: 0 2rem; } }

/* ---------- hero ---------- */
.hd-hero { position: relative; margin: 75px .75rem 0; border-radius: var(--hd-radius); overflow: hidden; background: #0b1220 center / cover no-repeat; min-height: 560px; }
.hd-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 24, .82) 0%, rgba(5, 12, 24, .62) 55%, rgba(5, 12, 24, .45) 100%); }
.hd-hero > .hd-container { position: relative; display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; align-items: center; }
@media (min-width: 640px) { .hd-hero { margin: 75px 1.5rem 0; } }
@media (min-width: 1024px) { .hd-hero > .hd-container { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding-top: 5rem; padding-bottom: 5rem; gap: 3rem; } }
.hd-hero > .hd-container > *, .hd-split > *, .hd-form-section > *, .hd-grid > * { min-width: 0; }
.hd-hero__copy { color: #fff; }
.hd-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--hd-primary); padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hd-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; font-weight: 700; margin: 0 0 1rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.hd-hero h1 em { font-style: italic; color: var(--hd-primary); }
.hd-hero__tagline { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; color: #e6fbfd; margin: 0 0 1rem; }
.hd-hero__text { font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, .86); max-width: 38rem; margin: 0 0 1.25rem; }
.hd-hero__text strong { color: #fff; }
.hd-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.hd-pills li { font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); padding: .45rem .9rem; border-radius: 999px; }
.hd-pills li b { color: var(--hd-primary); font-weight: 800; }
.hd-hero__note { font-size: .85rem; color: rgba(255, 255, 255, .72); margin-top: .75rem; }
.hd-hero__paths { display: grid; gap: .6rem; margin: 0 0 1.5rem; padding: 0; list-style: none; max-width: 38rem; }
.hd-hero__paths li { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 1rem; padding: .8rem 1rem; font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.hd-hero__paths b { display: block; color: var(--hd-primary); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem; }

/* ---------- buttons ---------- */
.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: .95rem; padding: .85rem 1.75rem; border-radius: 999px; border: 0; cursor: pointer; transition: all .5s cubic-bezier(.33, 1, .68, 1); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); white-space: nowrap; }
.hd-btn--dark { background: var(--hd-ink); color: #fff; }
.hd-btn--dark:hover { background: var(--hd-primary); letter-spacing: .06em; transform: scale(1.03); box-shadow: 0 2px 8px rgba(25, 184, 206, .4); }
.hd-btn--primary { background: var(--hd-primary); color: #fff; }
.hd-btn--primary:hover { background: var(--hd-ink); letter-spacing: .06em; transform: scale(1.03); }
.hd-btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; }
.hd-btn--ghost:hover { background: #fff; color: var(--hd-ink); }
.hd-btn--light { background: #fff; color: var(--hd-ink); border: 1px solid var(--hd-line); box-shadow: none; }
.hd-btn--light:hover { border-color: var(--hd-primary); color: var(--hd-primary); }
.hd-btn:active { transform: scale(.97); }
.hd-btn[disabled] { opacity: .6; cursor: wait; }
.hd-btn--block { width: 100%; }

/* ---------- sections ---------- */
.hd-section { padding: 3.5rem 0; }
@media (min-width: 768px) { .hd-section { padding: 5rem 0; } }
.hd-section--tint { margin: 0 .75rem; border-radius: var(--hd-radius); background: var(--hd-surface); }
.hd-section--dark { margin: 0 .75rem; border-radius: var(--hd-radius); background: var(--hd-ink-deep); color: #fff; position: relative; overflow: hidden; }
.hd-section--dark::after { content: ""; position: absolute; width: 22rem; height: 22rem; right: -6rem; bottom: -8rem; border-radius: 50%; background: var(--hd-primary); opacity: .14; filter: blur(80px); pointer-events: none; }
@media (min-width: 640px) { .hd-section--tint, .hd-section--dark { margin: 0 1.5rem; } }
.hd-section + .hd-section--tint, .hd-section--tint + .hd-section--tint, .hd-section + .hd-section--dark { margin-top: 0; }

.hd-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.hd-head--left { margin-left: 0; text-align: left; }
.hd-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--hd-ink); padding: .4rem 1rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); margin-bottom: 1rem; }
.hd-section--dark .hd-label { background: var(--hd-primary); }
.hd-head h2, .hd-h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; font-weight: 700; margin: 0 0 .9rem; color: var(--hd-ink); }
.hd-section--dark h2, .hd-section--dark .hd-h2 { color: #fff; }
.hd-head h2 em, .hd-h2 em { font-style: italic; color: var(--hd-primary); }
.hd-head p, .hd-lead { font-size: 1.02rem; line-height: 1.75; color: var(--hd-body); margin: 0; }
.hd-section--dark .hd-head p, .hd-section--dark .hd-lead { color: rgba(255, 255, 255, .78); }
.hd-prose { max-width: 46rem; margin: 0 auto; font-size: 1.02rem; line-height: 1.8; color: var(--hd-body); }
.hd-prose p { margin: 0 0 1rem; }
.hd-prose strong { color: var(--hd-ink); }
.hd-prose--center { text-align: center; }
.hd-section--dark .hd-prose { color: rgba(255, 255, 255, .8); }
.hd-section--dark .hd-prose strong { color: #fff; }
.hd-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.hd-cta--left { justify-content: flex-start; }
.hd-fine { font-size: .82rem; color: var(--hd-muted); text-align: center; margin-top: .9rem; }
.hd-section--dark .hd-fine { color: rgba(255, 255, 255, .6); }

/* two-col text + visual */
.hd-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hd-split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- cards ---------- */
.hd-grid { display: grid; gap: 1.25rem; }
.hd-grid--2 { grid-template-columns: 1fr; }
.hd-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .hd-grid--2 { grid-template-columns: repeat(2, 1fr); } .hd-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hd-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.hd-card { background: #fff; border: 1px solid var(--hd-line); border-radius: 1.25rem; padding: 1.75rem; box-shadow: var(--hd-shadow); display: flex; flex-direction: column; }
.hd-card__num { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hd-primary); margin-bottom: .6rem; }
.hd-card h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 .6rem; color: var(--hd-ink); line-height: 1.25; }
.hd-card p { font-size: .95rem; line-height: 1.7; color: var(--hd-body); margin: 0 0 .75rem; }
.hd-card p:last-child { margin-bottom: 0; }
.hd-card .hd-btn { margin-top: auto; align-self: flex-start; }
.hd-card--accent { border-top: 4px solid var(--hd-primary); }
.hd-card--dark { background: var(--hd-ink); border-color: var(--hd-ink); color: #fff; }
.hd-card--dark h3 { color: #fff; } .hd-card--dark p { color: rgba(255, 255, 255, .78); }
.hd-tradeoff { background: var(--hd-surface); border-left: 3px solid var(--hd-primary); border-radius: .75rem; padding: .9rem 1rem; margin: .75rem 0 1.25rem; font-size: .92rem; line-height: 1.6; color: var(--hd-body); }
.hd-tradeoff b { display: block; color: var(--hd-ink); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .2rem; }

/* ---------- check lists ---------- */
.hd-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hd-checks--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .hd-checks--2 { grid-template-columns: 1fr 1fr; } }
.hd-checks li { position: relative; padding-left: 1.9rem; font-size: .97rem; line-height: 1.55; color: var(--hd-body); }
.hd-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--hd-primary-soft); }
.hd-checks li::after { content: ""; position: absolute; left: .42rem; top: .42rem; width: .3rem; height: .58rem; border: solid var(--hd-primary); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hd-section--dark .hd-checks li { color: rgba(255, 255, 255, .85); }
.hd-section--dark .hd-checks li::before { background: rgba(25, 184, 206, .22); }
.hd-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.hd-dots li { position: relative; padding-left: 1.2rem; font-size: .97rem; line-height: 1.55; color: var(--hd-body); }
.hd-dots li::before { content: ""; position: absolute; left: 0; top: .6rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--hd-primary); }
.hd-section--dark .hd-dots li { color: rgba(255, 255, 255, .85); }

/* ---------- equity math ---------- */
.hd-math { background: #fff; border-radius: 1.5rem; box-shadow: var(--hd-shadow); border: 1px solid var(--hd-line); padding: 1.75rem; max-width: 30rem; margin: 0 auto; }
.hd-math__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--hd-line); }
.hd-math__row span { font-size: .92rem; color: var(--hd-body); font-weight: 600; }
.hd-math__row strong { font-size: 1.35rem; font-weight: 800; color: var(--hd-ink); white-space: nowrap; }
.hd-math__row--minus strong::before { content: "− "; color: var(--hd-muted); font-weight: 600; }
.hd-math__row--total { border-bottom: 0; border-top: 2px solid var(--hd-ink); margin-top: .25rem; }
.hd-math__row--total span { color: var(--hd-ink); }
.hd-math__row--total strong { color: var(--hd-primary); font-size: 1.7rem; }
.hd-math__row--total strong::before { content: "= "; color: var(--hd-muted); font-weight: 600; font-size: 1.1rem; }
.hd-math__note { font-size: .78rem; color: var(--hd-muted); line-height: 1.5; margin: 1rem 0 0; }

/* ---------- quote / question block ---------- */
.hd-question { text-align: center; max-width: 52rem; margin: 0 auto; }
.hd-question__small { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hd-primary); margin: 0 0 .75rem; }
.hd-question blockquote { margin: 0 0 1.25rem; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; color: #fff; }
.hd-question blockquote.hd-question__weak { color: rgba(255, 255, 255, .5); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); text-decoration-thickness: 2px; font-size: clamp(1.1rem, 2.2vw, 1.5rem); }
.hd-question blockquote em { font-style: italic; color: var(--hd-primary); }

/* ---------- compare columns ---------- */
.hd-compare { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .hd-compare { grid-template-columns: 1fr 1fr; } }
.hd-compare__col { border-radius: 1.25rem; padding: 1.75rem; background: #fff; border: 1px solid var(--hd-line); box-shadow: var(--hd-shadow); }
.hd-compare__col--good { border-top: 4px solid var(--hd-primary); }
.hd-compare__col--bad { border-top: 4px solid #cbd5e1; background: #fafafa; }
.hd-compare__col h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 1rem; color: var(--hd-ink); }
.hd-compare__col--bad h3 { color: var(--hd-muted); }
.hd-compare__col--bad .hd-checks li::before { background: #e5e7eb; }
.hd-compare__col--bad .hd-checks li::after { border-color: #9ca3af; width: .55rem; height: 0; border-width: 0 0 2.5px 0; transform: none; top: .72rem; left: .33rem; }

/* comparison table */
.hd-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--hd-shadow); border: 1px solid var(--hd-line); font-size: .95rem; }
.hd-table th, .hd-table td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hd-line); line-height: 1.5; }
.hd-table th { font-weight: 700; color: var(--hd-ink); background: var(--hd-surface); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.hd-table th:first-child { width: 22%; }
.hd-table td:first-child { font-weight: 700; color: var(--hd-ink); }
.hd-table td:nth-child(2) { color: var(--hd-primary-dark); font-weight: 600; }
.hd-table td { color: var(--hd-body); }
.hd-table tr:last-child td { border-bottom: 0; }
.hd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- steps ---------- */
.hd-steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 768px) { .hd-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hd-steps { grid-template-columns: repeat(4, 1fr); } }
.hd-step { background: #fff; border: 1px solid var(--hd-line); border-radius: 1.25rem; padding: 1.5rem; box-shadow: var(--hd-shadow); }
.hd-step__n { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--hd-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 1rem; }
.hd-step h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .5rem; color: var(--hd-ink); }
.hd-step p { font-size: .92rem; line-height: 1.65; color: var(--hd-body); margin: 0 0 .5rem; }
.hd-step p:last-child { margin: 0; }

/* ---------- "why" factor list ---------- */
.hd-factors { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hd-factors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hd-factors--3 { grid-template-columns: repeat(3, 1fr); } }
.hd-factor { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 1rem; padding: 1.1rem 1.25rem; }
.hd-factor b { display: block; color: var(--hd-primary); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.hd-factor span { color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.55; }
.hd-section:not(.hd-section--dark) .hd-factor { background: #fff; border-color: var(--hd-line); box-shadow: var(--hd-shadow); }
.hd-section:not(.hd-section--dark) .hd-factor span { color: var(--hd-body); }

/* ---------- FAQ ---------- */
.hd-faq { max-width: 52rem; margin: 0 auto; display: grid; gap: .75rem; }
.hd-faq__item { background: #fff; border: 1px solid var(--hd-line); border-radius: 1rem; box-shadow: var(--hd-shadow); overflow: hidden; }
.hd-faq__q { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; }
.hd-faq__q b { font-size: .8rem; color: var(--hd-primary); font-weight: 800; min-width: 1.6rem; }
.hd-faq__q span { flex: 1; font-size: 1rem; font-weight: 600; color: var(--hd-ink); }
.hd-faq__q i { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--hd-surface); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; color: var(--hd-ink); transition: transform .4s; }
.hd-faq__item[open] .hd-faq__q i, .hd-faq__item.is-open .hd-faq__q i { transform: rotate(45deg); }
.hd-faq__a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.hd-faq__item.is-open .hd-faq__a { max-height: 40rem; }
.hd-faq__a div { padding: 0 1.25rem 1.25rem 3.85rem; font-size: .95rem; line-height: 1.7; color: var(--hd-body); }
.hd-faq__a p { margin: 0 0 .6rem; }

/* ---------- lead form card ---------- */
.hd-form-card { background: #fff; border-radius: 1.5rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); padding: 1.75rem; max-width: 30rem; width: 100%; margin: 0 auto; }
@media (min-width: 640px) { .hd-form-card { padding: 2rem; } }
.hd-form-card__title { font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--hd-ink); margin: 0 0 .25rem; }
.hd-form-card__title em { font-style: normal; color: var(--hd-primary); display: block; }
.hd-form-card__sub { font-size: .9rem; color: var(--hd-body); margin: .35rem 0 1.1rem; line-height: 1.55; }
.hd-phone-chip { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--hd-line); border-radius: 999px; padding: .35rem .9rem .35rem .4rem; font-size: .88rem; font-weight: 700; color: var(--hd-ink); margin-bottom: 1.1rem; }
.hd-phone-chip i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--hd-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hd-phone-chip svg { width: .85rem; height: .85rem; fill: currentColor; }
.hd-form { display: grid; gap: .8rem; }
.hd-field { position: relative; }
.hd-field svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; fill: var(--hd-primary); pointer-events: none; }
.hd-field input, .hd-field select { width: 100%; font-family: inherit; font-size: .95rem; color: var(--hd-ink); background: var(--hd-surface); border: 1px solid transparent; border-radius: 999px; padding: .85rem 1rem .85rem 2.6rem; outline: none; transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none; }
.hd-field input::placeholder { color: #6b7280; }
.hd-field input:focus, .hd-field select:focus { border-color: var(--hd-primary); background: #fff; }
.hd-field input[type="date"] { padding-right: .9rem; min-height: 3rem; }
.hd-field--plain input { padding-left: 1.1rem; }
.hd-field.is-invalid input { border-color: #ef4444; background: #fff5f5; }
.hd-fieldset { border: 0; padding: 0; margin: 0; }
.hd-fieldset legend { font-size: .88rem; font-weight: 700; color: var(--hd-ink); margin-bottom: .5rem; padding: 0; }
.hd-radios { display: flex; flex-wrap: wrap; gap: .45rem; }
.hd-radios label { position: relative; cursor: pointer; }
.hd-radios input { position: absolute; opacity: 0; width: 0; height: 0; }
.hd-radios span { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--hd-ink); background: var(--hd-surface); border: 1px solid transparent; border-radius: 999px; padding: .5rem .9rem; transition: all .3s; }
.hd-radios input:checked + span { background: var(--hd-ink); color: #fff; }
.hd-radios input:focus-visible + span { border-color: var(--hd-primary); }
.hd-radios--stack { flex-direction: column; }
.hd-radios--stack span { display: block; }
.hd-date-wrap { display: none; }
.hd-date-wrap.is-visible { display: block; }
.hd-captcha { min-height: 78px; }
@media (max-width: 420px) { .hd-form-card { padding: 1.25rem 1rem; } .hd-captcha { transform: scale(.88); transform-origin: 0 0; min-height: 70px; } }
.hd-form-card__thanks { text-align: center; padding: 1rem 0; }
.hd-form-card__thanks i { display: flex; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--hd-primary-soft); color: var(--hd-primary); align-items: center; justify-content: center; }
.hd-form-card__thanks svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.hd-form-card__thanks h3 { font-size: 1.4rem; font-weight: 700; margin: 0 0 .5rem; color: var(--hd-ink); }
.hd-form-card__thanks p { font-size: .95rem; line-height: 1.6; color: var(--hd-body); margin: 0 0 1rem; }
.hd-captcha-note { font-size: .78rem; color: var(--hd-muted); line-height: 1.4; margin: 0; }
.hd-form__msg { font-size: .88rem; line-height: 1.5; border-radius: .9rem; padding: .7rem .9rem; display: none; }
.hd-form__msg.is-error { display: block; background: #fef2f2; color: #991b1b; }
.hd-form__msg.is-ok { display: block; background: #ecfeff; color: #155e75; }
.hd-form__fine { font-size: .78rem; color: var(--hd-muted); text-align: center; margin: .25rem 0 0; }

/* form sections outside the hero */
.hd-form-section { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .hd-form-section { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hd-section--dark .hd-form-card { box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }

/* ---------- choices (sell page) ---------- */
.hd-choices { display: grid; gap: 1rem; }
@media (min-width: 768px) { .hd-choices { grid-template-columns: repeat(3, 1fr); } }
.hd-choice { background: #fff; border: 1px solid var(--hd-line); border-radius: 1.25rem; padding: 1.5rem; text-align: center; box-shadow: var(--hd-shadow); display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.hd-choice h3 { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--hd-ink); }

/* ---------- disclaimer ---------- */
.hd-disclaimer { max-width: 56rem; margin: 0 auto; font-size: .8rem; line-height: 1.65; color: var(--hd-muted); }
.hd-disclaimer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hd-ink); margin: 0 0 .6rem; }
.hd-disclaimer p { margin: 0 0 .6rem; }

/* ---------- mobile drawer (mirrors the React one) ---------- */
.hd-drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 998; opacity: 0; pointer-events: none; transition: opacity .4s; }
.hd-drawer { position: fixed; top: 0; right: 0; width: 85%; max-width: 20rem; height: 100%; background: #fff; z-index: 999; box-shadow: -10px 0 30px rgba(0, 0, 0, .2); border-left: 1px solid var(--hd-line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s cubic-bezier(.33, 1, .68, 1); }
body.hd-drawer-open .hd-drawer { transform: translateX(0); }
body.hd-drawer-open .hd-drawer-backdrop { opacity: 1; pointer-events: auto; }
body.hd-drawer-open { overflow: hidden; }
.hd-drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--hd-line); font-weight: 700; color: var(--hd-body); font-size: 1.1rem; }
.hd-drawer__close { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--hd-ink); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; }
.hd-drawer__list { list-style: none; margin: 1rem 0; padding: 0 1.25rem; display: grid; gap: .4rem; font-weight: 700; font-size: .95rem; flex: 1; overflow-y: auto; }
.hd-drawer__list a { display: block; padding: .8rem 1rem; border-radius: .9rem; color: var(--hd-ink); transition: all .3s; }
.hd-drawer__list a:hover, .hd-drawer__list a.is-active { background: var(--hd-primary-soft); color: var(--hd-primary); }
.hd-drawer__contact { border-top: 1px solid var(--hd-line); padding: 1rem 1.25rem 1.5rem; background: rgba(255, 255, 255, .85); }
.hd-drawer__contact h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hd-body); margin: 0 0 .6rem .4rem; }
.hd-drawer__contact a { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: .9rem; font-weight: 700; color: var(--hd-ink); font-size: .9rem; }
.hd-drawer__contact a:hover { background: var(--hd-primary-soft); }
.hd-drawer__contact i { width: 2rem; height: 2rem; border-radius: 50%; background: var(--hd-primary-soft); color: var(--hd-primary); display: inline-flex; align-items: center; justify-content: center; }
.hd-drawer__contact svg { width: 1rem; height: 1rem; fill: currentColor; }

/* header: only the shrink-on-scroll from the SPA matters here */
#navbar.hd-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); border-color: var(--hd-line); }

/* back-to-top */
.hd-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--hd-ink); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: all .4s; z-index: 50; }
.hd-top.is-visible { opacity: 1; pointer-events: auto; }
.hd-top:hover { background: var(--hd-primary); }
.hd-top svg { width: 1rem; height: 1rem; fill: currentColor; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hd-btn, .hd-drawer, .hd-faq__a { transition: none; } }
