:root {
  --brand-ink: #17191d;
  --brand-ink-soft: #2a2c31;
  --brand-gold: #b9934b;
  --brand-gold-dark: #8f6f35;
  --brand-gold-soft: #efe4cf;
  --brand-bg: #f8f5ef;
  --brand-surface: #fffdf8;
  --brand-surface-muted: #f3eee6;
  --brand-line: #e4dacb;
  --brand-muted: #6f6a62;
  --brand-success: #2f6b4f;
  --brand-success-bg: #dfeee5;
  --brand-warning: #8b641d;
  --brand-warning-bg: #fff2d6;
  --brand-error: #a44735;
  --brand-error-bg: #fbe3dc;
  --brand-disabled: #b8afa2;
  --brand-disabled-bg: #eee8df;
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --line: var(--brand-line);
  --soft: var(--brand-surface-muted);
  --paper: var(--brand-surface);
  --teal: var(--brand-ink);
  --teal-dark: var(--brand-ink-soft);
  --coral: var(--brand-error);
  --terracotta: var(--brand-error);
  --amber: var(--brand-gold);
  --leaf: var(--brand-success);
  --blue: var(--brand-ink-soft);
  --shadow: 0 18px 50px rgba(23, 25, 29, 0.12);
  --public-shadow-soft: 0 18px 46px rgba(23, 25, 29, 0.08);
  --public-shadow-card: 0 12px 30px rgba(23, 25, 29, 0.07);
  --public-radius: 16px;
  --heading-font: Georgia, "Times New Roman", serif;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--brand-bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.8vw, 34px);
  min-height: 80px;
  padding: 10px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(228, 218, 203, 0.9);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-logo-public {
  display: block;
  width: clamp(176px, 15vw, 220px);
  max-height: 62px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-ink);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  color: var(--brand-ink-soft);
  font-size: 0.95rem;
  padding: 10px 12px;
}

.nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.home-link {
  font-weight: 750;
}

.nav a:hover,
.nav a.is-active {
  background: var(--brand-gold-soft);
  color: var(--brand-ink);
}

.nav-cta,
.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.1;
  padding: 12px 16px;
}

.nav-cta,
.primary-button {
  color: #fff;
  background: var(--brand-ink);
  box-shadow: 0 10px 24px rgba(23, 25, 29, 0.18);
}

.primary-button:hover,
.nav-cta:hover {
  background: var(--brand-ink-soft);
}

.secondary-button {
  color: var(--brand-ink);
  background: var(--brand-gold-soft);
}

.ghost-button {
  color: var(--ink);
  background: var(--brand-surface);
  border: 1px solid var(--line);
}

.page {
  min-height: calc(100vh - 72px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 640px;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 25, 29, 0.78), rgba(23, 25, 29, 0.24)),
    var(--hero-image) center/cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 38px;
}

.hero-copy {
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--brand-gold-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.public-body h1,
.public-body h2,
.provider-title,
.metric strong,
.package-price,
.plan-price {
  font-family: var(--heading-font);
  font-weight: 700;
}

.public-body h1 {
  font-size: clamp(2.65rem, 5vw, 5.05rem);
  line-height: 0.98;
}

.public-body h2 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(150px, 1fr)) auto;
  gap: 12px;
  width: min(980px, 100%);
  margin-top: 28px;
  padding: 12px;
  border: 1px solid rgba(228, 218, 203, 0.9);
  border-radius: var(--public-radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 60px rgba(23, 25, 29, 0.18);
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin: 0 0 5px;
  color: var(--brand-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.field input,
.field select,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--brand-surface);
  padding: 10px 12px;
}

.field input:focus,
.field select:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(185, 147, 75, 0.26);
  border-color: var(--brand-gold);
}

a:focus-visible,
button:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid rgba(185, 147, 75, 0.3);
  outline-offset: 3px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 36px));
  margin: -28px auto 0;
  position: relative;
  z-index: 4;
}

.metric {
  min-height: 108px;
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  border: 1px solid var(--line);
  box-shadow: var(--public-shadow-card);
  padding: 20px;
}

.metric strong {
  display: block;
  color: var(--brand-gold-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 68px 0;
}

#registro-empresa {
  scroll-margin-top: 96px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-header p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border-radius: var(--public-radius);
  color: #fff;
  isolation: isolate;
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  filter: saturate(0.96);
  transition: transform 0.25s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 25, 29, 0.04), rgba(23, 25, 29, 0.68));
  z-index: 1;
}

.category-tile:hover img {
  transform: scale(1.02);
}

.category-tile span {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-weight: 850;
  line-height: 1.12;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  border: 1px solid var(--brand-line);
  border-top: 4px solid var(--brand-ink);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  box-shadow: var(--public-shadow-card);
  padding: 24px;
}

.step:nth-child(2) {
  border-color: var(--coral);
}

.step:nth-child(3) {
  border-color: var(--amber);
}

.step-number {
  color: var(--brand-gold-dark);
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.provider-card,
.package-card,
.plan-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  overflow: hidden;
  box-shadow: var(--public-shadow-card);
}

.provider-card {
  display: grid;
}

.provider-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--brand-surface-muted);
  color: var(--brand-ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 9px;
}

.tag.verified {
  background: var(--brand-success-bg);
  color: var(--brand-success);
}

.tag.price {
  background: var(--brand-gold-soft);
  color: var(--brand-gold-dark);
}

.card-meta,
.package-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions > * {
  flex: 1;
  min-width: 0;
}

.contact-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.contact-note.full-note {
  flex: 1 0 100%;
  justify-content: flex-start;
  max-width: 100%;
  min-height: auto;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.package-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  align-items: start;
  min-height: 300px;
  padding: 24px;
}

.package-price {
  align-self: end;
  margin-top: 16px;
  color: var(--brand-gold-dark);
  font-size: 1.55rem;
  font-weight: 900;
}

.package-card .secondary-button {
  justify-self: start;
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: #334453;
}

.check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
  font-size: 0.82rem;
  font-weight: 900;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12px;
  align-items: end;
}

.image-stack img {
  width: 100%;
  border-radius: var(--public-radius);
  object-fit: cover;
}

.image-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.image-stack img:last-child {
  aspect-ratio: 1 / 1;
  margin-bottom: 36px;
}

.subhero {
  background: var(--brand-ink);
  color: #fff;
}

.subhero-inner {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 42px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0 44px;
  align-items: end;
}

.subhero p {
  color: rgba(255, 255, 255, 0.78);
}

.subhero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--public-radius);
  object-fit: cover;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
}

.results-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
}

.results-layout.no-sidebar {
  grid-template-columns: 1fr;
}

.side-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  box-shadow: var(--public-shadow-card);
  padding: 22px;
}

.side-panel h3 {
  margin-bottom: 14px;
}

.checkbox-list {
  display: grid;
  gap: 10px;
}

.checkbox-list label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #3e4c59;
}

.result-list {
  display: grid;
  gap: 14px;
}

.data-source-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-results {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  padding: 24px;
}

.empty-results h3 {
  font-size: 1.45rem;
}

.empty-results p {
  max-width: 560px;
  color: var(--muted);
}

.empty-results .secondary-button {
  justify-self: start;
}

.wide-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  overflow: hidden;
  background: var(--brand-surface);
  box-shadow: var(--public-shadow-card);
}

.wide-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.wide-card .card-body {
  align-content: start;
}

.provider-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.provider-carousel {
  display: grid;
  gap: 12px;
}

.carousel-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--public-radius);
  background: var(--brand-surface-muted);
  box-shadow: var(--public-shadow-soft);
}

.carousel-image {
  width: 100%;
  height: clamp(360px, 50vw, 620px);
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  translate: 0 -50%;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 25, 29, 0.6);
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.carousel-nav:hover {
  background: rgba(23, 25, 29, 0.8);
}

.carousel-nav.prev {
  left: 16px;
}

.carousel-nav.next {
  right: 16px;
}

.carousel-count {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 25, 29, 0.72);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 7px 10px;
}

.carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.thumb {
  overflow: hidden;
  height: 86px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--brand-surface);
  cursor: pointer;
  padding: 0;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-active {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(185, 147, 75, 0.2);
}

.provider-summary {
  position: sticky;
  top: 92px;
  align-self: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  box-shadow: var(--public-shadow-soft);
  padding: 24px;
}

.provider-title {
  max-width: 100%;
  margin: 14px 0 10px;
  font-size: clamp(2.1rem, 3vw, 3.35rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.public-body .provider-title {
  font-size: clamp(2.1rem, 3vw, 3.35rem);
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--brand-ink-soft);
  font-weight: 750;
}

.stars {
  color: var(--brand-gold);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1;
}

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

.summary-price {
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-price strong {
  display: block;
  color: var(--brand-gold-dark);
  font-size: 1.9rem;
}

.provider-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
}

.content-block {
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  background: var(--brand-surface);
  box-shadow: var(--public-shadow-card);
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-option {
  display: grid;
  grid-template-columns: 1fr minmax(150px, auto);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--public-radius);
  padding: 16px;
  background: var(--brand-surface);
}

.service-option.is-selected {
  border-color: rgba(185, 147, 75, 0.55);
  background: #f6ecd9;
}

.service-option .ghost-button {
  margin-top: 10px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  padding: 18px;
}

.quote-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.quote-drawer.is-open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 29, 0.48);
  cursor: pointer;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--brand-surface);
  padding: 34px;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.16);
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-surface);
  cursor: pointer;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-context {
  margin: -2px 0 18px;
  color: var(--muted);
  font-weight: 750;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--brand-ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-confirmation {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.quote-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 750;
}

.quote-status[data-tone="error"] {
  color: var(--terracotta);
  font-weight: 850;
}

.quote-confirmation.is-hidden,
.quote-form.is-hidden {
  display: none;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.company-form {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.company-form.is-hidden {
  display: none;
}

.form-panel {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-surface);
  padding: 22px;
}

.form-panel:last-child {
  grid-column: 1 / -1;
}

.company-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-form label {
  display: grid;
  gap: 6px;
  color: var(--brand-ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.company-form input,
.company-form select,
.company-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--brand-surface);
  padding: 10px 12px;
}

.company-form input:focus,
.company-form select:focus,
.company-form textarea:focus {
  outline: 3px solid rgba(185, 147, 75, 0.26);
  border-color: var(--brand-gold);
}

.company-form .full {
  grid-column: 1 / -1;
}

.form-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.upload-box {
  min-height: 132px;
  place-items: center;
  border: 1px dashed var(--brand-disabled);
  border-radius: 8px;
  background: var(--brand-surface-muted);
  cursor: pointer;
  padding: 18px;
  text-align: center;
}

.upload-box:focus-within {
  outline: 3px solid rgba(185, 147, 75, 0.26);
  border-color: var(--brand-gold);
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.upload-box span {
  color: var(--brand-gold-dark);
  font-size: 1.05rem;
  font-weight: 850;
}

.upload-box small {
  color: var(--muted);
  font-weight: 650;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-empty {
  grid-column: 1 / -1;
  border-radius: 8px;
  color: var(--muted);
  background: var(--brand-surface-muted);
  padding: 18px;
  text-align: center;
}

.preview-item {
  min-width: 0;
  margin: 0;
}

.preview-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.preview-item figcaption {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publish-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.publish-summary > div {
  border-radius: 8px;
  background: var(--brand-surface-muted);
  padding: 16px;
}

.publish-summary strong,
.publish-summary span {
  display: block;
}

.publish-summary span {
  margin-top: 5px;
  color: var(--muted);
}

.consent-row {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
}

.company-confirmation {
  margin-top: 18px;
}

.company-confirmation.is-hidden {
  display: none;
}

.company-submit-status {
  min-height: 1.35em;
  line-height: 1.35;
  font-weight: 800;
}

button:disabled,
.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled {
  cursor: wait;
  opacity: 0.68;
  box-shadow: none;
}

.plan-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.plan-card.featured {
  border-color: rgba(185, 147, 75, 0.58);
  box-shadow: var(--shadow);
}

.plan-price {
  font-size: 2rem;
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-band {
  background: var(--brand-ink);
  color: #fff;
}

.cta-band .section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  translate: -50% 0;
  max-width: calc(100% - 32px);
  border-radius: 8px;
  color: #fff;
  background: var(--brand-ink-soft);
  box-shadow: var(--shadow);
  padding: 13px 16px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .brand-logo-public {
    width: clamp(168px, 28vw, 198px);
    max-height: 58px;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-cta {
    min-width: max-content;
  }

  .search-panel,
  .filter-bar,
  .subhero-inner,
  .split,
  .provider-hero,
  .content-grid,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .category-grid,
  .cards-grid,
  .plan-grid,
  .company-form,
  .company-form-grid,
  .publish-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 74px;
    padding: 8px 14px;
  }

  .brand-logo-public {
    width: min(168px, 48vw);
    max-height: 54px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding-top: 72px;
  }

  .public-body h1 {
    font-size: clamp(2.35rem, 10vw, 2.9rem);
    line-height: 1.02;
  }

  .public-body .provider-title {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .provider-hero {
    gap: 16px;
    padding: 22px 0 48px;
  }

  .provider-summary {
    order: -1;
    padding: 18px;
  }

  .provider-summary .card-actions {
    gap: 10px;
  }

  .section,
  .trust-strip,
  .subhero-inner,
  .provider-hero,
  .provider-content {
    width: min(100% - 28px, 1180px);
  }

  .trust-strip,
  .category-grid,
  .cards-grid,
  .steps,
  .plan-grid,
  .review-grid,
  .company-form,
  .company-form-grid,
  .publish-summary {
    grid-template-columns: 1fr;
  }

  .section-header,
  .cta-band .section {
    display: grid;
  }

  .subhero h1 {
    max-width: 13ch;
    font-size: clamp(2.45rem, 11vw, 3.05rem);
    line-height: 1.04;
  }

  .subhero p {
    max-width: 34ch;
  }

  .wide-card {
    grid-template-columns: 1fr;
  }

  .card-actions {
    display: grid;
  }

  .service-option {
    grid-template-columns: 1fr;
  }

  .wide-card img {
    min-height: 230px;
  }

  .carousel-image {
    height: min(42vh, 280px);
    min-height: 240px;
  }

  .carousel-thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .thumb {
    flex: 0 0 64px;
    height: 64px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: auto;
    padding-bottom: 12px;
  }

  .drawer-panel {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    padding: 28px 18px;
  }

  .quote-form button.full {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -12px 18px rgba(255, 255, 255, 0.92);
  }
}
