/* Small additions on top of the original site.css */

[hidden] { display: none !important; }

/* The old stylesheet points at a hero photo that was never uploaded; skip the broken request. */
.homepage .hero:before, .about-team { background-image: none; }

.btn [data-icon], .hero-point [data-icon] { display: inline-flex; }

/* Homepage offer card */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.homepage .stub-head-label { font-weight: 500; }
.homepage .stub-stamp { transform: rotate(-2deg); }
.homepage .stub-body { padding: 22px 24px 18px; }
.stub-proof {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--green-pale); border-radius: 12px; padding: 12px 14px; margin-bottom: 20px;
}
.stub-proof-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #c9ddcf; color: var(--green-deep);
}
.stub-proof-icon svg { width: 24px; height: 24px; }
.stub-proof-title { color: var(--green-deep); font-weight: 700; font-size: 15px; line-height: 1.35; }
.stub-proof-sub { color: var(--green-deep); font-size: 14px; line-height: 1.35; opacity: .85; }
.homepage .stub-body .stub-title { font-weight: 500; font-size: 25px; margin-bottom: 4px; }
.homepage .stub-body .stub-desc { color: var(--ink); margin-bottom: 18px; }
.homepage .stub-body .field { margin-bottom: 12px; }
.homepage .stub-body .field input { font-size: 17px; padding: 15px 16px; }
.homepage .stub-body .btn-primary { margin-top: 4px; font-size: 17px; padding: 16px 22px; }
/* site.css has an old unscoped ".hero p" rule (white, large text); override it inside the card */
.homepage .stub-body p.stub-call { margin: 14px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.homepage .stub-body p.form-msg { margin: 0 0 10px; font-size: 13.5px; color: var(--rust); }
.stub-call a { color: var(--green-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.stub-call a svg { width: 15px; height: 15px; }
.stub-done { text-align: center; padding: 6px 0 4px; }
.stub-done-icon {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-pale); color: var(--green-deep);
}
.stub-done-icon svg { width: 26px; height: 26px; }

/* Success card on the details page (same card as the homepage) */
.homepage.sell-done { background: transparent; overflow: visible; max-width: 520px; margin: 0 auto; padding: 56px 16px 80px; }
.sell-done .stub { animation: doneRise .5s ease-out both; }
.done-hero { text-align: center; margin-bottom: 18px; }
.done-check { width: 76px; height: 76px; margin: 2px auto 14px; border-radius: 50%; background: var(--green-pale); box-shadow: 0 0 0 10px #e4eee780; display: flex; align-items: center; justify-content: center; animation: donePop .45s .15s cubic-bezier(.2, 1.4, .4, 1) both; }
.done-check svg { width: 52px; height: 52px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: doneDraw .5s .3s ease-out forwards; }
.done-check path { stroke: var(--green-deep); stroke-width: 3.5; stroke-dasharray: 36; stroke-dashoffset: 36; animation: doneDraw .35s .7s ease-out forwards; }
.sell-done .done-hero .stub-title { font-size: 28px; font-weight: 600; }
.sell-done .done-hero .stub-desc { margin-bottom: 0; font-size: 15px; }
.done-property { margin-bottom: 10px; }
.done-property .stub-proof-title { word-break: break-word; }
.done-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.done-chips span { background: var(--paper-deep); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 20px; padding: 4px 12px; font: 600 12px 'IBM Plex Mono', monospace; }
.done-steps { text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 4px; }
.done-steps-title { font: 600 11px 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); margin-bottom: 12px; }
.done-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.done-steps li { display: flex; gap: 12px; align-items: flex-start; }
.done-num { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-deep); color: #fff; font: 700 12.5px Inter, sans-serif; display: flex; align-items: center; justify-content: center; }
.done-steps b { display: block; font-size: 14.5px; color: var(--ink); }
.done-steps small { display: block; font-size: 13px; color: var(--ink-soft); }
.sell-done .detail-link { display: block; margin: 8px auto 0; }
@keyframes doneRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes donePop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes doneDraw { to { stroke-dashoffset: 0; } }

/* Main homepage headline is left-aligned */
.homepage .hero h1 { text-align: left; }
.homepage .nav-logo .logo-img { width: 36px; height: 36px; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Old stylesheet only showed the dropdown while React rendered it; here it is toggled with [hidden]. */
.ac-dropdown[hidden] { display: none; }

/* Cards are links here (they were click handlers before) */
.blog-card, .listing-card { display: block; color: inherit; text-decoration: none; }
.footer-links { flex-wrap: wrap; }

.map-pin svg { width: 24px; height: 24px; }

/* Placeholder until a real team photo is added */
.team-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--green-pale); color: var(--green-deep);
  font-family: Fraunces, serif; font-size: 56px; font-weight: 600;
}

/* Form status messages */
.form-msg { font-size: 14px; margin: 0 0 12px; }
.form-msg.error { color: var(--rust); }
