:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --ink: #2f373d;
  --muted: #6d7479;
  --line: #bdc0c2;
  --brand: #058644;
  --brand-2: #9fa3a6;
  --danger: #c62828;
  --success: #0a7d36;
  --shadow: 0 16px 34px rgba(82, 90, 98, 0.16);
  --radius: 18px;
  --logo-font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at -5% -10%, rgba(159, 163, 166, 0.16), transparent 60%),
    radial-gradient(900px 400px at 105% 0%, rgba(5, 134, 68, 0.12), transparent 65%),
    var(--bg);
  background-repeat: no-repeat;
  background-color: var(--bg);
  line-height: 1.55;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.text-link {
  text-decoration: underline;
  font-weight: 500;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.global-alerts {
  margin-top: 12px;
}

.narrow {
  width: min(760px, 92vw);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(189, 192, 194, 0.85);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-symbol {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.24em;
  min-width: 0;
  white-space: nowrap;
  line-height: 1.04;
  font-size: clamp(1.02rem, 1.58vw, 1.22rem);
  font-family: var(--logo-font-family);
  font-weight: 650;
  letter-spacing: 0.004em;
}

.brand-word-reforma {
  color: var(--brand-2);
}

.brand-word-nota,
.brand-word-ten {
  color: var(--brand);
}

.brand-word-nota {
  margin-left: 0;
}

.brand-word-ten {
  margin-left: 0;
  font-weight: 650;
  letter-spacing: 0.003em;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand:focus-visible {
  outline: 2px solid rgba(5, 134, 68, 0.45);
  outline-offset: 4px;
  border-radius: 8px;
}

.brand:focus-visible .brand-copy {
  text-decoration: none;
}

.brand-copy,
.brand-symbol {
  user-select: none;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-pro-btn-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #2f373d;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-wrap.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-wrap.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #eff1f3 0%, #e1e5e8 100%);
  color: #2f373d;
  font-weight: 500;
  padding: 8px 12px;
}

.nav-pro-btn:hover {
  color: #262d32;
  text-decoration: none;
  filter: brightness(0.96);
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f2f4f5;
  color: #4e585f;
  border: 1px solid #c8cccf;
  padding: 6px 12px;
  font-size: 0.86rem;
}

.hero {
  padding: 56px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 26px;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  flex-wrap: wrap;
}

.hero-rotator {
  display: inline-flex;
  overflow: hidden;
  height: 1.1em;
  color: var(--brand);
  vertical-align: baseline;
  align-items: flex-start;
}

.hero-rotator-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-rotator-item {
  display: block;
  white-space: nowrap;
  line-height: 1.1;
}

.hero-rotator.is-sliding .hero-rotator-track {
  transform: translateY(-50%);
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 6px;
}

.register-intro {
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
}

.register-callout {
  margin: 0;
  font-size: clamp(1rem, 1.9vw, 1.37rem);
  line-height: 1.25;
  font-weight: 300;
}

.register-callout-sm {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.responsive-copy-mobile {
  display: none;
}

.responsive-copy-desktop {
  display: inline;
}

.mobile-only-break {
  display: none;
}

.desktop-only-break {
  display: block;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 16px 0 20px;
}

.hero-panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff 0%, #f5f7f7 100%);
  box-shadow: var(--shadow);
  padding: 24px;
}

.search-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.search-inline label > span {
  font-weight: 475;
}

label {
  display: grid;
  gap: 7px;
}

[hidden] {
  display: none !important;
}

label > span {
  color: var(--muted);
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

input[name="cpf"],
input[name="cnpj"] {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 12px;
  color: #aab1b6;
  pointer-events: none;
}

.input-prefix-control {
  padding-left: 28px !important;
}

.input-prefix-wrap-site .input-prefix {
  left: 12px;
  color: #aab1b6;
  font-size: 0.9rem;
}

.input-prefix-control-site {
  padding-left: 96px !important;
}

.native-select-hidden {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 11px 38px 11px 12px;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  position: relative;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6d7479;
  border-bottom: 2px solid #6d7479;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-trigger::after {
  transform: translateY(-35%) rotate(-135deg);
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 45;
  display: none;
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.custom-select.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  white-space: nowrap;
  padding: 10px 12px;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: #edf5f0;
  outline: none;
}

.custom-select-option.is-selected {
  background: #e5f4eb;
  color: #045c30;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(5, 134, 68, 0.16);
  border-color: rgba(5, 134, 68, 0.42);
}

@keyframes fieldInvalidPulse {
  0% {
    border-color: var(--line);
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
  }
  30% {
    border-color: #cf3f3f;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.18);
  }
  60% {
    border-color: #cf3f3f;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.12);
  }
  100% {
    border-color: var(--line);
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
  }
}

input.field-invalid-pulse,
select.field-invalid-pulse,
textarea.field-invalid-pulse,
.custom-select-trigger.field-invalid-pulse {
  animation: fieldInvalidPulse 0.55s ease-in-out;
}

textarea {
  resize: vertical;
}

.section {
  padding: 32px 0 50px;
}

.section .container > h1 {
  margin-bottom: 12px;
}

.section .container > h1 + .card,
.section .container > h1 + form.card,
.section .container > h1 + .card-grid,
.section .container > h1 + .table-wrap,
.section .container > h1 + .auth-entry-grid,
.section .container > p + .card,
.section .container > p + form.card,
.section .container > p + .card-grid,
.section .container > p + .table-wrap,
.section .container > .alert + .card,
.section .container > .alert + form.card,
.section .container > .alert + .card-grid,
.section .container > .alert + .table-wrap {
  margin-top: 17px;
}

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

.favorites-head {
  align-items: center;
  margin-bottom: 6px;
}

.favorites-head h1 {
  margin: 0;
}

.favorites-search-link {
  font-size: 0.96rem;
  font-weight: 600;
  white-space: nowrap;
}

.favorites-empty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.favorites-empty-row p {
  margin: 0;
}

.favorites-empty-row .btn {
  margin-left: auto;
}

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

.results-more-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.results-more-link {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 600;
  padding: 2px 6px;
  cursor: pointer;
  text-decoration: none;
}

.results-more-link:hover,
.results-more-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(13, 33, 61, 0.05);
}

.card-soft {
  background: linear-gradient(170deg, #fff 0%, #f8fbff 100%);
}

.pro-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
}

.pro-card-head h1,
.pro-card-head h2 {
  margin: 0;
  min-width: 0;
  pointer-events: none;
}

.pro-card-head h1 a,
.pro-card-head h2 a {
  pointer-events: auto;
}

.pro-card-head h2 {
  line-height: 1.25;
}

.pro-profile-head {
  align-items: center;
}

.pro-profile-head + .spec-line {
  margin: 4px 0 0;
  min-width: 0;
}

.pro-profile-head + .spec-line + .pro-location {
  margin: 2px 0 0;
}

.profile-share-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.profile-share-inline-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #43505a;
}

.profile-share-inline-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-share-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #c8cdd1;
  background: #fff;
  color: #4c5c66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.profile-share-icon-btn svg {
  width: 18px;
  height: 18px;
}

.profile-share-icon-btn:hover,
.profile-share-icon-btn:focus-visible {
  background: #f4f7f8;
  border-color: #b8c0c6;
  color: #33424d;
  text-decoration: none;
  outline: none;
}

.profile-share-icon-btn-whatsapp {
  background: #0b8f45;
  border-color: #0b8f45;
  color: #fff;
}

.profile-share-icon-btn-whatsapp:hover,
.profile-share-icon-btn-whatsapp:focus-visible {
  background: #08753a;
  border-color: #08753a;
  color: #fff;
}

.profile-share-inline-feedback {
  font-size: 0.82rem;
  flex-basis: 100%;
}

.profile-share-card h2 {
  margin-bottom: 6px;
}

.pro-dashboard-grid {
  align-items: stretch;
}

.pro-dashboard-grid > .card {
  display: flex;
  flex-direction: column;
}

.pro-dashboard-card-profile,
.pro-dashboard-card-share,
.pro-dashboard-card-ranking,
.pro-dashboard-card-leads {
  min-width: 0;
}

.pro-dashboard-profile-info {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}

.pro-dashboard-info-line {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.pro-dashboard-info-line strong {
  white-space: nowrap;
}

.pro-dashboard-info-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-dashboard-grid > .card .card-actions {
  margin-top: auto;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.pro-dashboard-grid > .card .card-actions .btn {
  width: 100%;
  min-height: 44px;
}

.pro-dashboard-logout-row {
  justify-content: flex-start;
}

.pro-dashboard-logout-link,
.pro-dashboard-logout-link:hover,
.pro-dashboard-logout-link:focus-visible {
  color: #6d7479;
  text-decoration: none;
}

.profile-share-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.profile-share-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #32414a;
  font: inherit;
}

.profile-share-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.profile-share-whatsapp .btn-icon {
  width: 16px;
  height: 16px;
}

.profile-share-actions .btn {
  width: 100%;
  min-height: 44px;
}

.profile-share-copy-icon-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
}

.profile-share-copy-icon-btn .btn-icon {
  width: 18px;
  height: 18px;
}

.profile-share-feedback {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 0.86rem;
}

.pro-dashboard-grid .profile-share-card .profile-share-feedback {
  text-align: right;
  margin: 0 0 6px;
  min-height: 0;
}

.pro-dashboard-grid .profile-share-card .profile-share-feedback:empty {
  display: none;
}

.pro-dashboard-grid .profile-share-card .profile-share-link-row {
  margin-top: 0;
}

.pro-dashboard-grid .profile-share-card .profile-share-actions {
  margin-top: 10px;
}

.pro-ranking-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: #c8ded0;
  background:
    radial-gradient(120% 90% at 92% -12%, rgba(43, 170, 92, 0.24), transparent 60%),
    linear-gradient(160deg, #ffffff 0%, #f1fbf5 100%);
  background-clip: padding-box;
}

.pro-ranking-card::after {
  content: none;
}

.pro-ranking-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 100%;
}

.pro-ranking-main-head,
.pro-ranking-intro,
.pro-ranking-main,
.pro-ranking-side {
  position: relative;
  min-width: 0;
}

.pro-ranking-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
}

.pro-ranking-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  padding-right: 112px;
}

.pro-ranking-head h2 {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.pro-ranking-subtitle {
  margin: 0 0 3px;
  font-size: 0.9rem;
}

.pro-ranking-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f9c52 0%, #0a7f42 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 10px 20px rgba(10, 127, 66, 0.28);
}

.pro-ranking-badge .btn-icon {
  width: 18px;
  height: 18px;
}

.pro-ranking-score-wrap {
  margin-top: 4px;
}

.pro-ranking-score {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #0f7040;
}

.pro-ranking-score strong {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1;
}

.pro-ranking-score-separator,
.pro-ranking-score-total {
  font-size: 1rem;
  color: #456856;
  font-weight: 600;
  line-height: 1;
}

.pro-ranking-score-separator {
  min-width: 0.6ch;
  text-align: center;
}

.pro-ranking-score-copy {
  margin: 2px 0 0;
  font-size: 0.86rem;
}

.pro-ranking-score-panel {
  border: 1px solid #cde0d1;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px 10px 10px;
}

.pro-ranking-score-panel-title {
  margin: 0;
  font-size: 0.78rem;
  color: #567363;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pro-ranking-score-panel .pro-ranking-score-wrap {
  margin-top: 4px;
}

.pro-ranking-score-panel .pro-ranking-progress {
  margin-top: 8px;
}

.pro-ranking-progress {
  position: relative;
  height: 11px;
  margin-top: 10px;
  border-radius: 999px;
  background: #d8efdd;
  overflow: hidden;
}

.pro-ranking-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #20b15f 0%, #068544 100%);
}

.pro-ranking-hint {
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.pro-ranking-specialty-picker {
  margin-top: 0;
  margin-bottom: 8px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.pro-ranking-specialty-picker-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.76rem;
  color: #5d6e64;
  font-weight: 500;
  line-height: 1.2;
}

.pro-ranking-specialty-picker-select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cde0d1;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
  color: #234237;
  font: inherit;
}

.pro-ranking-stats {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.pro-ranking-stat {
  border: 1px solid #cde0d1;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px 9px;
  display: grid;
  gap: 3px;
}

.pro-ranking-stat span {
  font-size: 0.76rem;
  color: #5d6e64;
  line-height: 1.2;
}

.pro-ranking-stat strong {
  font-size: 0.94rem;
  color: #1f5940;
}

.pro-ranking-missions-wrap {
  margin-top: 12px;
}

.pro-ranking-missions-title {
  margin: 0;
  font-size: 0.86rem;
  color: #2f5241;
  font-weight: 600;
  line-height: 1.4;
}

.pro-ranking-missions-note {
  margin: 2px 0 8px;
  font-size: 0.78rem;
  color: #98a3a0;
}

.pro-ranking-missions {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  color: #466154;
  font-size: 0.84rem;
}

.pro-ranking-missions li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #d4e5d8;
  border-radius: 10px;
  background: #fff;
  padding: 7px 8px;
}

.pro-ranking-missions li span {
  min-width: 0;
}

.pro-ranking-mission-field-link,
.pro-ranking-mission-field-link:hover,
.pro-ranking-mission-field-link:focus-visible {
  color: #0d7f45;
  text-decoration: underline;
  font-weight: 600;
  white-space: normal;
}

.pro-ranking-mission-point {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #8fd0a8;
  background: #eafff1;
  color: #0e7a43;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  white-space: nowrap;
}

.pro-ranking-complete {
  margin: 12px 0 0;
  border: 1px solid #c9e9d3;
  border-radius: 11px;
  background: #ebfff1;
  color: #13683a;
  font-size: 0.86rem;
  padding: 8px 10px;
}

.pro-ranking-complete-note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

[id^="field-"]:target {
  scroll-margin-top: 110px;
  outline: 2px solid rgba(5, 134, 68, 0.42);
  outline-offset: 2px;
}

.pro-ranking-terms-link,
.pro-ranking-terms-link:hover,
.pro-ranking-terms-link:focus-visible {
  display: inline-block;
  color: #6d7479;
  text-decoration: none;
  font-size: 0.84rem;
}

.pro-ranking-terms-link-corner {
  position: absolute;
  top: 6px;
  right: 0;
  margin-top: 0;
  z-index: 3;
  padding: 2px 0 4px 8px;
  text-align: right;
}

@media (min-width: 861px) {
  .pro-ranking-layout {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
    grid-template-areas:
      "head head"
      "intro intro"
      "main side";
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
  }
  .pro-ranking-layout > .pro-ranking-main-head {
    grid-area: head;
  }
  .pro-ranking-layout > .pro-ranking-intro {
    grid-area: intro;
  }
  .pro-ranking-layout > .pro-ranking-main {
    grid-area: main;
    padding-right: 2px;
  }
  .pro-ranking-layout > .pro-ranking-side {
    grid-area: side;
    align-self: start;
    border-left: 1px dashed #c9ddd0;
    padding-left: 12px;
    padding-top: 0;
  }
}

@media (min-width: 981px) {
  .pro-dashboard-card-profile .card-actions {
    padding-top: 8px;
  }
  .pro-dashboard-grid-rank-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pro-dashboard-grid-rank-layout .pro-dashboard-card-profile {
    grid-column: 1;
    grid-row: 1;
    min-height: 248px;
  }
  .pro-dashboard-grid-rank-layout .pro-dashboard-card-share {
    grid-column: 1;
    grid-row: 2;
    min-height: 248px;
  }
  .pro-dashboard-grid-rank-layout .pro-dashboard-card-ranking {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
  }
  .pro-dashboard-grid-rank-layout.has-leads .pro-dashboard-card-leads {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.favorite-heart-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #ccd0d3;
  background: #ffffff;
  color: #8f979d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.favorite-heart-btn:hover,
.favorite-heart-btn:focus-visible {
  background: #f7f9fa;
  border-color: #b8bec4;
  color: #65727b;
  transform: translateY(-1px);
  outline: none;
}

.favorite-heart-btn.is-favorited {
  color: #058644;
  border-color: rgba(5, 134, 68, 0.45);
  background: rgba(5, 134, 68, 0.08);
}

.favorite-heart-btn:disabled,
.favorite-heart-btn[data-loading="1"],
.favorite-heart-btn[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.favorite-heart-icon {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.favorite-heart-icon * {
  pointer-events: none;
}

.favorite-heart-icon .heart-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.favorite-heart-icon .heart-fill {
  fill: currentColor;
  opacity: 0;
  transform: scale(0.92);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.favorite-heart-btn.is-favorited .heart-outline {
  opacity: 0;
}

.favorite-heart-btn.is-favorited .heart-fill {
  opacity: 1;
  transform: scale(1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-mask {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact-mask span,
.contact-mask-chip {
  font-size: 0.9rem;
  border: 2px dotted #ccd0d3;
  border-radius: 12px;
  padding: 7px 12px;
  color: #3f4e60;
  background: #ffffff;
}

.contact-mask-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.contact-mask-chip:hover,
.contact-mask-chip:focus-visible {
  border-color: #97a8c0;
  background: #f8fbff;
  outline: none;
}

.contact-mask-chip--revealed {
  border-style: solid;
  border-color: #97cdae;
  color: #1a6036;
}

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

.spec-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-pro-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-pro-card .spec-line {
  margin: 8px 0 0;
  min-width: 0;
}

.home-pro-card .spec-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-location {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.home-pro-card .card-actions {
  margin-top: 8px;
  padding-top: 0;
}

.home-pro-card .card-actions .btn {
  width: 100%;
  min-height: 44px;
  white-space: nowrap;
}

.pro-about {
  min-height: 54px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #058644 0%, #06934b 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(5, 134, 68, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 10px 22px rgba(5, 134, 68, 0.32);
}

.btn-find {
  height: 44px;
  padding: 10px 12px;
  gap: 6px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(5, 134, 68, 0.18);
}

.btn-find:hover {
  box-shadow: 0 8px 16px rgba(5, 134, 68, 0.24);
}

.btn-find .btn-icon {
  width: 16px;
  height: 16px;
  opacity: 0.78;
}

.search-inline .btn-find,
.filters .btn-find {
  align-self: end;
}

.btn-ghost {
  background: #f3f5f6;
  border-color: #ccd0d3;
  color: #3e4b54;
}

.btn-danger {
  background: #ffe8e8;
  border-color: #ffd2d2;
  color: #971b1b;
}

.btn-small {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
}

.hero-actions,
.actions-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pro-edit-actions {
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

.pro-edit-actions .btn-primary {
  margin-left: auto;
}

.pro-edit-top-back {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

.pro-edit-top-back,
.pro-edit-top-back:hover,
.pro-edit-top-back:focus-visible {
  color: #6d7479;
  text-decoration: none;
}

.terms-consent {
  margin-top: 2px;
}

.terms-checkbox {
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.terms-checkbox span {
  font-size: 0.8125rem;
}

.terms-checkbox input {
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

.terms-checkbox a {
  text-decoration: underline;
}

.client-register-terms-row {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(184px, 1fr);
  gap: 12px;
  align-items: end;
}

.client-register-terms-row .terms-consent {
  margin-top: 0;
}

.client-register-actions {
  justify-content: flex-end;
  margin-top: 0;
  align-self: end;
}

.client-register-submit {
  min-width: 184px;
  padding: 12px 18px;
}

.reveal-submit-actions {
  justify-content: flex-end;
}

.reveal-submit-btn {
  min-width: 154px;
}

.reveal-footnote {
  margin: 0;
  font-size: 0.9rem;
}

.list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.legal-copy {
  display: grid;
  gap: 10px;
}

.legal-copy h2 {
  margin: 8px 0 2px;
  font-size: 1.02rem;
}

.legal-copy p {
  margin: 0;
}

.legal-copy .list {
  margin: 0;
}

.about-page,
.contact-page {
  display: grid;
  gap: 14px;
}

.about-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4f5961;
}

.about-hero {
  display: grid;
  gap: 10px;
  background:
    linear-gradient(132deg, rgba(5, 134, 68, 0.08) 0%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(178deg, #ffffff 0%, #f6faf7 100%);
}

.about-hero h1,
.contact-hero h1 {
  margin: 0;
  line-height: 1.2;
}

.about-hero h1 {
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  letter-spacing: -0.012em;
}

.about-hero .muted,
.contact-hero .muted {
  margin: 0;
}

.about-story {
  display: grid;
  gap: 10px;
}

.about-story p {
  margin: 0;
}

.about-pillars {
  display: grid;
  gap: 8px;
}

.about-pillars h2 {
  margin: 0;
}

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

.about-pillar {
  border: 1px solid rgba(189, 192, 194, 0.82);
  border-radius: 14px;
  background: #fff;
  padding: 12px 12px 11px;
}

.about-pillar h3 {
  margin: 0 0 4px;
  font-size: 0.97rem;
}

.about-pillar p {
  margin: 0;
  color: #4f5961;
  font-size: 0.92rem;
}

.contact-hero {
  display: grid;
  gap: 12px;
  background:
    radial-gradient(420px 150px at -12% -20%, rgba(5, 134, 68, 0.14), transparent 68%),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.contact-actions {
  margin-top: 2px;
  justify-content: flex-start;
}

.contact-whatsapp-btn {
  min-height: 46px;
  min-width: 240px;
}

.contact-whatsapp-btn .btn-icon {
  width: 18px;
  height: 18px;
}

@media (min-width: 981px) {
  .contact-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 22px;
    align-items: center;
  }
  .contact-hero > .about-kicker,
  .contact-hero > h1,
  .contact-hero > .muted {
    grid-column: 1;
  }
  .contact-hero > .contact-actions {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-content: flex-end;
    margin-top: 0;
  }
}

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

.metric {
  margin: 8px 0 0;
  font-size: 2rem;
  font-weight: 700;
}

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

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

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

.account-inline-row {
  display: grid;
  gap: 6px;
}

.account-inline-label {
  font-size: 0.92rem;
  color: #4f5e67;
  font-weight: 600;
}

.account-inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.account-inline-control input:disabled {
  background: #f4f6f5;
  color: #5d6970;
  border-color: #d3dbd7;
}

.account-inline-edit {
  min-height: 42px;
}

.account-inline-save {
  min-width: 42px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #0b8f45;
  background: #0b8f45;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
}

.account-inline-save:hover,
.account-inline-save:focus-visible {
  background: #08753a;
  border-color: #08753a;
  color: #fff;
}

.account-inline-row.is-editing input {
  border-color: #7cc99d;
  box-shadow: 0 0 0 3px rgba(11, 143, 69, 0.11);
}

.otp-verify-form {
  grid-template-columns: 1fr;
  gap: 10px;
}

.otp-verify-submit {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.95rem;
}

.otp-resend-form {
  margin-top: 10px;
}

.otp-resend-link {
  border: 0;
  background: transparent;
  color: #5a666d;
  font: inherit;
  font-size: 0.92rem;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.otp-resend-link:hover,
.otp-resend-link:focus-visible {
  color: #2f4049;
}

.otp-resend-link-plain,
.otp-resend-link-plain:hover,
.otp-resend-link-plain:focus-visible {
  text-decoration: none;
}

.form-grid.is-register-wizard {
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
  overflow: visible;
}

.form-grid.is-register-wizard [data-register-step] {
  display: none;
}

.form-grid.is-register-wizard [data-register-step].is-current-step {
  display: grid;
}

.form-grid.is-register-wizard fieldset[data-register-step].is-current-step {
  display: block;
}

.form-grid.is-register-wizard label[data-register-step] > span,
.form-grid.is-register-wizard fieldset[data-register-step] > legend {
  display: none;
}

.form-grid.is-register-wizard [data-register-helper] {
  display: none;
}

.form-grid.is-register-wizard [data-register-classic-actions] {
  display: none;
}

.register-login-link {
  margin: 0 0 12px;
  text-align: right;
}

.register-login-link-left {
  text-align: left;
}

.register-login-link .text-link,
.register-login-link .text-link:hover,
.register-login-link .text-link:focus-visible {
  text-decoration: none;
}

.pro-register-meta {
  border: 1px solid #dce2df;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #f3f9f4 100%);
  padding: 12px 14px;
}

.pro-register-counter {
  margin: 0 0 4px;
  font-size: 0.86rem;
}

.pro-register-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.pro-register-title {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
}

.pro-register-required {
  color: #8f989e;
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.35;
}

.pro-register-kind {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: pre-line;
}

.pro-register-kind .password-rules {
  margin-top: 0;
}

.pro-register-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  margin-top: 2px;
}

.pro-register-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #d5dade;
  background: #f2f4f6;
  color: #3f4b53;
  font-size: 1.02rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(23, 33, 48, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pro-register-back-btn:hover {
  transform: translateY(-1px);
  border-color: #b8c2c9;
  background: #ecf0f3;
  box-shadow: 0 6px 12px rgba(23, 33, 48, 0.12);
}

.pro-register-back-btn:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pro-register-next-btn {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  min-width: 140px;
  margin-left: 0;
}

.pro-register-skip {
  grid-column: 3;
  grid-row: 2;
  width: auto;
  justify-self: center;
  margin: 0;
  border: 0;
  background: transparent;
  color: #5e6860;
  font: inherit;
  font-size: 0.84rem;
  text-decoration: none;
  padding: 2px 6px;
  text-align: center;
  cursor: pointer;
}

.pro-register-skip:hover {
  color: #32433a;
}

.password-rules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 12px;
  margin-top: 8px;
  color: #6b7276;
  font-size: 0.8rem;
  line-height: 1.3;
}

.password-rules span {
  position: relative;
  padding-left: 18px;
  min-width: 0;
  white-space: nowrap;
}

.password-rules span::before {
  content: "\2022";
  position: absolute;
  left: 6px;
  top: 0;
  color: #97a0a6;
}

.password-rules span.is-valid {
  color: #167942;
}

.password-rules span.is-valid::before {
  content: "\2713";
  left: 2px;
  color: #1b8b4b;
}

.pro-register-progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  transform: none;
  z-index: 35;
  background: #effaf1;
  border-top: 1px solid #c7eacb;
  box-shadow: 0 14px 28px rgba(10, 38, 18, 0.16);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

.pro-register-progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: #d8f0dd;
  overflow: visible;
}

.pro-register-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #62d278 0%, #36bc59 100%);
  transition: width 0.25s ease;
}

.pro-register-progress-text {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  margin: 0;
  color: #276033;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-100%);
  transition: left 0.25s ease;
  pointer-events: none;
}

body.has-register-progress {
  padding-bottom: 88px;
}

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

.auth-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.auth-security-hint {
  margin: 0 0 12px;
}

.auth-login-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.auth-forgot-link {
  margin-right: auto;
  color: #5a666d;
  font-size: 0.9rem;
  text-decoration: none;
}

.auth-forgot-link:hover,
.auth-forgot-link:focus-visible {
  color: #2f4049;
  text-decoration: underline;
}

.auth-login-submit {
  min-width: 162px;
  padding: 12px 20px;
  font-size: 1rem;
}

.admin-auth-submit {
  width: 100%;
  min-height: 46px;
  justify-self: stretch;
  padding: 11px 14px;
  font-size: 0.96rem;
}

.admin-auth-form .admin-auth-submit {
  align-self: end;
}

.install-actions {
  margin: 10px 0 0;
}

.install-cta-btn {
  min-width: 196px;
  justify-content: center;
}

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

.auth-entry-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.person-type-fieldset,
.specialties-fieldset,
.terms-fieldset {
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.person-type-fieldset {
  padding: 10px 12px;
}

.person-type-fieldset legend,
.specialties-fieldset legend,
.terms-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cfd3d6;
  border-radius: 999px;
  background: #f5f7f8;
  color: #3e4b54;
  padding: 7px 10px;
  cursor: pointer;
}

.choice-chip input {
  width: auto;
  margin: 0;
}

.choice-chip input[type="radio"] {
  accent-color: var(--brand);
}

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

.check-grid .checkbox {
  margin: 0;
  border: 1px solid #e2e5e7;
  border-radius: 12px;
  padding: 7px 9px;
  background: #fff;
}

.specialties-fieldset .checkbox input[type="checkbox"] {
  accent-color: var(--brand);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox input {
  width: auto;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 10px 11px;
  border-bottom: 1px solid #edf1f6;
  vertical-align: top;
}

th {
  font-size: 0.85rem;
  color: #4f5961;
  background: #f5f7f7;
}

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

.tabs {
  display: inline-flex;
  gap: 4px;
  background: #f2f4f5;
  border: 1px solid #cdd1d4;
  border-radius: 12px;
  padding: 4px;
  margin: 0 0 12px;
}

.tab {
  padding: 8px 12px;
  border-radius: 8px;
  color: #4a555d;
}

.tab.active {
  background: #ffffff;
  border: 1px solid #cfd3d6;
}

.alert {
  border-radius: 14px;
  border: 1px solid;
  padding: 10px 12px;
  margin: 0 0 12px;
}

.alert-error {
  background: #fff0f0;
  border-color: #ffd3d3;
  color: #8a1a1a;
}

.alert-success {
  background: #ebfff1;
  border-color: #c7efd4;
  color: #0d6c30;
}

.alert-info {
  background: #eef8f2;
  border-color: #cce6d7;
  color: #1f6440;
}

.site-footer {
  margin-top: 0;
  border-top: 1px solid rgba(221, 225, 232, 0.9);
  background: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-disclaimer {
  padding: 0 0 14px;
}

.footer-disclaimer p {
  margin: 0;
  color: #7d878e;
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-brand-legal {
  display: block;
  margin-top: 6px;
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(243, 245, 246, 0.98);
  border-top: 1px solid #cdd2d6;
  box-shadow: 0 -10px 28px rgba(33, 44, 56, 0.16);
}

body.has-cookie-consent-banner {
  padding-bottom: 108px;
}

.cookie-consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.cookie-consent-copy strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-consent-copy p {
  margin: 0;
  color: #5d6971;
  font-size: 0.9rem;
  line-height: 1.42;
}

.cookie-consent-secondary-line {
  display: block;
}

.cookie-consent-actions,
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-cookie-gray {
  border: 1px solid #bfc6cc;
  border-radius: 11px;
  background: linear-gradient(135deg, #eff2f4 0%, #e1e6ea 100%);
  color: #3a4750;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  padding: 11px 14px;
  min-height: 40px;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.cookie-consent-actions [data-cookie-action="open-settings"],
.cookie-consent-actions [data-cookie-action="reject-all"] {
  background: linear-gradient(135deg, #f7f9fa 0%, #f1f4f6 100%);
  border-color: #d5dbe0;
  color: #5f6a72;
  font-weight: 300;
}

.cookie-consent-actions [data-cookie-action="accept-all"] {
  background: linear-gradient(135deg, #effaf1 0%, #e5f4eb 100%);
  border-color: #08753a;
  color: #0d6c30;
}

.btn-cookie-gray:hover,
.btn-cookie-gray:focus-visible {
  filter: brightness(0.98);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(78, 89, 99, 0.2);
  outline: none;
}

.cookie-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 27, 37, 0.48);
}

.cookie-settings-card {
  width: min(640px, 100%);
  border-radius: 18px;
  border: 1px solid #ccd2d7;
  background: #fff;
  box-shadow: 0 20px 46px rgba(20, 30, 41, 0.24);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.cookie-settings-card h2 {
  margin: 0;
}

.cookie-settings-card .muted {
  margin: 0;
}

.cookie-settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid #dee3e7;
  border-radius: 12px;
  background: #fbfcfc;
  padding: 10px 12px;
}

.cookie-settings-row strong {
  display: block;
}

.cookie-settings-row p {
  margin: 4px 0 0;
  color: #5e6971;
  font-size: 0.88rem;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4b5860;
  font-size: 0.86rem;
  white-space: nowrap;
}

.cookie-toggle input {
  width: auto;
  margin: 0;
  accent-color: #6a757d;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(14, 18, 27, 0.58);
  z-index: 50;
}

.modal.show {
  display: flex;
}

.modal-dialog {
  width: min(540px, 100%);
  background: #fff;
  border-radius: 20px;
  border: 1px solid #d9e2ee;
  box-shadow: 0 24px 60px rgba(6, 20, 38, 0.3);
  position: relative;
  animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content {
  padding: 22px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef2f8;
  cursor: pointer;
  font-size: 1.25rem;
}

#toast-root {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: grid;
  gap: 8px;
}

.toast {
  min-width: 240px;
  max-width: 340px;
  border-radius: 12px;
  border: 1px solid #d4deeb;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px 12px;
  animation: toastIn 0.2s ease-out;
}

.toast-error {
  border-color: #f0bebe;
  background: #fff4f4;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

.mt-16 {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .search-inline {
    grid-template-columns: 1fr 1fr;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pro-ranking-layout {
    grid-template-columns: 1fr;
  }
  .pro-ranking-layout > .pro-ranking-main-head,
  .pro-ranking-layout > .pro-ranking-intro,
  .pro-ranking-layout > .pro-ranking-main,
  .pro-ranking-layout > .pro-ranking-side {
    grid-column: auto;
    grid-row: auto;
  }
  .pro-ranking-layout > .pro-ranking-side {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .hero-grid,
  .card-grid,
  .form-grid,
  .auth-split-grid,
  .auth-entry-grid,
  .search-inline,
  .filters {
    grid-template-columns: 1fr;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .client-register-terms-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .client-register-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .client-register-submit {
    width: 100%;
    min-width: 0;
  }
  form[data-professional-register-wizard="1"] .person-type-fieldset {
    padding: 10px 10px 8px;
  }
  form[data-professional-register-wizard="1"] fieldset[data-register-step="person_type"].is-current-step {
    display: flex;
    flex-direction: column;
    padding: 10px;
    min-height: 0;
    height: auto;
  }
  form[data-professional-register-wizard="1"] .person-type-fieldset .choice-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    align-content: normal;
  }
  form[data-professional-register-wizard="1"] .person-type-fieldset .choice-chip {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    margin: 0;
    padding: 9px 12px;
  }
  form[data-professional-register-wizard="1"] .person-type-fieldset .choice-chip span {
    display: inline-block;
    width: auto;
    text-align: left;
  }
  form[data-professional-register-wizard="1"] .person-type-fieldset .choice-chip input[type="radio"] {
    accent-color: var(--brand);
  }
  .pro-edit-top-back {
    display: inline-flex;
    align-items: center;
  }
  .pro-edit-actions {
    justify-content: stretch;
  }
  .pro-edit-actions .btn-primary {
    width: 100%;
    margin-left: 0;
  }
  .pro-delete-actions {
    justify-content: stretch;
  }
  .pro-delete-actions .btn-danger {
    width: 100%;
  }
  .favorites-head {
    align-items: flex-end;
  }
  .favorites-search-link {
    font-size: 0.92rem;
  }
  .favorites-empty-row {
    flex-direction: column;
    align-items: stretch;
  }
  .favorites-empty-row .btn {
    align-self: flex-end;
  }
  .profile-share-inline {
    row-gap: 6px;
  }
  .profile-share-inline-actions {
    margin-left: auto;
  }
  .profile-share-inline-feedback {
    flex-basis: 100%;
  }
  .profile-share-link-row {
    grid-template-columns: 1fr;
  }
  .profile-share-link-row .btn {
    width: 100%;
  }
  .pro-dashboard-grid .profile-share-link-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .pro-dashboard-grid .profile-share-link-row .profile-share-copy-icon-btn {
    width: 44px;
    min-width: 44px;
  }
  .pro-dashboard-grid .profile-share-link-row .profile-share-copy-icon-btn .btn-icon {
    width: 18px;
    height: 18px;
  }
  .profile-share-whatsapp {
    width: 100%;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-hero h1 {
    font-size: clamp(1.3rem, 5.7vw, 1.58rem);
    line-height: 1.16;
  }
  .about-pillar {
    padding: 11px 11px 10px;
  }
  .contact-whatsapp-btn {
    width: 100%;
    min-width: 0;
  }
  .install-cta-btn {
    width: 100%;
    min-width: 0;
  }
  .pro-dashboard-grid > .card .card-actions {
    margin-top: 14px;
  }
  .pro-dashboard-grid-rank-layout .pro-dashboard-card-ranking {
    order: -1;
  }
  .pro-ranking-stats {
    grid-template-columns: 1fr;
  }
  .pro-ranking-missions li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .pro-ranking-mission-point {
    justify-self: end;
  }
  .pro-ranking-head {
    padding-right: 84px;
  }
  .pro-ranking-side {
    padding-top: 0;
  }
  .pro-ranking-terms-link-corner {
    position: absolute;
    top: 6px;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
  }
  .form-grid.is-register-wizard input,
  .form-grid.is-register-wizard select,
  .form-grid.is-register-wizard textarea {
    scroll-margin-top: 110px;
    scroll-margin-bottom: 220px;
  }
  .custom-select-menu.is-scrollable {
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: rgba(93, 104, 112, 0.48) rgba(18, 28, 36, 0.08);
    -webkit-overflow-scrolling: touch;
  }
  .custom-select-menu.is-scrollable::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 2px;
    width: 3px;
    height: 30px;
    border-radius: 999px;
    background: rgba(93, 104, 112, 0.38);
    pointer-events: none;
  }
  .custom-select-menu.is-scrollable::-webkit-scrollbar {
    width: 5px;
  }
  .custom-select-menu.is-scrollable::-webkit-scrollbar-track {
    background: rgba(18, 28, 36, 0.08);
    border-radius: 999px;
  }
  .custom-select-menu.is-scrollable::-webkit-scrollbar-thumb {
    background: rgba(93, 104, 112, 0.48);
    border-radius: 999px;
  }
  .nav-wrap {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 74px;
    align-items: center;
    padding: 10px 12px;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }
  .brand-symbol {
    width: 30px;
    height: 30px;
  }
  .brand-copy {
    font-size: clamp(1rem, 4vw, 1.14rem);
    letter-spacing: 0;
    gap: 0.2em;
  }
  .nav-actions {
    display: inline-flex;
  }
  .nav-pro-btn-mobile {
    display: inline-flex;
    width: auto;
    min-height: 40px;
    font-size: 0.86rem;
    line-height: 1;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    border: 1px solid rgba(189, 192, 194, 0.95);
    border-radius: 14px;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-wrap.nav-open .nav-links {
    display: flex;
  }
  .nav-links a,
  .nav-links .pill {
    width: 100%;
    border-radius: 10px;
    padding: 9px 10px;
  }
  .nav-links .pill {
    justify-content: flex-start;
    margin: 2px 0;
    padding: 8px 10px;
  }
  .nav-links .nav-pro-btn {
    display: none;
  }
  .site-footer {
    background: #f3f5f6;
  }
  main {
    min-height: calc(100vh - 74px + 1px);
    min-height: calc(100svh - 74px + 1px);
    background: var(--bg);
  }
  .footer-grid {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0 8px;
    gap: 6px;
  }
  .footer-grid p,
  .footer-links a,
  .footer-disclaimer p {
    color: #6d7479;
  }
  .footer-links a:hover,
  .footer-links a:focus-visible {
    color: #4f5961;
  }
  .footer-disclaimer {
    padding: 0 0 12px;
  }
  .footer-disclaimer p {
    text-align: left;
  }
  .footer-disclaimer br {
    display: none;
  }
  .cookie-consent-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.has-cookie-consent-banner {
    padding-bottom: 220px;
  }
  .cookie-consent-actions,
  .cookie-settings-actions {
    width: 100%;
  }
  .cookie-consent-actions .btn-cookie-gray,
  .cookie-settings-actions .btn-cookie-gray {
    flex: 1 1 100%;
    width: 100%;
  }
  .cookie-consent-actions [data-cookie-action="accept-all"] {
    order: 1;
  }
  .cookie-consent-actions [data-cookie-action="open-settings"] {
    order: 2;
  }
  .cookie-consent-actions [data-cookie-action="reject-all"] {
    order: 3;
  }
  .cookie-consent-secondary-line {
    display: inline;
  }
  .cookie-settings-card {
    width: min(680px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
  }
  .cookie-settings-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .responsive-copy-mobile {
    display: inline;
  }
  .responsive-copy-desktop {
    display: none;
  }
  .mobile-only-break {
    display: block;
  }
  .desktop-only-break {
    display: none;
  }
  .home-search-empty-intro {
    display: none;
  }
  .register-intro-mobile-hide {
    display: none;
  }
  .pro-register-kind {
    white-space: normal;
  }
  .pro-register-nav {
    column-gap: 8px;
    row-gap: 6px;
  }
  .pro-register-next-btn {
    min-width: 120px;
  }
  .pro-register-skip {
    text-align: center;
  }
  .password-rules {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .pro-register-progress {
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  }
  .pro-register-progress-text {
    font-size: 0.8rem;
  }
}

.home-pro-card .pro-about {
  min-height: 0;
  margin: 4px 0 0;
}

.home-pro-card .contact-mask {
  margin-top: 8px;
}
