/* MushyNest — Apple-inspired monochrome theme */

:root {
  --color-primary: #1d1d1f;
  --color-primary-light: #424245;
  --color-secondary: #86868b;
  --color-accent: #f5f5f7;
  --color-accent-warm: #d2d2d7;
  --color-text: #1d1d1f;
  --color-text-muted: #6e6e73;
  --color-button: #1d1d1f;
  --color-link: #0066cc;
  --color-white: #ffffff;
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 52px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: #004499;
  text-decoration: underline;
  text-underline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
  padding-inline: 0;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--accent {
  background: linear-gradient(180deg, #f5f5f7 0%, var(--color-white) 100%);
}

.section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.section__title {
  margin-bottom: 0.35em;
}

.section__lead {
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover {
  color: var(--color-text);
  opacity: 0.65;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
  opacity: 0.55;
  text-decoration: none;
}

.nav__link.is-active {
  opacity: 1;
  font-weight: 600;
}

.btn--nav-logout {
  margin-left: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-accent-warm);
  border-radius: 980px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.btn--nav-logout:hover {
  background: var(--color-accent);
  border-color: #b0b0b5;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  background: var(--color-button);
  color: var(--color-white) !important;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  background: #2d4a6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 61, 43, 0.25);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: var(--header-height);
    width: min(300px, 88vw);
    max-width: calc(100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
    box-shadow: -8px 0 40px rgba(31, 61, 43, 0.12);
    transform: translateX(100%);
    transition: transform var(--transition);
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--color-accent-warm);
  }

  .nav__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__cta {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
  }
}

body.nav-open {
  overflow: hidden;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.btn--primary:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--color-text);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn--secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(107, 79, 59, 0.35);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--header-height) + 2rem) 1.5rem 4rem;
  text-align: center;
  color: var(--color-text);
  background: var(--color-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 55%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.35em;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ----- Cards grid ----- */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .grid--4,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 61, 43, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.card__title {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ----- Why choose ----- */
.why-column {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 61, 43, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-column:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.why-column__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-secondary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ----- Gallery ----- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(transparent 20%, rgba(31, 61, 43, 0.85));
  color: var(--color-white);
}

.gallery__caption h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin: 0;
}

.gallery__caption span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ----- Testimonials ----- */
.testimonials {
  background: var(--color-accent);
}

.quote-card {
  background: var(--color-white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-secondary);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.quote-card::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.12;
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
}

.quote-card blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.55;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
}

/* ----- Inner pages (Business, account, etc.) ----- */
.page-hero {
  padding: calc(var(--header-height) + 2.5rem) 0 2.5rem;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-hero h1 {
  margin-bottom: 0.35em;
}

.page-hero .section__lead {
  margin-inline: auto;
  margin-bottom: 0;
}

.page-hero--app {
  padding: calc(var(--header-height) + 2rem) 0 1.75rem;
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.page-hero__lead {
  max-width: 520px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}

.hub-card {
  display: block;
  min-height: 180px;
  padding: 0;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.hub-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-card);
}

.hub-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 2rem;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.hub-card span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.92;
  margin-top: 0.5rem;
}

.hub-card--1 {
  background: linear-gradient(145deg, #395a7f 0%, #55779d 100%);
}

.hub-card--2 {
  background: linear-gradient(145deg, #acacac 0%, #8f8f8f 100%);
}

.hub-card--3 {
  background: linear-gradient(145deg, #6b8fb5 0%, #395a7f 100%);
}

.hub-card--4 {
  background: linear-gradient(145deg, #5c4a3d 0%, #6b4f3b 100%);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  background: rgba(44, 44, 44, 0.35);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .nav-backdrop {
    display: block;
  }
}

/* ----- Contractor / service detail cards ----- */
.person-card,
.service-detail-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 61, 43, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.person-card:hover,
.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.person-card__body {
  padding: 1.75rem;
}

.person-card__meta {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.person-card__exp {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.service-detail-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-detail-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.price-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--color-accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ----- Blog ----- */
.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 61, 43, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.blog-card__image {
  height: 180px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__topic {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card__body p {
  flex: 1;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.read-more:hover {
  color: var(--color-secondary);
}

/* ----- Category heading ----- */
.category-block {
  margin-bottom: 2.5rem;
}

.category-block h2 {
  font-size: 1.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent-warm);
  margin-bottom: 1.5rem;
}

/* ----- Footer ----- */
.site-footer {
  background: #f5f5f7;
  color: var(--color-text-muted);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer a {
  color: var(--color-text);
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-row {
    justify-content: center;
  }
}

.site-footer__brand .logo {
  color: var(--color-text);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.site-footer__brand .logo:hover {
  opacity: 0.65;
  color: var(--color-text);
}

.site-footer__brand p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

.site-footer h4 {
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

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

.site-footer li {
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.social-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-secondary);
}

/* ----- Guest AI bubble ----- */
.guest-ai-launcher {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  cursor: pointer;
  z-index: 1400;
  box-shadow: 0 10px 24px rgba(31, 61, 43, 0.28);
}

.guest-ai-launcher:hover {
  background: var(--color-primary-light);
}

.guest-ai-bubble {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: min(360px, calc(100vw - 1.4rem));
  max-height: min(70vh, 520px);
  background: var(--color-white);
  border: 1px solid rgba(31, 61, 43, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(31, 61, 43, 0.2);
  z-index: 1401;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.guest-ai-hidden {
  display: none !important;
}

.guest-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--color-accent);
  border-bottom: 1px solid rgba(31, 61, 43, 0.08);
  font-size: 0.95rem;
}

.guest-ai-header button {
  border: none;
  background: transparent;
  color: var(--color-primary);
  font-size: 1rem;
  cursor: pointer;
}

.guest-ai-messages {
  padding: 0.75rem 0.85rem;
  overflow-y: auto;
  min-height: 130px;
  max-height: 300px;
}

.guest-ai-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  border-top: 1px solid rgba(31, 61, 43, 0.08);
}

.guest-ai-form input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--color-accent-warm);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .guest-ai-launcher {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .guest-ai-bubble {
    right: 0.6rem;
    left: 0.6rem;
    width: auto;
    bottom: 0.8rem;
  }

  .guest-ai-form {
    flex-direction: column;
  }

  .guest-ai-form button {
    width: 100%;
  }
}

/* ----- Business listings & listing form ----- */
.container--narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__title--sm {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--color-text-muted);
}

/* Extra top padding below the hero so “Public listings” has clear separation */
#public-listings {
  scroll-margin-top: 5rem;
  padding-top: clamp(3.25rem, 6vw, 5.5rem);
}

.business-directory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.business-directory-header .section__title--sm {
  margin-bottom: 0;
}

.business-directory-header__status {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.business-directory {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.business-directory__card {
  background: var(--color-white);
  border: 1px solid var(--color-accent-warm);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-soft);
}

.business-directory__name {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.business-directory__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.business-directory__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.business-directory__contact .btn--outline {
  background: transparent;
  color: var(--color-button);
  border: 2px solid var(--color-button);
}

.business-directory__contact .btn--outline:hover {
  background: rgba(57, 90, 127, 0.08);
  color: var(--color-button);
  transform: translateY(-2px);
}

.business-directory__meta {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
}

.business-directory__json-link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.business-directory__json-link:hover {
  color: var(--color-button);
}

.btn--sm {
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
}

.listing-contact-box {
  margin-top: 0.25rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--color-accent-warm);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.listing-contact-box__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.listing-contact-box__hint {
  margin: -0.35rem 0 0.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.business-listing-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-accent-warm);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-check input {
  margin-top: 0.2rem;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin: 0;
}

.form-success {
  color: #15803d;
  font-size: 0.9rem;
  margin: 0;
}

/* ----- Utilities ----- */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-section {
  margin-bottom: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
