/* WeAddBots Med-Spa Directory Kit
   Cream / sage / soft gold — directory UI, not a clinic brand. */

:root {
  --cream: #f7f3eb;
  --cream-dark: #efe8db;
  --ink: #2c2a26;
  --ink-muted: #5c574e;
  --sage: #6b7f6a;
  --sage-deep: #4f614e;
  --sage-soft: #e4ebe3;
  --gold: #c4a574;
  --gold-soft: #f0e6d4;
  --white: #ffffff;
  --error: #9b3b3b;
  --success: #3d6b4f;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(44, 42, 38, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

code {
  font-size: 0.9em;
  background: var(--cream-dark);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo span {
  color: var(--sage);
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav .btn {
  margin-left: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--sage-deep);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--sage);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage-deep);
}

.btn--ghost:hover {
  background: var(--sage-soft);
  color: var(--ink);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.75rem;
  background:
    radial-gradient(ellipse at 80% 10%, var(--gold-soft), transparent 50%),
    linear-gradient(180deg, var(--white), var(--cream));
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
}

.hero h1,
.stub-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.35rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0.55rem 0 0.65rem;
  font-size: 1.15rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
}

.hero-card li + li {
  margin-top: 0.35rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: var(--sage-soft);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}

.badge--demo {
  background: var(--gold-soft);
  color: #6a5330;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--white);
}

.section__head {
  margin-bottom: 1.5rem;
}

.section__head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.section__head p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 40rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}

.section--alt .card {
  background: var(--white);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.card p {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.card-link {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.card-link:hover {
  text-decoration: underline;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-deep);
  background: var(--sage-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.listing-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 2px 10px rgba(44, 42, 38, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.listing-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.listing-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.rating {
  white-space: nowrap;
  font-weight: 700;
  color: #6a5330;
  background: var(--gold-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.listing-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex: 1;
}

.listing-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 720px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
  }
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
}

.cta-band .btn--primary {
  background: var(--white);
  color: var(--sage-deep);
}

.cta-band .btn--primary:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Stub / city hero */
.stub-hero {
  padding: 2.5rem 0 1.5rem;
}

.stub-box {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.25rem;
  max-width: 42rem;
  color: var(--ink-muted);
}

.demo-banner {
  background: var(--gold-soft);
  border-bottom: 1px solid #e2d2b4;
  color: #6a5330;
  font-size: 0.88rem;
  padding: 0.55rem 0;
  text-align: center;
}

.demo-banner strong {
  font-weight: 700;
}

/* Contact / form */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }
}

.contact-meta {
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
}

.contact-meta dt {
  font-weight: 700;
  color: var(--ink);
}

.contact-meta dd {
  margin: 0;
  color: var(--ink-muted);
}

.placeholder {
  font-style: italic;
  color: var(--ink-muted);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.form-panel h3 {
  margin: 0 0 0.35rem;
}

.form-panel .hint {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.form-row--2 {
  grid-template-columns: 1fr;
}

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

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.req {
  color: var(--error);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font: inherit;
  background: var(--cream);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  background: var(--white);
}

.field .error-text {
  display: none;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.field.is-invalid input {
  border-color: var(--error);
  background: #fbf3f3;
}

.field.is-invalid .error-text {
  display: block;
}

.form-status {
  display: none;
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.92rem;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: #e7f3eb;
  color: var(--success);
}

.form-status--error {
  background: #f8eaea;
  color: var(--error);
}

.demo-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d9d4cb;
  padding: 2.5rem 0 1.25rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #e8e3d8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.site-footer h3 {
  margin: 0 0 0.55rem;
  color: var(--white);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.3rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #a9a297;
}
