:root {
  --ink: #211914;
  --muted: #62584f;
  --paper: #fff9f0;
  --white: #fff;
  --line: #eadac6;
  --soft: #f8ead6;
  --red: #9d0d11;
  --orange: #ee8036;
  --gold: #d9b425;
  --sage: #84996c;
  --green: #168a43;
  --shadow: 0 18px 42px rgba(61, 35, 18, .10);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; max-width: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: hidden;
}
a { color: var(--red); }
img { max-width: 100%; display: block; }
.hero-copy {
  min-width: 0;
  max-width: 100%;
}
.hero-copy > * {
  max-width: 100%;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 249, 240, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand img { width: min(202px, 48vw); }
.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 800; font-size: .94rem; }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(157, 13, 17, .18);
}
.button.ghost { background: var(--white); color: var(--red); border: 1px solid var(--line); box-shadow: none; }
.button.whatsapp { background: #128c4a; }
.button.small { min-height: 36px; padding: 8px 12px; font-size: .88rem; }
.button.tiny { min-height: 30px; padding: 5px 10px; font-size: .8rem; }
.button.is-saved, .shortlist-action.is-saved {
  background: #2f6f48;
  border-color: #2f6f48;
  color: var(--white);
}
.button[disabled] {
  cursor: not-allowed;
  opacity: .66;
  box-shadow: none;
}

.hero, .page-hero, .profile-hero {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0 40px;
}
.hero h1, .page-hero h1, .profile-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: 4.65rem;
  line-height: 1.05;
  letter-spacing: 0;
}
.hero h1 span { display: inline; }
.hero p, .page-hero p, .profile-hero p { color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0;
}
.hero-panel {
  min-height: 420px;
  border-radius: 8px;
  padding: 22px;
  display: grid;
  align-content: end;
  gap: 12px;
  background:
    linear-gradient(150deg, rgba(65, 23, 18, .36), rgba(33, 25, 20, .72)),
    url("../img/stock/hero-mehndi.jpg") center/cover;
  box-shadow: var(--shadow);
}
.hero-carousel {
  position: relative;
  min-height: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity .7s ease, transform 6s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 25, 20, .05), rgba(33, 25, 20, .74));
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: var(--white);
}
.hero-slide figcaption span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(157, 13, 17, .92);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}
.hero-slide figcaption strong {
  max-width: 520px;
  font-size: 1.35rem;
  line-height: 1.25;
}
.hero-carousel-dots {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}
.hero-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}
.hero-carousel-dots button.is-active {
  width: 26px;
  background: var(--white);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slide { transition: none; transform: none; }
}
.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.media-card {
  min-height: 250px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(33, 25, 20, .78);
  color: var(--white);
  font-weight: 900;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.journey-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(61, 35, 18, .07);
}
.journey-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}
.journey-card span {
  color: var(--red);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.journey-card strong { font-size: 1.1rem; }
.journey-card p {
  margin: 0;
  color: var(--muted);
}
.journey-card a {
  margin-top: 4px;
  font-weight: 900;
  text-decoration: none;
}
.market-snapshot,
.plan-recommender {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.market-snapshot a,
.plan-recommender article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.market-snapshot a:hover,
.plan-recommender article:hover {
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow);
}
.market-snapshot span,
.plan-recommender span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef5e9;
  color: #3b5d29;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}
.market-snapshot strong,
.plan-recommender strong {
  font-size: 1.05rem;
  line-height: 1.3;
}
.market-snapshot small,
.plan-recommender small {
  color: var(--muted);
  font-weight: 750;
}
.plan-recommender a {
  margin-top: auto;
  color: var(--red);
  font-weight: 950;
  text-decoration: none;
}
.customer-start-section {
  padding-top: 30px;
}
.customer-path-grid,
.lead-next-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.customer-path-card,
.lead-next-steps article,
.fast-lane,
.form-promise {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.customer-path-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 184px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}
.customer-path-card:hover {
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow);
}
.customer-path-card.highlighted {
  border-color: rgba(157, 13, 17, .34);
  background: linear-gradient(180deg, #fff, #fff6ea);
}
.customer-path-card span,
.lead-next-steps span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef5e9;
  color: #3b5d29;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}
.customer-path-card strong {
  font-size: 1.15rem;
  line-height: 1.3;
}
.customer-path-card small,
.lead-next-steps small {
  color: var(--muted);
  font-weight: 750;
}
.fast-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
}
.fast-lane h2 {
  margin: 8px 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}
.fast-lane p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
}
.fast-lane-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.lead-next-steps article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
}
.lead-next-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: var(--red);
  color: var(--white);
}
.lead-next-steps strong {
  font-size: 1.05rem;
  line-height: 1.3;
}
.form-promise {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #fffaf3;
}
.form-promise strong {
  color: var(--ink);
}
.form-promise span {
  color: var(--muted);
  font-weight: 750;
}
.conversion-band {
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.conversion-steps {
  display: grid;
  gap: 12px;
}
.conversion-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
}
.conversion-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}
.conversion-steps strong {
  font-size: 1.02rem;
}
.conversion-steps small {
  color: var(--muted);
  font-weight: 750;
}
.visual-band {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
  gap: 26px;
  align-items: center;
}
.visual-card {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--soft);
}
.visual-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.visual-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(33, 25, 20, .82);
  color: var(--white);
  font-weight: 900;
}
.inline-trust {
  justify-content: flex-start;
  margin-top: 18px;
}
.avatar.image-avatar { overflow: hidden; background: var(--soft); }
.avatar.image-avatar img { width: 100%; height: 100%; object-fit: cover; }
.stat {
  display: block;
  width: fit-content;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-weight: 900;
}
.hero-search {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 10px;
  margin: 24px 0 18px;
  max-width: 780px;
}
.hero-search-advanced {
  grid-template-columns: 170px 1fr 200px auto;
  max-width: 900px;
}
.hero-search.compact { grid-template-columns: 1fr 180px 150px auto; }
.hero-search.discovery-search {
  grid-template-columns: minmax(180px, 1.25fr) minmax(140px, .8fr) repeat(3, minmax(132px, .78fr)) auto;
  max-width: 1080px;
}
.hero-search.product-search {
  grid-template-columns: minmax(180px, 1.25fr) minmax(130px, .75fr) repeat(4, minmax(128px, .72fr)) auto;
  max-width: 1180px;
}
.hero-search.gallery-search {
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  max-width: 760px;
}
.hero-search input, .hero-search select, .form-card input, .form-card textarea, .form-card select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -2px 0 18px;
  color: var(--muted);
}
.filter-summary span, .filter-summary strong, .filter-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}
.filter-summary strong {
  background: #fff4e4;
  color: var(--red);
}

.section {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 0;
}
.section.muted { width: 100%; max-width: none; padding-left: max(16px, calc((100% - 1180px) / 2)); padding-right: max(16px, calc((100% - 1180px) / 2)); background: #fff2df; }
.compact-section { padding-top: 18px; padding-bottom: 24px; }
.section-head { margin-bottom: 24px; }
.section h2, .page-hero h1, .profile-hero h1 { color: var(--ink); }
.section h2 { margin: 0; font-size: 2.65rem; line-height: 1.12; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.cards, .role-grid, .pricing-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.role-card, .panel, .profile-card, .product-card, .pricing-card, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.role-card { text-decoration: none; color: var(--ink); min-height: 156px; }
.role-card strong { display: block; margin-bottom: 9px; font-size: 1.06rem; }
.role-card span, .panel p, .profile-card p, .product-card p, .pricing-card p { color: var(--muted); }
.avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 950;
  margin-bottom: 14px;
}
.avatar.large { width: 96px; height: 96px; font-size: 2.4rem; margin: 0; }
.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff0de;
  color: #7b3616;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.badge.warning {
  background: #fff3c8;
  color: #6c4600;
}
.badge.success {
  background: #e9f8ed;
  color: #185f30;
}
.badge.danger {
  background: #ffe0dd;
  color: #8c0f0f;
}
.meta { color: var(--muted); font-size: .92rem; }
.rating-line { color: #7b3616 !important; font-weight: 900; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.social-row a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--soft);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 900;
}
.completion-meter {
  display: grid;
  gap: 7px;
  margin: 12px 0 4px;
}
.completion-meter span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 850;
}
.completion-meter i {
  display: block;
  height: 8px;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--sage));
}
.completion-meter.large i { height: 14px; }
.onboarding-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, .6fr);
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.onboarding-hero h2 {
  margin: 0;
  font-size: 2.2rem;
}
.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.step-card {
  min-height: 190px;
  box-shadow: none;
}
.step-card.done {
  border-color: #b8e2c3;
  background: #fbfffb;
}
.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.route-card {
  display: block;
  min-height: 120px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.route-card strong,
.route-card span {
  display: block;
}
.route-card strong {
  font-size: 1.08rem;
}
.route-card span {
  margin-top: 8px;
  color: var(--muted);
}
.pricing-card.featured { border-color: var(--red); box-shadow: var(--shadow); }
.best-for {
  min-height: 54px;
  color: var(--ink) !important;
  font-weight: 900;
}
.price-row { display: grid; gap: 8px; margin: 18px 0; }
.price-row span { display: block; border-radius: 8px; padding: 10px; background: var(--soft); font-weight: 900; }
.trial { font-size: .9rem; }
.pricing-mini { display: grid; gap: 10px; }
.pricing-mini span, .city-cloud a {
  display: block;
  border-radius: 8px;
  padding: 13px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 900;
  text-decoration: none;
  color: var(--ink);
}
.city-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero { padding: 62px 0 32px; }
.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 54px 0 34px;
}
.profile-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.profile-trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
}
.profile-trust-badges .is-active {
  border-color: #badbbf;
  background: #f3fff4;
  color: #176b33;
}
.profile-trust-badges .is-pending {
  background: #fff7ea;
  color: #744316;
}
.profile-contact-bar {
  position: sticky;
  top: 74px;
  z-index: 24;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 12px 28px rgba(61, 35, 18, .08);
  backdrop-filter: blur(12px);
}
.profile-contact-bar strong,
.profile-contact-bar span {
  display: block;
}
.profile-contact-bar span {
  color: var(--muted);
  font-size: .92rem;
}
.profile-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.profile-decision-panel {
  align-items: stretch;
}
.profile-location-card,
.profile-contact-guide {
  display: grid;
  align-content: start;
  gap: 14px;
}
.location-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.location-facts div {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff9f1;
}
.location-facts span,
.profile-contact-note span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}
.location-facts strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  line-height: 1.25;
}
.service-city-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-city-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 850;
  font-size: .86rem;
}
.compact-actions {
  margin-top: 2px;
}
.compact-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}
.profile-contact-note {
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 12px;
  background: #fff7ea;
}
.profile-nav-strip {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.profile-nav-strip a {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(61, 35, 18, .04);
}
.profile-nav-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-nav-strip strong {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--red);
  font-size: .82rem;
}
.profile-offer-grid {
  align-items: stretch;
}
.listing-card {
  position: relative;
  overflow: hidden;
}
.listing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
}
.listing-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.listing-card-head h3 {
  margin: 6px 0 0;
}
.listing-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
}
.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.profile-gallery-showcase {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, .75fr));
  gap: 12px;
}
.profile-gallery-showcase .gallery-item {
  min-height: 220px;
}
.profile-gallery-showcase .gallery-item img {
  height: 100%;
  min-height: 220px;
}
.featured-gallery-item {
  grid-row: span 2;
  min-height: 452px !important;
}
.featured-gallery-item img {
  min-height: 452px !important;
}
.portfolio-action-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fffdf9;
}
.portfolio-action-panel strong,
.portfolio-action-panel span {
  display: block;
}
.portfolio-action-panel span {
  color: var(--muted);
}
.portfolio-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
}
.portfolio-proof-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: #fffaf0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}
.portfolio-empty-state {
  display: grid;
  gap: 8px;
}
.rating-summary-box {
  display: inline-grid;
  gap: 2px;
  min-width: 190px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}
.rating-summary-box strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--red);
}
.rating-summary-box span {
  color: var(--muted);
  font-weight: 800;
}
.review-card {
  border-left: 4px solid var(--gold);
}
.profile-decision-flow {
  align-items: center;
}
.decision-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.decision-step-card {
  min-height: 168px;
}
.decision-step-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}
.decision-step-card h3 {
  margin: 12px 0 6px;
}
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { 
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  color: var(--white);
  text-decoration: none;
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; }
.gallery-item span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 9px; border-radius: 8px; background: rgba(33, 25, 20, .78); font-weight: 900; }
.gallery-item small {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 58px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 250, 243, .92);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}
.gallery-item-card {
  display: grid;
  gap: 10px;
}
.gallery-item-card .shortlist-action {
  justify-self: start;
}
.gallery-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.gallery-card-meta span,
.gallery-card-meta strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--white);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}
.gallery-card-meta strong {
  color: var(--ink);
}
.product-image {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #f4c27b, #87996d);
  color: var(--ink);
  font-weight: 950;
}
.product-image.has-photo { padding: 0; overflow: hidden; background: var(--soft); }
.product-image.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-product-photo {
  margin: 22px 0 0;
  width: min(520px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.form-card { display: grid; gap: 14px; }
.form-card label { display: grid; gap: 6px; font-weight: 850; color: var(--ink); }
.form-card .check { display: flex; align-items: center; gap: 8px; }
.form-card .check input { width: auto; min-height: 0; }
.form-note, .section-lead { color: var(--muted); margin-top: 0; max-width: 780px; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--white);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 900;
}
.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.intent-chips a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff8ee;
  color: var(--ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.intent-chips a:hover {
  border-color: var(--red);
  color: var(--red);
}
.profile-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 4px;
}
.profile-signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--soft);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
}
.intro-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  color: var(--muted);
  font-size: 1.04rem;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}
.feature-list {
  display: grid;
  gap: 12px;
}
.feature-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
}
.feature-list strong,
.feature-list span {
  display: block;
}
.feature-list span { margin-top: 5px; color: var(--muted); }
.feature-stack {
  display: grid;
  gap: 16px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.capability-item {
  min-height: 74px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--white);
  font-weight: 900;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
}
.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 950;
}
.faq-list p { color: var(--muted); margin-bottom: 0; }
.review-list { display: grid; gap: 12px; }
.inline-editor {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fffdf8;
}
.inline-editor summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--red);
}
.inline-editor .form-card {
  margin-top: 12px;
  box-shadow: none;
}
.check-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.check-list li { margin: 8px 0; }
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.empty-state { max-width: 760px; }
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 42px 16px; }
.auth-split {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 520px);
  gap: 18px;
  align-items: stretch;
}
.auth-context {
  align-content: center;
  display: grid;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(157, 13, 17, .08), rgba(246, 193, 103, .16)),
    var(--white);
}
.auth-context h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.auth-context p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.02rem;
}
.auth-card { width: min(520px, 100%); }
.compact-form-grid {
  grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}
.role-hint {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
  padding: 10px 12px;
  font-weight: 800;
}
.contact-panel { position: sticky; top: 92px; }
.mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mini-row:last-child { border-bottom: 0; }

.dashboard {
  width: calc(100% - 24px);
  max-width: 1320px;
  margin: 22px auto 60px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}
.dashboard-side {
  position: sticky;
  top: 86px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}
.dashboard-side a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  border-bottom: 1px solid var(--line);
}
.dashboard-side a:last-child { border-bottom: 0; }
.dashboard-side a.active {
  color: var(--red);
  font-weight: 950;
}
.dashboard-main {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: 24px;
}
.dashboard-main h1 { margin-top: 0; font-size: 2.8rem; }
.dashboard-panel { margin-top: 22px; }
.compact-head { margin-bottom: 16px; }
.compact-head h2 { font-size: 1.7rem; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.detail-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.detail-kpi-grid .panel {
  min-height: 152px;
}
.detail-kpi-grid h3 {
  margin: 8px 0 4px;
}
.listing-card {
  display: grid;
  align-content: start;
  gap: 8px;
}
.listing-card .check-list {
  margin-top: 4px;
}
.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.readiness.ready { border-color: #b8e2c3; background: #fbfffb; }
.readiness.warning { border-color: #ead28a; background: #fffaf0; }
.readiness.action { border-color: #edbbbb; background: #fff7f7; }
.launch-control,
.profile-switcher {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.launch-control h2,
.profile-switcher h2 {
  margin: 0;
  font-size: 1.65rem;
}
.launch-control p,
.profile-switcher p {
  color: var(--muted);
  margin-bottom: 0;
}
.milestone-list {
  display: grid;
  gap: 10px;
}
.milestone-item {
  display: grid;
  grid-template-columns: auto minmax(180px, .45fr) 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.milestone-item.done { background: #fbfffb; border-color: #b8e2c3; }
.milestone-item small { color: var(--muted); font-weight: 750; }
.role-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.role-workspace {
  min-height: 210px;
  display: grid;
  align-content: start;
}
.role-workspace.active {
  border-color: #b8e2c3;
  background: #fbfffb;
}
.wizard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.wizard-card,
.setup-wizard-panel,
.section-guidance {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.wizard-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 330px;
  padding: 18px;
}
.wizard-card.active {
  border-color: #b8e2c3;
  background: #fbfffb;
}
.wizard-card h3 {
  margin: 0;
  font-size: 1.25rem;
}
.wizard-card p {
  margin: 0;
  color: var(--muted);
}
.wizard-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.setup-wizard-panel,
.section-guidance {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
}
.section-guidance {
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1fr);
}
.wizard-summary h2,
.section-guidance h2 {
  margin: 0;
  font-size: 1.65rem;
}
.wizard-summary p,
.section-guidance p {
  color: var(--muted);
}
.wizard-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.mini-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.mini-steps li {
  position: relative;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 10px 12px 10px 34px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}
.mini-steps li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(157, 13, 17, .08);
}
.mini-steps.numbered {
  counter-reset: wizard-step;
}
.mini-steps.numbered li {
  padding-left: 44px;
}
.mini-steps.numbered li::before {
  counter-increment: wizard-step;
  content: counter(wizard-step);
  top: 9px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: .78rem;
  font-weight: 950;
  box-shadow: none;
}
.field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.field-tags span,
.field-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--soft);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}
.provider-setup-map,
.onboarding-command-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.provider-setup-map article,
.onboarding-command-list article {
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}
.provider-setup-map span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
}
.provider-setup-map strong,
.provider-setup-map small,
.onboarding-command-list strong,
.onboarding-command-list span {
  display: block;
}
.provider-setup-map small,
.onboarding-command-list span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}
.onboarding-command-center {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.onboarding-command-center h2 {
  margin: 0;
  font-size: 1.65rem;
}
.onboarding-command-center p {
  color: var(--muted);
}
.plan-gate {
  border-color: #ead28a;
  background: #fffaf0;
}
.plan-gate h3 {
  margin-top: 8px;
}
.offer-builder-intro,
.offer-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, .58fr);
  gap: 14px;
  margin: 0 0 16px;
  align-items: center;
}
.offer-builder-intro {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
}
.offer-builder-intro h3 {
  margin: 0;
  font-size: 1.45rem;
}
.offer-builder-intro p {
  color: var(--muted);
  margin-bottom: 0;
}
.media-playbook {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.media-builder-grid {
  grid-template-columns: minmax(270px, .48fr) minmax(0, 1fr);
  align-items: start;
}
.offer-live-preview,
.offer-readiness,
.provider-listing-card {
  position: relative;
  overflow: hidden;
}
.offer-live-preview::before,
.provider-listing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
}
.offer-live-preview {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(157, 13, 17, .07), rgba(246, 193, 103, .15)),
    var(--white);
}
.offer-live-preview h3,
.offer-readiness h3 {
  margin: 0;
}
.offer-live-preview [data-offer-preview-description] {
  color: var(--muted);
}
.media-live-preview {
  align-self: stretch;
}
.media-preview-frame {
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #ddbfa4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(157, 13, 17, .08), rgba(246, 193, 103, .18)),
    #fffaf3;
  color: var(--muted);
  font-weight: 900;
}
.media-preview-frame img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}
.media-dashboard-grid {
  align-items: stretch;
}
.media-dashboard-card {
  display: grid;
  gap: 10px;
  align-content: start;
}
.media-dashboard-card > img,
.approval-thumb {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}
.media-dashboard-card > img {
  height: 180px;
}
.approval-thumb {
  max-width: 120px;
  height: 84px;
  margin: 0 0 8px;
}
.compact-readiness {
  margin-top: 2px;
}
.offer-quality-row,
.category-suggestion-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}
.offer-quality-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .78rem;
  font-weight: 900;
}
.offer-quality-row .done {
  border-color: #b8e2c3;
  background: #effaf2;
  color: #185f30;
}
.offer-quality-row .missing {
  border-color: #ead28a;
  background: #fff8df;
  color: #6c4600;
}
.profile-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .6fr) minmax(250px, .6fr);
  gap: 14px;
  margin-bottom: 16px;
}
.profile-live-preview,
.readiness-coach,
.role-form-coach {
  align-content: start;
}
.profile-live-preview {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(157, 13, 17, .08), rgba(246, 193, 103, .14)),
    var(--white);
}
.profile-live-preview h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}
.profile-live-preview .status-strip {
  justify-content: flex-start;
  margin: 0;
}
.profile-live-preview [data-profile-preview-bio] {
  max-width: 760px;
}
.readiness-coach {
  display: grid;
  gap: 12px;
  background: #fffaf4;
}
.role-form-coach {
  display: grid;
  gap: 12px;
}
.readiness-coach h3,
.role-form-coach h3 {
  margin: 0;
}
.compact-list {
  margin: 0;
}
.compact-list li {
  padding-top: 4px;
  padding-bottom: 4px;
}
.form-helper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.form-helper {
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}
.form-helper strong,
.form-helper span {
  display: block;
}
.form-helper span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .92rem;
}
.form-field-note {
  min-height: 100%;
  display: grid;
  align-content: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fffaf4;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}
.bio-template-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--soft);
}
.bio-template-row .form-note {
  margin: 0;
}
.switcher-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 620px;
}
.switcher-pill {
  display: grid;
  gap: 2px;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
}
.switcher-pill.active {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(157, 13, 17, .08);
}
.switcher-pill strong { font-size: .95rem; }
.switcher-pill span { color: var(--muted); font-size: .8rem; font-weight: 850; }
.metric-grid .panel span {
  display: block;
  color: var(--muted);
  font-weight: 750;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.check-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: var(--soft);
}
.check-grid .panel {
  margin: 0;
}
.check-grid div.done { background: #e9f8ed; border-color: #b8e2c3; }
.check-grid strong,
.check-grid span {
  display: block;
}
.check-grid strong { color: var(--red); font-size: .78rem; text-transform: uppercase; }
.check-grid span { margin-top: 4px; color: var(--ink); font-weight: 850; }
.wide-form { margin-top: 12px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.approval-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.approval-row:last-child { border-bottom: 0; }
.approval-row strong,
.approval-row span {
  display: block;
}
.approval-row span { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.approval-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.usage-bars {
  display: grid;
  gap: 10px;
}
.usage-bars div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--soft);
}
.usage-bars span { color: var(--muted); font-weight: 850; }
.usage-bars strong { color: var(--ink); }
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.action-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.action-card strong { font-size: 1.04rem; }
.action-card span:last-child { color: var(--muted); }
.task-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.task-card {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 248, 237, .98));
}
.task-card:hover,
.route-card:hover,
.role-card:hover {
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow);
}
.task-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
  font-size: .78rem;
  font-weight: 950;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.proof-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.proof-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef5e9;
  color: #3b5d29;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}
.proof-card strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.3;
}
.proof-card p {
  margin: 0;
  color: var(--muted);
}
.pricing-compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(61, 35, 18, .05);
}
.pricing-compare table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}
.pricing-compare th,
.pricing-compare td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pricing-compare th {
  color: var(--ink);
  font-weight: 950;
}
.pricing-compare thead th {
  position: sticky;
  top: 0;
  background: #fff4e4;
  z-index: 1;
}
.pricing-compare tbody th {
  background: #fffaf3;
}
.pricing-compare tr:last-child th,
.pricing-compare tr:last-child td {
  border-bottom: 0;
}
.compact-actions { padding-top: 8px; margin-top: 8px; }
.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.status-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--soft);
  color: var(--ink);
  font-size: .84rem;
  font-weight: 900;
}
.status-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--white);
  color: var(--red);
  font-size: .84rem;
  font-weight: 900;
  text-decoration: none;
}
.status-strip a.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.admin-filter-bar {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(125px, .8fr)) auto;
  gap: 12px;
  align-items: end;
}
.admin-filter-bar label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}
.admin-filter-bar input,
.admin-filter-bar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  background: var(--white);
  color: var(--ink);
}
.filter-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lead-source-strip { margin-top: 16px; }
.lead-card {
  display: grid;
  gap: 14px;
}
.lead-card.provider-response {
  border-color: #d9b425;
  background: #fffdf8;
}
.lead-card.overdue {
  border-color: #f0a29b;
  box-shadow: 0 18px 36px rgba(163, 23, 23, .08);
}
.lead-card.due-today {
  border-color: #e2c45d;
  background: #fffdf6;
}
.lead-card.no-followup {
  border-style: dashed;
}
.lead-metric-danger {
  border-color: #f0a29b;
  background: #fff7f6;
}
.lead-escalation-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.lead-analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.lead-analytics-card {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ec 100%);
}
.lead-analytics-card h3 {
  margin: 0;
  font-size: 1.25rem;
}
.escalation-card {
  display: grid;
  gap: 8px;
  border-color: #ead6ba;
  background: #fffdf8;
}
.escalation-card h3 {
  margin: 0;
  font-size: 1rem;
}
.escalation-card p {
  margin: 0;
}
.status-strip a.danger-link,
.status-strip a.active.danger-link {
  border-color: #9f1010;
}
.lead-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.lead-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.lead-quick-actions form,
.escalation-card form {
  margin: 0;
}
.lead-message {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 12px;
  color: var(--ink);
  background: rgba(255, 249, 240, .65);
}
.monitor-log {
  max-height: 340px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #241913;
  color: #fff7ec;
  white-space: pre-wrap;
  word-break: break-word;
}
.inline-lead-action {
  margin: 12px 0 0;
}
.lead-quality-panel {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px 16px;
  background: #fffaf3;
}
.lead-quality-panel div {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.lead-quality-panel strong {
  color: var(--red);
  font-size: 1.45rem;
  line-height: 1;
}
.lead-quality-panel span,
.lead-quality-panel p {
  color: var(--muted);
  font-weight: 850;
}
.lead-quality-panel p {
  margin: 0;
  font-size: .9rem;
}
.lead-quality-panel i {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
  transition: width .2s ease;
}
.lead-ready .lead-quality-panel {
  border-color: #b8e2c3;
  background: #fbfffb;
}
.shortlist-open { overflow: hidden; }
.shortlist-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 75;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px 8px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(33, 25, 20, .24);
  cursor: pointer;
}
.shortlist-fab.is-visible { display: inline-flex; }
.shortlist-fab strong {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--red);
}
.shortlist-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  border: 0;
  background: rgba(33, 25, 20, .42);
  cursor: pointer;
}
.shortlist-backdrop.open { display: block; }
.shortlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 85;
  display: none;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  width: min(430px, calc(100vw - 20px));
  height: 100dvh;
  padding: 22px;
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 40px rgba(33, 25, 20, .2);
  visibility: hidden;
  pointer-events: none;
}
.shortlist-drawer.open {
  display: grid;
  visibility: visible;
  pointer-events: auto;
}
.shortlist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.shortlist-head h2 { margin: 0; font-size: 1.45rem; }
.shortlist-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding-right: 2px;
}
.shortlist-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
}
.shortlist-item img, .shortlist-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}
.shortlist-placeholder {
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--red);
  font-weight: 950;
}
.shortlist-item span {
  display: block;
  color: var(--red);
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
}
.shortlist-item strong {
  display: block;
  margin: 2px 0 3px;
}
.shortlist-item small {
  display: block;
  color: var(--muted);
}
.shortlist-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.shortlist-item-actions a, .shortlist-item-actions button {
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 900;
  padding: 0;
  cursor: pointer;
}
.shortlist-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffaf4;
}
.shortlist-empty span { color: var(--muted); }
.shortlist-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pricing-card form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.pricing-card label {
  display: grid;
  gap: 6px;
  font-weight: 850;
}
.pricing-card select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--white);
  font: inherit;
}
.receipt-shell {
  max-width: 980px;
}
.receipt-document {
  background: #fff;
  color: var(--ink);
}
.receipt-top, .receipt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.receipt-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}
.receipt-summary {
  text-align: right;
}
.receipt-amount {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 18px;
  margin: 24px 0;
}
.receipt-amount span {
  color: var(--muted);
  font-weight: 800;
}
.receipt-amount strong {
  font-family: Fraunces, serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.receipt-grid {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.receipt-note {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.big-number { font-size: 2.2rem; font-weight: 950; color: var(--red) !important; }
.flash {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 12px auto 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 850;
}
.flash.success { background: #e9f8ed; color: #185f30; border: 1px solid #b8e2c3; }
.flash.error { background: #fff0f0; color: #9d0d11; border: 1px solid #edbbbb; }
.flash.warning { background: #fff8df; color: #6c4600; border: 1px solid #ead28a; }
.flash.inline { width: 100%; margin: 0 0 18px; }
.verification-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.verification-nudge form { margin: 0; }
.full-button { width: 100%; }
.readable { max-width: 860px; }

.site-footer {
  padding: 42px clamp(16px, 4vw, 48px) 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 26px;
}
.footer-logo { width: 220px; background: var(--white); padding: 10px; border-radius: 8px; }
.site-footer a { display: block; color: rgba(255, 255, 255, .88); text-decoration: none; margin: 6px 0; }
.site-footer h3 { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 28px; padding-top: 18px; }

[dir="rtl"] .site-header, [dir="rtl"] .hero-actions, [dir="rtl"] .card-actions { direction: rtl; }

@media print {
  .site-header, .site-footer, .flash, .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
  main, .section, .receipt-shell {
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .panel, .receipt-document {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  a {
    color: #000;
    text-decoration: none;
  }
}

@media (max-width: 980px) {
  .site-header { padding: 10px 16px; }
  .brand img { width: min(170px, 52vw); }
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; background: var(--white); font-weight: 900; }
  .site-nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; max-height: calc(100vh - 86px); overflow-y: auto; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .hero, .split, .profile-hero, .profile-contact-bar, .dashboard, .footer-grid, .content-columns, .launch-control, .profile-switcher, .visual-band, .setup-wizard-panel, .section-guidance, .profile-builder-grid, .fast-lane, .auth-split, .onboarding-command-center, .offer-builder-intro, .offer-builder-grid { grid-template-columns: 1fr; }
  .hero-search, .hero-search.compact, .hero-search-advanced, .hero-search.discovery-search, .hero-search.product-search, .hero-search.gallery-search { grid-template-columns: 1fr; }
  .cards, .role-grid, .pricing-grid, .gallery-grid, .profile-nav-strip, .profile-gallery-showcase, .grid-two, .timeline-grid, .capability-grid, .metric-grid, .detail-kpi-grid, .readiness-grid, .check-grid, .form-grid, .action-grid, .onboarding-hero, .onboarding-steps, .media-strip, .journey-grid, .task-grid, .proof-grid, .role-board, .form-helper-grid, .market-snapshot, .plan-recommender, .wizard-grid, .admin-filter-bar, .customer-path-grid, .lead-next-steps, .provider-setup-map, .onboarding-command-list, .compact-form-grid, .lead-escalation-strip, .lead-analytics-grid { grid-template-columns: 1fr; }
  .receipt-top, .receipt-grid { grid-template-columns: 1fr; }
  .receipt-summary { text-align: left; }
  .receipt-amount { align-items: flex-start; flex-direction: column; }
  .dashboard-side { position: static; }
  .auth-split { width: calc(100% - 24px); }
  .bio-template-row { align-items: stretch; flex-direction: column; }
  .switcher-list { justify-content: stretch; max-width: none; }
  .switcher-pill { min-width: 0; }
  .milestone-item { grid-template-columns: 1fr; align-items: start; }
  .approval-row { display: block; }
  .approval-actions { justify-content: flex-start; margin-top: 10px; }
  .fast-lane-actions { justify-content: stretch; }
  .fast-lane-actions .button { flex: 1 1 180px; }
  .customer-path-card,
  .lead-next-steps article {
    min-height: 0;
  }
  .lead-card-head { display: block; }
  .lead-quick-actions { justify-content: flex-start; margin-top: 10px; }
  .shortlist-drawer {
    width: min(calc(100vw - 24px), 420px);
    padding: 18px;
  }
  .shortlist-fab {
    right: 12px;
    bottom: 12px;
  }
  .hero { min-height: auto; padding-top: 42px; }
  .profile-contact-bar {
    top: 70px;
    align-items: start;
  }
  .profile-contact-actions {
    justify-content: stretch;
  }
  .profile-contact-actions .button {
    flex: 1 1 136px;
  }
  .profile-nav-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }
  .profile-nav-strip a {
    flex: 0 0 138px;
    scroll-snap-align: start;
  }
  .location-facts,
  .compact-checks,
  .decision-step-grid,
  .portfolio-action-panel {
    grid-template-columns: 1fr;
  }
  .featured-gallery-item,
  .featured-gallery-item img {
    min-height: 300px !important;
  }
  .portfolio-action-panel .button,
  .listing-actions .button {
    width: 100%;
  }
  .hero-copy, .hero-carousel { min-width: 0; max-width: 100%; }
  .hero-search { width: 100%; max-width: 100%; }
  .hero-search input, .hero-search select, .hero-search button { min-width: 0; }
  .page-hero p, .hero p, .profile-hero p { max-width: 100%; overflow-wrap: anywhere; }
  .intent-chips { max-width: 100%; overflow: hidden; }
  .hero-carousel { min-height: 360px; }
  .hero-slide figcaption strong { font-size: 1.08rem; }
  .hero h1, .page-hero h1, .profile-hero h1 {
    font-size: clamp(1.95rem, 7.2vw, 2.32rem);
    line-height: 1.08;
    overflow-wrap: normal;
  }
  .hero h1 span { display: block; }
  .section h2 { font-size: 2rem; }
  .dashboard-main h1 { font-size: 2rem; }
  .pricing-compare table,
  .pricing-compare thead,
  .pricing-compare tbody,
  .pricing-compare tr,
  .pricing-compare th,
  .pricing-compare td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .pricing-compare thead { display: none; }
  .pricing-compare tbody tr {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }
  .pricing-compare tbody tr:last-child { border-bottom: 0; }
  .pricing-compare tbody th {
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }
  .pricing-compare td {
    display: grid;
    grid-template-columns: minmax(118px, .72fr) 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f1e1cf;
  }
  .pricing-compare td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 950;
  }
  .pricing-compare tr:last-child td:last-child { border-bottom: 0; }
}

@media (max-width: 480px) {
  .hero, .page-hero, .profile-hero, .section {
    width: calc(100% - 32px);
    max-width: 1180px;
  }
  .site-header { gap: 10px; }
  .brand img { width: min(158px, 56vw); }
  .nav-toggle { min-height: 42px; padding: 7px 10px; }
  .hero {
    padding-top: 30px;
    gap: 26px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(1.86rem, 8.5vw, 2.18rem);
  }
  .hero h1 span {
    display: block;
  }
  .hero-copy {
    min-width: 0;
  }
  .hero p,
  .page-hero p,
  .profile-hero p,
  .section-lead {
    max-width: calc(100vw - 32px);
    overflow-wrap: break-word;
  }
  .button {
    width: 100%;
  }
  .hero-search input, .hero-search select {
    min-height: 48px;
  }
  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }
  .shortlist-drawer {
    top: 12px;
    right: 12px;
    bottom: 12px;
    height: auto;
  }
  .shortlist-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .shortlist-head .button {
    width: 100%;
  }
  .trust-strip span {
    max-width: 100%;
    white-space: normal;
  }
}
