:root {
  --petrol: #0f4c5c;
  --petrol-dark: #0a3541;
  --graphite: #232b2b;
  --ink: #172121;
  --muted: #667170;
  --line: #d8e0e2;
  --soft: #f5f7f8;
  --white: #ffffff;
  --mist: #dcecf0;
  --steel: #597b8a;
  --accent: #8a7aa8;
  --action: #c77a32;
  --action-dark: #9f5f25;
  --action-soft: #fff4e8;
  --shadow: 0 18px 50px rgba(15, 76, 92, 0.12);
  --radius: 8px;
  --font-title: "Montserrat", "Poppins", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--graphite);
  font-family: var(--font-title);
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 226, 0.9);
  backdrop-filter: blur(14px);
}

.partner-access-flow .main-nav {
  display: none;
}

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

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

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

.brand strong {
  font-family: var(--font-title);
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 68svh;
  max-height: 720px;
  overflow: hidden;
  background: var(--graphite);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.9) 0%, rgba(20, 31, 32, 0.72) 38%, rgba(20, 31, 32, 0.28) 78%),
    linear-gradient(0deg, rgba(15, 76, 92, 0.18), rgba(15, 76, 92, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 64px);
  color: var(--white);
}

.hero h1,
.hero h2,
.hero .eyebrow {
  color: var(--white);
}

.hero h1 {
  max-width: 680px;
  font-size: 44px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--petrol);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.band {
  width: 100%;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

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

.section-head > div {
  max-width: 760px;
}

.section-head a {
  color: var(--petrol);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--action);
  box-shadow: 0 12px 26px rgba(70, 47, 28, 0.22);
}

.button.primary:hover {
  color: var(--white);
  background: var(--action-dark);
}

.button.secondary {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(15, 76, 92, 0.16);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
}

.button.ghost.dark {
  color: var(--petrol-dark);
  background: transparent;
  border-color: var(--line);
}

.button.city-options {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(220, 236, 240, 0.95);
  box-shadow: 0 12px 26px rgba(10, 53, 65, 0.18);
}

.button.city-options:hover {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}

.button.text {
  min-height: 0;
  padding: 0;
  color: var(--petrol);
  background: none;
  border: 0;
}

.button.small {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.button.ghost-action {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(15, 76, 92, 0.16);
}

.button.performance-action {
  color: var(--white);
  background: var(--petrol);
  border-color: var(--petrol);
}

.button.performance-action:hover {
  color: var(--white);
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}

.button.edit-action {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(15, 76, 92, 0.22);
}

.button.edit-action:hover {
  color: var(--petrol-dark);
  background: #cfe4e9;
  border-color: rgba(15, 76, 92, 0.3);
}

.button.danger {
  color: #7a1f1f;
  background: #fff2f2;
  border-color: #e7bcbc;
}

.quote-highlight {
  color: var(--graphite);
  background: var(--action-soft);
  border-color: rgba(199, 122, 50, 0.42);
}

.quote-highlight:hover {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.city-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 24px;
}

.city-search.compact {
  margin-top: 18px;
}

.city-search input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(216, 224, 226, 0.95);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.city-search .button.primary {
  min-width: 160px;
  border-color: rgba(255, 255, 255, 0.28);
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.suggestions a,
.suggestions button {
  padding: 12px 14px;
  color: var(--graphite);
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.suggestions a:last-child,
.suggestions button:last-child {
  border-bottom: 0;
}

.search-status,
.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.search-status:empty,
.form-status:empty {
  display: none;
}

.intro-grid,
.split,
.city-copy,
.city-local,
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: start;
}

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

.steps-grid article {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 20px;
}

.steps-grid p {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-strip span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.stat-strip strong {
  color: var(--petrol);
  font-family: var(--font-title);
  font-size: 24px;
}

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

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card a {
  display: grid;
  height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.service-card span {
  padding: 14px 14px 0;
  color: var(--graphite);
  font-family: var(--font-title);
  font-weight: 800;
}

.service-card p {
  padding: 8px 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.pain-grid article,
.detail-block,
.blog-grid article,
.admin-card,
.local-box,
.partner-callout {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-grid p,
.detail-block p,
.local-box,
.blog-grid p {
  color: var(--muted);
}

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

.city-columns div {
  display: grid;
  align-content: start;
  gap: 6px;
}

.city-columns h3 {
  color: var(--petrol);
}

.city-columns a,
.link-stack a,
.link-cloud a {
  color: var(--graphite);
  font-weight: 700;
}

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

.article-list a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.article-list span {
  color: var(--muted);
}

.partner-callout {
  background: var(--graphite);
  color: var(--white);
}

.partner-callout h2,
.partner-callout .eyebrow {
  color: var(--white);
}

.partner-callout p {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 340px;
  padding: 64px clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(15, 76, 92, 0.95), rgba(35, 43, 43, 0.92)),
    var(--petrol);
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.city-page-hero {
  min-height: 380px;
}

.ribeirao-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.9), rgba(20, 31, 32, 0.48)),
    url("/assets/hero-glass-architecture.jpg") center / cover;
}

.contagem-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.92), rgba(20, 31, 32, 0.42)),
    url("/assets/servico-divisorias-vidro.jpg") center / cover;
}

.metro-editorial-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.92), rgba(20, 31, 32, 0.42)),
    var(--city-hero-image) center / cover;
}

.editorial-service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.editorial-service {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editorial-service img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.editorial-service div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.editorial-service h2,
.editorial-service p {
  margin: 0;
}

.editorial-service p {
  color: var(--muted);
}

.city-visual-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.visual-service-card {
  display: grid;
  overflow: hidden;
  min-height: 390px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.visual-service-card:first-child {
  grid-row: span 2;
}

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

.visual-service-card:first-child img {
  min-height: 360px;
}

.visual-service-card div {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
}

.visual-service-card h2,
.visual-service-card p {
  margin: 0;
}

.visual-service-card p {
  color: var(--muted);
}

.service-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
  align-items: center;
}

.service-conversion-hero {
  min-height: 460px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.service-conversion-hero h1 {
  max-width: 760px;
}

.service-hero-note {
  margin-top: 16px;
  color: var(--graphite);
  font-weight: 800;
}

.service-microcopy {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.access-page {
  width: min(760px, calc(100% - 36px));
  padding-top: 64px;
  padding-bottom: 72px;
}

.trial-page {
  width: min(860px, calc(100% - 36px));
  padding-top: 64px;
  padding-bottom: 72px;
}

.access-intro {
  margin-bottom: 28px;
}

.access-intro h1 {
  margin-bottom: 10px;
}

.access-intro p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.trial-intro {
  margin-bottom: 28px;
}

.trial-intro h1 {
  margin-bottom: 10px;
}

.trial-intro > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 17px;
}

.trial-intro .trial-intro-note {
  color: var(--petrol);
  font-size: 14px;
  font-weight: 800;
}

.access-card {
  gap: 18px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(15, 76, 92, 0.05);
}

.trial-form {
  gap: 18px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(15, 76, 92, 0.05);
}

.access-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.access-card-head strong,
.access-card-head small {
  display: block;
}

.access-card-head strong {
  color: var(--graphite);
  font-family: var(--font-title);
  font-size: 18px;
}

.access-card-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.access-step {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 800;
}

.trial-registration-fields {
  display: grid;
  gap: 22px;
}

.trial-form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trial-form-heading strong,
.trial-form-heading small {
  display: block;
}

.trial-form-heading strong {
  color: var(--graphite);
  font-family: var(--font-title);
  font-size: 18px;
}

.trial-form-heading small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

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

.trial-fields-grid label,
.trial-code-card label {
  color: var(--graphite);
  font-weight: 800;
}

.trial-fields-grid label small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.trial-terms-choice {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.trial-code-card {
  display: grid;
  gap: 20px;
  padding: 4px 0;
}

.trial-code-card label {
  max-width: 360px;
}

.trial-code-card input {
  letter-spacing: 0.12em;
  text-align: center;
}

.trial-city-preview {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 14px 16px;
  color: var(--petrol-dark);
  background: var(--action-soft);
  border: 1px solid rgba(199, 122, 50, 0.35);
  border-radius: 8px;
  font-size: 14px;
}

.trial-city-preview strong {
  font-family: var(--font-title);
}

.trial-city-preview[hidden],
.trial-confirmation[hidden] {
  display: none;
}

.trial-city-preview ul,
.confirmation-cities ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 20px;
}

.trial-confirmation {
  display: grid;
  gap: 16px;
  padding: 34px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.confirmation-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: #2e8b57;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 800;
}

.trial-confirmation h2 {
  margin-bottom: 0;
}

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

.confirmation-details > div {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.confirmation-details strong,
.confirmation-details span {
  display: block;
}

.confirmation-details strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.confirmation-details span {
  font-weight: 800;
}

.confirmation-cities {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: var(--petrol-dark);
  background: var(--action-soft);
  border: 1px solid rgba(199, 122, 50, 0.35);
  border-radius: 8px;
}

.confirmation-waitlist {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: #6b431f;
  background: #fff6df;
  border: 1px solid #e5c17d;
  border-radius: 8px;
}

.confirmation-waitlist strong {
  font-family: var(--font-title);
}

.confirmation-waitlist[hidden] {
  display: none;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trial-confirmation-static {
  width: min(860px, 100%);
  margin: 0 auto;
}

.trial-confirmation-static h1 {
  margin: 0;
}

.trial-confirmation-static .confirmation-cities li {
  display: grid;
  gap: 1px;
}

.trial-confirmation-static .confirmation-cities li span {
  color: var(--muted);
  font-size: 13px;
}

.activation-confirmation {
  margin-bottom: 18px;
  padding: 22px 24px;
  background: var(--action-soft);
  border: 1px solid rgba(199, 122, 50, 0.45);
  border-radius: 8px;
}

.activation-confirmation h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.signup-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--petrol-dark);
  background: var(--action-soft);
  border: 1px solid rgba(199, 122, 50, 0.45);
  border-radius: 8px;
}

.signup-cta:hover {
  color: var(--petrol-dark);
  background: #ffead2;
  border-color: var(--action);
}

.signup-cta strong,
.signup-cta small {
  display: block;
}

.signup-cta strong {
  font-family: var(--font-title);
}

.signup-cta small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.signup-cta-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--action);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.signup-cta-action {
  color: var(--action-dark);
  font-size: 14px;
  font-weight: 800;
}

.service-chips {
  margin-top: 18px;
}

.service-chips span {
  background: #f4f8f8;
}

.service-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-city-search {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-city-search .section-head {
  margin-bottom: 16px;
}

.service-city-search .city-search {
  margin-top: 0;
}

.service-process .steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.detail-block ul {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

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

.glass-type-gallery article {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.glass-type-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.glass-type-gallery-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 20px 20px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(18, 29, 31, 0.92), rgba(18, 29, 31, 0));
}

.glass-type-gallery h3,
.glass-type-gallery p {
  margin: 0;
}

.glass-type-gallery h3 {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.glass-type-gallery p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.link-cloud a,
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-stack {
  display: grid;
  gap: 8px;
}

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

details {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--graphite);
  font-weight: 800;
}

details p {
  margin-top: 10px;
  color: var(--muted);
}

.final-cta {
  padding: 34px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 0;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

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

.blog-grid article a {
  display: block;
}

.article {
  width: min(840px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.article header {
  margin-bottom: 34px;
}

.article-feature-image {
  margin: 24px 0 30px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.article-feature-image img {
  display: block;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.article-lead {
  color: var(--graphite);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.article section {
  margin-top: 34px;
}

.article li {
  margin-bottom: 8px;
}

.legal {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.legal h2 {
  margin-top: 30px;
}

.narrow {
  width: min(760px, calc(100% - 36px));
}

.quote-router,
.quote-form,
.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-router {
  position: relative;
  grid-template-columns: 1fr 1fr auto;
  padding: 0;
  border: 0;
}

.quote-router[hidden],
.quote-form[hidden] {
  display: none;
}

.quote-router .button {
  align-self: end;
  min-height: 44px;
}

.quote-router .suggestions {
  position: static;
  max-height: min(280px, 42svh);
  overflow-y: auto;
}

.quote-form-compact {
  padding: 0;
  border: 0;
}

.form-success-mode {
  display: block;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 320px;
  padding: 42px 20px;
  text-align: center;
  align-content: center;
}

.partner-form.form-success-mode {
  align-self: start;
}

.partner-form .form-success {
  min-height: 380px;
}

.satellite-options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.satellite-options legend {
  padding: 0 6px;
  font-weight: 700;
}

.satellite-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.satellite-option input {
  width: auto;
  margin-top: 3px;
}

.satellite-option span {
  display: grid;
  gap: 2px;
}

.satellite-option small {
  color: var(--muted);
}

.partner-form [data-installments-field][hidden] {
  display: none !important;
}

.partner-form [data-upsell-options] {
  display: grid;
  gap: 12px;
}

@media (max-width: 760px) {
  .partner-form {
    padding: 16px;
  }

  .partner-form .satellite-option {
    padding: 4px 0;
  }

  .partner-form .satellite-option span {
    min-width: 0;
  }

  .partner-form .satellite-option small,
  .partner-form [data-upsell-total] {
    line-height: 1.45;
  }
}

.subscription-page {
  display: grid;
  gap: 24px;
}

.subscription-intro {
  max-width: 780px;
}

.subscription-city-search {
  display: grid;
  gap: 8px;
  max-width: 920px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.subscription-city-search label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.subscription-city-search .suggestions {
  position: static;
  width: 100%;
  max-height: min(360px, 45svh);
  overflow-y: auto;
}

.subscription-city-search .suggestions button {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.subscription-city-search .suggestions button:hover {
  color: var(--petrol-dark);
  background: var(--soft);
}

.subscription-city-options {
  display: grid;
  border-top: 1px solid var(--line);
}

.subscription-city-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 16px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.subscription-city-option:hover,
.subscription-city-option.is-selected {
  color: var(--petrol-dark);
  background: var(--soft);
}

.subscription-city-option > span:first-child {
  display: grid;
  gap: 3px;
}

.subscription-city-option small {
  color: var(--muted);
}

.subscription-city-price {
  text-align: right;
  font-weight: 800;
}

.subscription-page-actions {
  display: flex;
  gap: 10px;
}

.subscription-empty,
.subscription-resume {
  display: grid;
  gap: 10px;
  max-width: 760px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subscription-empty h2 {
  margin: 0;
  font-size: 24px;
}

.subscription-switcher {
  max-width: 920px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subscription-switcher summary {
  cursor: pointer;
  font-weight: 800;
}

.checkout-hero {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.checkout-hero h1,
.checkout-hero p,
.checkout-section-heading h2,
.checkout-section-heading p,
.checkout-summary h2,
.checkout-summary p {
  margin: 0;
}

.checkout-hero > p:last-child,
.checkout-section-heading p {
  color: var(--muted);
}

.checkout-unavailable {
  display: grid;
  gap: 8px;
  max-width: 920px;
  margin: 20px 0;
  padding: 18px;
  color: #633f13;
  background: #fff7e9;
  border: 1px solid #ebbd84;
  border-left: 4px solid var(--action);
}

.checkout-unavailable h2,
.checkout-unavailable p {
  margin: 0;
}

.checkout-unavailable h2 {
  color: var(--ink);
  font-size: 22px;
}

.checkout-unavailable .eyebrow {
  color: #7a4e17;
}

.checkout-confirmation {
  display: grid;
  gap: 20px;
  max-width: 680px;
  margin: 24px auto;
  padding: clamp(24px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--petrol);
  box-shadow: var(--shadow);
}

.checkout-confirmation h1,
.checkout-confirmation p {
  margin: 0;
}

.checkout-confirmation > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.checkout-confirmation-cities {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.checkout-confirmation-cities strong {
  color: var(--petrol-dark);
}

.checkout-confirmation-cities ul {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--ink);
}

.checkout-confirmation-cities span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.checkout-confirmation-pay {
  width: 100%;
  min-height: 56px;
  font-size: 18px;
}

.checkout-confirmation-note {
  padding: 14px 16px;
  color: #18563b !important;
  background: #e9f8ef;
  border-left: 3px solid #2a8b5d;
  font-size: 15px !important;
}

.checkout-confirmation > .button.secondary {
  justify-self: start;
}

.checkout-form {
  display: grid;
  grid-template-areas:
    "selection"
    "summary"
    "payment";
  gap: 20px;
}

.checkout-selection,
.checkout-payment {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.checkout-selection {
  grid-area: selection;
}

.checkout-payment {
  grid-area: payment;
}

.checkout-section-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.checkout-section-heading h2,
.checkout-summary h2 {
  color: var(--ink);
  font-size: 24px;
}

.checkout-step {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  border-radius: 50%;
  font-weight: 900;
}

.checkout-primary-city {
  display: grid;
  align-items: start;
  gap: 16px;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--soft);
  border-left: 4px solid var(--petrol);
}

.checkout-primary-city > span {
  display: grid;
  gap: 2px;
}

.checkout-primary-city small {
  color: var(--muted);
  font-weight: 700;
}

.checkout-primary-city > strong {
  color: var(--petrol-dark);
  text-align: left;
  white-space: nowrap;
}

.checkout-offer {
  display: grid;
  gap: 14px;
  padding: 18px;
  color: var(--ink);
  background: #fff7e9;
  border-top: 1px solid #ebbd84;
  border-bottom: 1px solid #ebbd84;
}

.checkout-offer > p {
  margin: 0;
  color: #674516;
  font-size: 13px;
  line-height: 1.5;
}

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

.discount-tier {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #ead5b9;
  border-radius: 6px;
}

.discount-tier strong {
  color: var(--graphite);
  font-size: 21px;
}

.discount-tier span {
  font-size: 11px;
  line-height: 1.3;
}

.discount-tier.is-unlocked,
.discount-tier.is-current {
  color: #18563b;
  background: #e9f8ef;
  border-color: #88c5a3;
}

.discount-tier.is-current {
  box-shadow: inset 0 0 0 1px #27794e;
}

.discount-tier.is-current strong {
  color: #18563b;
}

.checkout-city-list {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-city-list legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.checkout-city-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.checkout-city-option:hover,
.checkout-city-option:focus-within,
.checkout-city-option.is-selected {
  background: var(--soft);
  border-color: var(--petrol);
}

.checkout-city-option input {
  width: 22px;
  min-height: 22px;
  margin: 0;
  accent-color: var(--petrol);
}

.checkout-city-copy,
.checkout-city-price {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-city-copy strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.checkout-city-copy small,
.checkout-city-price small {
  color: var(--muted);
  font-size: 12px;
}

.checkout-city-copy .checkout-city-history {
  color: var(--petrol-dark);
  font-weight: 800;
}

.checkout-city-price {
  grid-column: 2;
  justify-items: start;
  text-align: left;
  white-space: nowrap;
}

.checkout-city-price s {
  color: var(--muted);
  font-size: 12px;
}

.checkout-city-price strong {
  color: #18563b;
}

.checkout-summary {
  grid-area: summary;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-summary-line,
.checkout-summary-saving,
.checkout-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.checkout-summary-line {
  color: var(--muted);
  font-size: 14px;
}

.checkout-summary-line strong {
  color: var(--graphite);
  white-space: nowrap;
}

.checkout-summary-waitlist {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  color: #674516;
  background: #fff7e9;
  border-left: 3px solid var(--action);
  font-size: 14px;
}

.checkout-summary-waitlist strong {
  color: #674516;
  font-size: 12px;
  white-space: nowrap;
}

.checkout-summary-saving {
  padding: 10px;
  color: #18563b;
  background: #e9f8ef;
  font-size: 13px;
  font-weight: 800;
}

.checkout-summary-saving[hidden] {
  display: none;
}

.checkout-summary-total {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.checkout-summary-total strong {
  color: var(--petrol-dark);
  font-size: 26px;
  white-space: nowrap;
}

.checkout-next-tier {
  padding: 12px;
  color: #674516;
  background: #fff7e9;
  border-left: 3px solid var(--action);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-fixed-price {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-payment-fields {
  display: grid;
  gap: 14px;
}

.checkout-payment-fields input,
.checkout-payment-fields select {
  min-height: 52px;
}

.checkout-submit {
  width: 100%;
  min-height: 54px;
  font-size: 17px;
}

.checkout-security {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 920px) {
  .checkout-form {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    grid-template-areas:
      "selection summary"
      "payment summary";
    align-items: start;
    column-gap: 32px;
  }

  .checkout-summary {
    position: sticky;
    top: 24px;
  }

  .checkout-payment-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-payment-fields .full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .checkout-primary-city {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .checkout-primary-city > strong {
    text-align: right;
  }

  .checkout-city-option {
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }

  .checkout-city-price {
    grid-column: auto;
    justify-items: end;
    text-align: right;
  }
}

.form-success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--white);
  background: #1f7a4d;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(31, 122, 77, 0.18);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.form-success h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
}

.form-success p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.form-success .button {
  width: min(280px, 100%);
  margin-top: 10px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full,
.quote-router .form-status,
.quote-router .suggestions,
.quote-form button,
.partner-form button,
.quote-form .form-status,
.partner-form .form-status {
  grid-column: 1 / -1;
}

.trial-city-field {
  position: relative;
}

.trial-city-field .suggestions {
  top: calc(100% + 6px);
  z-index: 12;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 27, 28, 0.68);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92svh, 820px);
  overflow: auto;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
}

.modal-panel-success > .muted {
  display: none;
}

.modal-panel-success .form-success h3 {
  display: none;
}

.whatsapp-modal-panel {
  width: min(560px, 100%);
  text-align: center;
}

.whatsapp-modal-panel .eyebrow {
  margin-bottom: 8px;
}

.whatsapp-modal-panel > .muted {
  max-width: 460px;
  margin-right: auto;
  margin-left: auto;
}

.whatsapp-qr-frame {
  display: grid;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 22px auto 14px;
  padding: 10px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.whatsapp-qr-frame img {
  width: 100%;
  height: 100%;
}

.whatsapp-city {
  margin-bottom: 18px;
  color: var(--graphite);
  font-weight: 800;
}

.whatsapp-web-button {
  width: min(320px, 100%);
}

.whatsapp-modal-note {
  max-width: 420px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--graphite);
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.trial-terms-panel {
  width: min(620px, 100%);
}

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

.admin {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.export-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.export-links a {
  padding: 8px 10px;
  color: var(--petrol);
  background: var(--mist);
  border-radius: 6px;
  font-weight: 800;
}

.admin-filters {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-filter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.admin-filter-head h2 {
  margin: 0;
  font-size: 28px;
}

.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-filter-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.admin-filter-search {
  grid-column: span 2;
}

.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-inline-form select {
  min-width: 150px;
}

.partner-support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.partner-support-card h2,
.partner-support-card p {
  margin-bottom: 0;
}

.partner-support-card .service-microcopy {
  width: 100%;
}

.partner-support-modal {
  width: min(460px, 100%);
}

.support-request-task {
  border-left: 4px solid var(--action);
}

.support-request-task .admin-inline-form form {
  margin: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

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

.metric-grid span {
  display: grid;
  gap: 2px;
  padding: 18px;
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.76);
  border-radius: 8px;
}

.metric-grid strong {
  color: var(--white);
  font-family: var(--font-title);
  font-size: 32px;
}

.metric-grid small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.crm-summary {
  margin-bottom: 18px;
}

.crm-summary-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.crm-summary-grid span {
  display: grid;
  gap: 4px;
  min-height: 94px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crm-summary-grid strong {
  color: var(--graphite);
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.admin-storage-notice {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-storage-notice strong {
  color: var(--graphite);
}

.admin-storage-notice span {
  color: var(--muted);
}

.admin-storage-notice code {
  overflow-wrap: anywhere;
  color: var(--graphite);
  font-weight: 800;
}

.admin-storage-notice.warning {
  border-color: rgba(214, 127, 26, 0.38);
  background: #fff8ec;
}

.admin-storage-notice.ok {
  border-color: rgba(15, 76, 92, 0.26);
  background: #f2fbfc;
}

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

.admin-suppliers,
.admin-records {
  margin: 22px 0;
}

.supplier-performance {
  margin: 22px 0;
}

.supplier-performance-profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.supplier-performance-profile strong {
  color: var(--graphite);
}

.supplier-performance-profile p {
  margin: 6px 0 0;
  color: var(--muted);
}

.supplier-performance-grid,
.supplier-performance-recent {
  margin-top: 14px;
}

.admin-partner-leads {
  margin: 22px 0;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.supplier-admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form h3,
.admin-form button {
  grid-column: 1 / -1;
}

.admin-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-form-actions button {
  grid-column: auto;
}

.admin-edit-panel {
  margin-bottom: 14px;
}

.checkbox-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
}

.terms-info-button {
  display: inline-grid;
  width: 24px;
  min-height: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--graphite);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.terms-info-button:hover,
.terms-info-button:focus-visible {
  border-color: var(--action);
  color: var(--action);
}

.supplier-list-card {
  overflow-x: auto;
}

.partner-leads-card {
  overflow-x: auto;
}

.admin-table-wrap {
  overflow-x: auto;
}

.supplier-table,
.partner-leads-table,
.partner-leads-table.admin-record-table {
  min-width: 1120px;
}

.admin-record-table {
  min-width: 860px;
}

.supplier-table small,
.partner-leads-table small,
.admin-record-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.supplier-table th:last-child,
.supplier-table td:last-child,
.admin-record-table th:last-child,
.admin-record-table td:last-child {
  width: 190px;
  text-align: left;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-actions form {
  margin: 0;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-status.covered {
  color: var(--petrol-dark);
  background: var(--mist);
}

.admin-status.fallback {
  color: #7a4a0e;
  background: #fff1da;
}

.admin-status.unknown {
  color: #6f2a2a;
  background: #fff2f2;
}

.admin-status.crm-novo_lead,
.admin-status.subscription-nao_iniciada {
  color: var(--petrol-dark);
  background: var(--mist);
}

.admin-status.crm-contato_feito,
.admin-status.crm-proposta_enviada,
.admin-status.subscription-teste {
  color: #5b4a13;
  background: #fff7cf;
}

.admin-status.crm-negociando {
  color: #7a4a0e;
  background: #fff1da;
}

.admin-status.crm-fechou,
.admin-status.subscription-ativa {
  color: #18563b;
  background: #e9f8ef;
}

.admin-status.crm-perdido,
.admin-status.subscription-cancelada,
.admin-status.subscription-atrasada {
  color: #6f2a2a;
  background: #fff2f2;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  width: 96px;
  text-align: right;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--graphite);
}

.site-footer strong {
  color: var(--white);
  font-family: var(--font-title);
}

.site-footer p {
  max-width: 620px;
  margin-top: 8px;
}

.site-footer .business-id {
  color: var(--white);
  font-weight: 700;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 180px;
  color: var(--white);
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .glass-type-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .compact-grid,
  .pain-grid,
  .detail-grid,
  .city-visual-showcase,
  .editorial-service-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-service-card:first-child {
    grid-row: auto;
  }

  .visual-service-card,
  .visual-service-card:first-child img {
    min-height: 0;
  }

  .visual-service-card img {
    aspect-ratio: 16 / 9;
  }

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

  .editorial-service img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .city-columns,
  .blog-grid,
  .metric-grid,
  .crm-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  h1,
  .hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(20, 31, 32, 0.86), rgba(20, 31, 32, 0.58));
  }

  .hero-content {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .city-search {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .split,
  .city-copy,
  .city-local,
  .service-hero,
  .admin-head,
  .admin-filter-head,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-support-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .compact-grid,
  .pain-grid,
  .detail-grid,
  .city-visual-showcase,
  .editorial-service-gallery,
  .service-process .steps-grid,
  .steps-grid,
  .city-columns,
  .blog-grid,
  .metric-grid,
  .crm-summary-grid,
  .supplier-performance-profile,
  .admin-filter-grid,
  .admin-grid,
  .supplier-admin-grid,
  .admin-form,
  .quote-router,
  .quote-form,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions {
    justify-content: flex-start;
  }

  .admin-filter-search {
    grid-column: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .access-page {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .trial-page {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .access-card {
    padding: 20px;
  }

  .trial-form {
    padding: 20px;
  }

  .trial-fields-grid {
    grid-template-columns: 1fr;
  }

  .subscription-city-option {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .subscription-city-price {
    text-align: left;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .final-cta {
    width: 100%;
    padding: 28px 18px;
  }
}

@media (max-width: 640px) {
  .signup-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .signup-cta-action {
    grid-column: 2;
  }

  .quote-router > label:first-of-type {
    order: 1;
  }

  .quote-router .suggestions {
    order: 2;
    max-height: min(220px, 30svh);
  }

  .quote-router [data-route-service-field] {
    order: 3;
  }

  .quote-router .button {
    order: 4;
  }

  .quote-router .form-status {
    order: 5;
  }
}

/* Navegacao compartilhada do admin */
/* Item ativo de qualquer nav em chips (menu do admin, filtros, seletor de janela).
   Sem isto o <strong> do ativo fica sem caixa e encavala nos chips vizinhos. */
.admin-nav strong,
.export-links strong {
  padding: 8px 10px;
  color: var(--white);
  background: var(--petrol);
  border-radius: 6px;
  font-weight: 800;
}

.admin-overview-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0;
  padding: 16px 18px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 8px;
  font-weight: 700;
}

.admin-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.admin-shortcut-grid a.admin-card {
  display: block;
  color: inherit;
}

.admin-shortcut-grid a.admin-card:hover {
  border-color: var(--petrol);
}

.admin-shortcut-grid a.admin-card p {
  margin: 6px 0 0;
  font-weight: 400;
  font-size: 0.92rem;
}

/* Aba financeiro e cards de orcamento de trial */
.finance-out { color: #b91c1c; }
.finance-in { color: #15803d; }
.cluster-task-waiting { border-left: 4px solid #f59e0b; }
.cluster-task.campaign-focus {
  border-color: #0f766e;
  border-left: 6px solid #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.cluster-row-pending.campaign-focus,
.admin-record-table tr.campaign-focus {
  background: #ecfdf5;
}
.cluster-trial-budget { font-weight: 700; }

/* Fila unica de decisoes (home do /admin) */
.decision-queue { border-left: 4px solid var(--petrol); }
.decision-placar { margin-bottom: 18px; }
.decision-placar .placar-ok strong { color: #6ee7a0; }
.decision-placar .placar-ruim strong { color: #fca5a5; }
.decision-placar .placar-atencao strong { color: #fcd34d; }
.decision-bloco { margin-bottom: 18px; }
.decision-bloco h3 { margin-bottom: 10px; }
.decision-bloco h3 small { color: var(--muted); font-weight: 500; margin-left: 8px; }
.decision-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.decision-proteger { border-left: 4px solid #b91c1c; }
.decision-converter { border-left: 4px solid #f59e0b; }
.decision-expandir { border-left: 4px solid #15803d; }
.decision-valor {
  flex-shrink: 0;
  min-width: 110px;
  padding: 4px 8px;
  background: var(--graphite);
  color: var(--white);
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
}
.decision-corpo { flex: 1; min-width: 200px; }
.decision-corpo p { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.decision-acoes { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.decision-vazia { color: #15803d; font-weight: 700; }
@media (max-width: 640px) {
  .decision-item { flex-wrap: wrap; }
  .decision-acoes { flex-direction: row; }
}

/* Alarme de CAC de expansao e clusters no vermelho */
.burn-ok { border-left: 4px solid #15803d; }
.burn-atencao { border-left: 4px solid #f59e0b; }
.burn-estourado { border-left: 4px solid #b91c1c; background: #fef2f2; }
.cluster-row-deficit { background: #fef2f2; }
.cluster-verba-trial { color: #92400e; }

/* Aba expansao: faixas de acao por cidade */
.admin-record-table td.num,
.admin-record-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.faixa-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.faixa-adensar { background: #fee2e2; color: #7f1d1d; font-weight: 700; }
.faixa-ligar { background: #dcfce7; color: #166534; }
.faixa-vazamento { background: #fee2e2; color: #991b1b; }
.faixa-organico { background: #dbeafe; color: #1e40af; }
.faixa-farol { background: #fef3c7; color: #92400e; }
.faixa-captar { background: #ede9fe; color: #5b21b6; }
.faixa-neutra { background: #e5e7eb; color: #374151; }
.expansao-uf-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.expansao-uf-list li {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.88rem;
}
.cluster-cidades {
  font-size: 0.86rem;
  line-height: 1.45;
  min-width: 260px;
}
.cluster-cidades-livres { color: #6b7280; margin-top: 0.25rem; }

/* Publicos copiaveis para o Meta Ads */
.meta-ads-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.meta-ads-group {
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.meta-ads-group h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}
.meta-ads-count {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
}
.meta-ads-lista {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  resize: vertical;
  margin-bottom: 8px;
}
.adensar-card {
  background: #fef2f2;
  border: 1px solid #fdba74;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}
.adensar-card h3 { margin-bottom: 6px; }
.adensar-sub { font-size: 0.8rem; font-weight: 500; color: #92400e; margin-left: 6px; }
.adensar-card .meta-ads-lista { margin-top: 10px; }
.meta-ads-todas { margin-top: 8px; }
.meta-ads-todas summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
