:root {
  --color-yellow: #ffc400;
  --color-yellow-light: #ffd84d;
  --color-black: #0a0a0a;
  --color-dark-gray: #2a2a2a;
  --color-white: #ffffff;
  --color-light-gray: #eaeaea;
  --forest-950: var(--color-black);
  --forest-900: var(--color-black);
  --forest-800: var(--color-dark-gray);
  --forest-700: var(--color-black);
  --forest-100: #fff4c2;
  --forest-50: #f7f7f7;
  --gold-500: var(--color-yellow);
  --gold-400: var(--color-yellow-light);
  --gold-100: #fff6cc;
  --ink: var(--color-black);
  --muted: #656565;
  --line: var(--color-light-gray);
  --surface: var(--color-white);
  --canvas: #f6f6f6;
  --success: var(--color-black);
  --blue: var(--color-dark-gray);
  --warning: #8a6900;
  --gray: #777777;
  --danger: #8d3535;
  --shadow-sm: 0 8px 28px rgba(10, 10, 10, 0.07);
  --shadow-md: 0 22px 64px rgba(10, 10, 10, 0.13);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(255, 196, 0, 0.24);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 188px;
  height: 52px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--color-yellow);
}

.nav-login-link {
  display: none;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--color-white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  transition: 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.button-primary {
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: 0 10px 26px rgba(255, 196, 0, 0.24);
}

.button-primary:hover {
  background: var(--color-yellow-light);
  box-shadow: 0 14px 34px rgba(255, 196, 0, 0.32);
}

.button-gold {
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: 0 10px 26px rgba(255, 196, 0, 0.26);
}

.button-white {
  background: #fff;
  color: var(--color-black);
}

.button-outline {
  border-color: var(--color-yellow);
  background: transparent;
  color: var(--color-black);
}

.button-ghost {
  border-color: rgba(255, 196, 0, 0.42);
  background: transparent;
  color: var(--color-white);
}

.professional-card .button-ghost,
.profile-sidebar .button-ghost,
.directory-controls .button-ghost,
.empty-state .button-ghost,
.dashboard-card .button-ghost {
  border-color: var(--line);
  background: var(--color-white);
  color: var(--color-black);
}

.button-muted {
  border-color: var(--line);
  background: #f1f4f3;
  color: var(--gray);
  cursor: not-allowed;
}

.button-danger {
  border-color: #efd7d7;
  background: #fff7f7;
  color: var(--danger);
}

.button-block {
  width: 100%;
}

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

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow-container {
  width: min(800px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-compact {
  padding: 54px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.section-heading h2,
.page-heading h1 {
  margin: 0;
  color: var(--forest-950);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 196, 0, 0.2), transparent 27%),
    linear-gradient(120deg, #0a0a0a 0%, #151515 58%, #2a2a2a 100%);
  color: #fff;
}

.hero::before {
  position: absolute;
  right: -12%;
  bottom: -45%;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255, 255, 255, 0.025), 0 0 0 150px rgba(255, 255, 255, 0.02);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 70px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #eaeaea;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-tag::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 5px rgba(255, 196, 0, 0.16);
  content: "";
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--color-yellow);
}

.hero-copy > p {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d9d9d9;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
  color: #eaeaea;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.15);
  color: var(--color-yellow);
  content: "✓";
  font-size: 0.72rem;
}

.search-preview {
  position: relative;
  padding: 25px;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 28px;
  background: rgba(42, 42, 42, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  color: var(--color-white);
}

.search-preview::before {
  position: absolute;
  top: -18px;
  right: 24px;
  display: grid;
  min-height: 36px;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-black);
  content: "6 profissionais perto de você";
  font-size: 0.72rem;
  font-weight: 900;
}

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

.preview-head strong {
  color: var(--color-white);
  font-size: 1.08rem;
}

.preview-head span {
  color: #c8c8c8;
  font-size: 0.76rem;
}

.preview-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.preview-filter {
  padding: 12px;
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: 10px;
  color: #eaeaea;
  background: #1f1f1f;
  font-size: 0.78rem;
  font-weight: 700;
}

.mini-profile {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: 14px;
  background: #191919;
}

.mini-profile img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.mini-profile strong,
.mini-profile small {
  display: block;
}

.mini-profile strong {
  color: var(--color-white);
  font-size: 0.86rem;
}

.mini-profile small {
  margin-top: 4px;
  color: #c8c8c8;
  font-size: 0.7rem;
}

.availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 5px rgba(255, 196, 0, 0.14);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--color-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-item {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--color-yellow);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--forest-950);
  font-size: 0.95rem;
}

.trust-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

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

.step-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 13px;
  background: var(--color-black);
  color: var(--color-yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 10px;
  color: var(--forest-950);
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.categories-section {
  background: var(--color-light-gray);
}

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

.category-card {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: 160ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-yellow);
  box-shadow: var(--shadow-md);
}

.category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 1.05rem;
  font-weight: 900;
}

.category-card strong,
.category-card span {
  display: block;
}

.category-card strong {
  color: var(--forest-950);
  font-size: 0.94rem;
}

.category-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
}

.benefits-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.benefit-panel {
  padding: clamp(38px, 6vw, 70px);
}

.benefit-panel:first-child {
  background: var(--color-white);
}

.benefit-panel:last-child {
  background: var(--color-black);
  color: #fff;
}

.benefit-panel h2 {
  max-width: 430px;
  margin: 0 0 30px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.benefit-panel:last-child h2 {
  color: #fff;
}

.benefit-list {
  display: grid;
  gap: 17px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.benefit-panel:last-child .benefit-item {
  color: #d9d9d9;
}

.benefit-check {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.72rem;
  font-weight: 900;
}

.benefit-panel:last-child .benefit-check {
  background: rgba(255, 196, 0, 0.16);
  color: var(--color-yellow);
}

.benefit-panel .button {
  margin-top: 32px;
}

.home-cta {
  padding: 90px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 196, 0, 0.22), transparent 24%),
    var(--color-black);
  color: var(--color-white);
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.home-cta p {
  margin: 18px 0 0;
  font-weight: 650;
}

.footer {
  padding: 46px 0 100px;
  background: var(--color-black);
  color: #eaeaea;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer p {
  margin: 10px 0 0;
  color: #bdbdbd;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.83rem;
  font-weight: 700;
}

.page-banner {
  padding: 66px 0 52px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 196, 0, 0.18), transparent 26%),
    var(--color-black);
  color: #fff;
  border-bottom: 4px solid var(--color-yellow);
}

.page-heading {
  max-width: 740px;
}

.page-heading h1 {
  color: #fff;
}

.page-heading p:not(.eyebrow) {
  max-width: 660px;
  margin: 17px 0 0;
  color: #dddddd;
  font-size: 1.05rem;
  line-height: 1.6;
}

.directory-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 36px 0 80px;
}

.filter-panel,
.form-card,
.dashboard-card,
.profile-main,
.profile-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.filter-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

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

.filter-head h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1.05rem;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-black);
  font-size: 0.76rem;
  font-weight: 800;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
}

.field:last-child {
  margin-bottom: 0;
}

.field label,
.field-label {
  color: var(--color-black);
  font-size: 0.78rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #fff;
  transition: 130ms ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.18);
}

.field small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

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

.directory-top h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1.35rem;
}

.directory-top p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.sort-control {
  width: 190px;
}

.sort-control select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

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

.professional-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: 160ms ease;
}

.professional-card:hover {
  border-color: rgba(255, 196, 0, 0.78);
  box-shadow: var(--shadow-md);
}

.professional-photo {
  position: relative;
  width: 112px;
  height: 122px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--color-light-gray);
}

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

.photo-initials {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, #2a2a2a, #0a0a0a);
  color: var(--color-yellow);
  font-size: 1.8rem;
  font-weight: 900;
}

.verified-mark {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.68rem;
  font-weight: 900;
}

.professional-info {
  min-width: 0;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title-row h3 {
  overflow: hidden;
  margin: 0;
  color: var(--forest-950);
  font-size: 1.12rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profession-name {
  margin: 5px 0 10px;
  color: var(--color-black);
  font-size: 0.86rem;
  font-weight: 800;
}

.card-location,
.card-experience {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.card-location svg,
.card-experience svg {
  width: 14px;
  height: 14px;
}

.professional-description {
  display: -webkit-box;
  max-width: 600px;
  overflow: hidden;
  margin: 13px 0;
  color: #5f5f5f;
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.chip {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #3f3f3f;
  font-size: 0.67rem;
  font-weight: 800;
}

.card-actions {
  display: flex;
  min-width: 158px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.availability-badge {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.availability-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-now {
  background: var(--color-yellow);
  color: var(--color-black);
}

.status-week {
  background: var(--color-yellow-light);
  color: var(--color-black);
}

.status-date {
  border: 1px solid var(--color-yellow);
  background: #fffdf3;
  color: var(--color-black);
}

.status-busy {
  background: var(--color-dark-gray);
  color: var(--color-white);
}

.favorite-button {
  position: absolute;
  top: 15px;
  right: 187px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #777777;
}

.favorite-button svg {
  width: 17px;
  height: 17px;
}

.favorite-button.active {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.favorite-button.active svg {
  fill: currentColor;
}

.empty-state {
  padding: 70px 30px;
  border: 1px dashed #cfcfcf;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  color: var(--forest-950);
}

.empty-state p {
  margin: 9px auto 0;
  color: var(--muted);
}

.mobile-filter-button {
  display: none;
}

.form-page {
  padding: 56px 0 90px;
}

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

.form-intro h1 {
  margin: 0;
  color: var(--forest-950);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.05em;
}

.form-intro p {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-card {
  overflow: hidden;
}

.form-section {
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-child {
  border-bottom: 0;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.form-section-title span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.75rem;
  font-weight: 900;
}

.form-section-title h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

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

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

.check-card,
.radio-card {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #3d3d3d;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.check-card:has(input:checked),
.radio-card:has(input:checked) {
  border-color: var(--color-yellow);
  background: #fff9d7;
  color: var(--color-black);
}

.check-card input,
.radio-card input {
  width: 17px;
  height: 17px;
  accent-color: var(--color-yellow);
}

.upload-box {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 20px;
  border: 1px dashed #c7c7c7;
  border-radius: 12px;
  background: #f8f8f8;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-box strong,
.upload-box small {
  display: block;
}

.upload-box strong {
  color: var(--color-black);
  font-size: 0.86rem;
}

.upload-box small {
  margin-top: 5px;
  color: var(--muted);
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.terms-row input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--color-yellow);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: #f8f8f8;
}

.form-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 24px;
  padding: 42px 0 90px;
}

.profile-main {
  overflow: hidden;
}

.profile-cover {
  height: 145px;
  background:
    linear-gradient(120deg, rgba(10, 10, 10, 0.92), rgba(42, 42, 42, 0.72)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1200&q=80") center 55% / cover;
  border-bottom: 4px solid var(--color-yellow);
}

.profile-intro {
  position: relative;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 22px;
  padding: 0 30px 30px;
}

.profile-large-photo {
  width: 138px;
  height: 150px;
  overflow: hidden;
  margin-top: -54px;
  border: 5px solid #fff;
  border-radius: 20px;
  background: var(--color-light-gray);
  box-shadow: var(--shadow-sm);
}

.profile-large-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-title {
  padding-top: 22px;
}

.profile-title h1 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1.85rem;
  letter-spacing: -0.04em;
}

.profile-title .profession-name {
  font-size: 0.95rem;
}

.profile-title-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
}

.profile-title-meta > span:not(.availability-badge) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.profile-title-meta svg {
  width: 15px;
  height: 15px;
  color: var(--color-black);
}

.verified-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-black);
  font-size: 0.72rem;
  font-weight: 900;
}

.verified-label span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-black);
  font-size: 0.62rem;
}

.profile-content-section {
  padding: 28px 30px;
  border-top: 1px solid var(--line);
}

.profile-content-section h2 {
  margin: 0 0 15px;
  color: var(--forest-950);
  font-size: 1.05rem;
}

.profile-content-section > p {
  margin: 0;
  color: #58655f;
  line-height: 1.7;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.profile-fact {
  padding: 15px;
  border-radius: 12px;
  background: #f7f7f7;
}

.profile-fact strong,
.profile-fact span {
  display: block;
}

.profile-fact strong {
  color: var(--forest-950);
  font-size: 0.9rem;
}

.profile-fact span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

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

.portfolio-grid img,
.portfolio-placeholder {
  width: 100%;
  height: 145px;
  border-radius: 12px;
  object-fit: cover;
}

.portfolio-placeholder {
  display: grid;
  place-items: center;
  background: #f7f7f7;
  color: var(--muted);
  font-size: 0.75rem;
}

.profile-sidebar {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.profile-sidebar h2 {
  margin: 0 0 8px;
  color: var(--forest-950);
  font-size: 1.2rem;
}

.profile-sidebar > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-sidebar .availability-badge {
  margin-bottom: 20px;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  background: #f7f7f7;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.contact-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--color-black);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--color-black);
  font-size: 0.8rem;
  font-weight: 800;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.dashboard-page {
  padding: 42px 0 90px;
}

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

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dashboard-welcome .button-ghost,
.toolbar-actions .button-ghost {
  border-color: var(--line);
  background: var(--color-white);
  color: var(--color-black);
}

.dashboard-welcome h1 {
  margin: 0;
  color: var(--forest-950);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.dashboard-welcome p {
  margin: 8px 0 0;
  color: var(--muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

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

.metric-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8f8f8;
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  color: var(--color-black);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.metric-card span {
  margin-top: 8px;
  color: var(--color-black);
  font-size: 0.8rem;
  font-weight: 900;
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.dashboard-card {
  padding: 24px;
}

.dashboard-card.wide {
  grid-column: 1 / -1;
}

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

.dashboard-card-head h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1.1rem;
}

.dashboard-card-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.availability-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.availability-action {
  min-height: 100px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: left;
}

.availability-action:hover,
.availability-action.active {
  border-color: var(--color-yellow);
  background: #fff9d7;
}

.availability-action strong,
.availability-action span {
  display: block;
}

.availability-action strong {
  margin-top: 14px;
  color: var(--forest-950);
  font-size: 0.82rem;
}

.availability-action span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.status-circle {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.status-circle.status-now {
  background: var(--color-yellow);
}

.status-circle.status-busy {
  background: var(--gray);
}

.status-circle.status-date {
  background: var(--color-yellow);
}

.dashboard-profile-summary {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.dashboard-profile-summary .professional-photo {
  width: 72px;
  height: 78px;
}

.dashboard-profile-summary h3 {
  margin: 0;
  color: var(--forest-950);
}

.dashboard-profile-summary p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.dashboard-stat {
  padding: 13px;
  border-radius: 10px;
  background: #f7f7f7;
}

.dashboard-stat strong,
.dashboard-stat span {
  display: block;
}

.dashboard-stat strong {
  color: var(--forest-950);
}

.dashboard-stat span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.65rem;
}

.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.saved-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 11px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.saved-card .professional-photo {
  width: 54px;
  height: 58px;
  border-radius: 10px;
}

.saved-card strong {
  display: block;
  overflow: hidden;
  color: var(--forest-950);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
}

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

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card strong {
  color: var(--color-black);
  font-size: 0.9rem;
}

.contact-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.company-need-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 18px;
}

.company-need-summary span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f7f7f7;
  color: var(--muted);
  font-size: 0.75rem;
}

.company-need-summary strong {
  margin-right: 4px;
  color: var(--color-black);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.plan-card {
  position: relative;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.plan-card.featured {
  border-color: var(--color-yellow);
  background: var(--gold-100);
}

.plan-card h3 {
  margin: 0;
  color: var(--forest-950);
  font-size: 0.95rem;
}

.plan-card p {
  min-height: 38px;
  margin: 8px 0 15px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.coming-soon {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--color-dark-gray);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-update {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.date-update input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(5px);
}

.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1.12rem;
}

.modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--color-black);
  font-size: 1.25rem;
}

.modal-body {
  padding: 24px;
}

.auth-card {
  max-width: 760px;
  margin-inline: auto;
}

.auth-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.login-demo-box {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: #f8f8f8;
  color: var(--muted);
  font-size: 0.78rem;
}

.login-demo-box strong {
  color: var(--color-black);
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: var(--color-black);
  font-size: 0.84rem;
  font-weight: 850;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 200;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--color-black);
  box-shadow: var(--shadow-md);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1040px) {
  .site-header {
    padding-inline: 24px;
  }

  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 0.8rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 35px;
  }

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

  .professional-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .professional-photo {
    width: 96px;
    height: 112px;
  }

  .card-actions {
    grid-column: 1 / -1;
    min-width: 0;
    flex-direction: row;
    align-items: center;
  }

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

  .favorite-button {
    top: 18px;
    right: 18px;
  }

  .card-title-row {
    padding-right: 42px;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    position: fixed;
    z-index: 100;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 28px 24px calc(96px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 196, 0, 0.24);
    background: #0a0a0a;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: none;
  }

  .desktop-nav.open {
    display: flex;
  }

  .desktop-nav .nav-login-link {
    display: block;
  }

  .desktop-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 196, 0, 0.22);
    color: var(--color-white);
    font-size: 1rem;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 80px 0;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    margin-inline: auto;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .search-preview {
    width: min(520px, 100%);
    margin-inline: auto;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .steps-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-wrap,
  .profile-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    position: static;
    grid-row: 1;
  }

  .directory-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow: auto;
    padding: 28px;
    border: 0;
    border-radius: 0;
  }

  .filter-panel.open {
    display: block;
  }

  .mobile-filter-button {
    display: inline-flex;
  }

  .dashboard-card.wide {
    grid-column: auto;
  }

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

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

  .home-cta-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 68px;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand {
    width: 172px;
    height: 48px;
  }

  .desktop-nav {
    top: 68px;
  }

  .container,
  .narrow-container {
    width: min(100% - 28px, 1240px);
  }

  .section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .hero-grid {
    padding: 62px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    justify-content: start;
    text-align: left;
  }

  .search-preview {
    padding: 18px;
  }

  .search-preview::before {
    right: 16px;
  }

  .trust-grid,
  .steps-grid,
  .category-grid,
  .form-grid,
  .check-grid,
  .profile-facts,
  .availability-actions,
  .dashboard-stats,
  .metric-grid,
  .auth-choice-grid,
  .saved-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 90px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .category-card {
    min-height: 96px;
  }

  .benefit-panel {
    padding: 34px 24px;
  }

  .page-banner {
    padding: 48px 0 40px;
  }

  .directory-layout {
    padding-top: 24px;
  }

  .directory-top {
    align-items: stretch;
    flex-direction: column;
  }

  .directory-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sort-control {
    width: auto;
  }

  .professional-card {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 13px;
    padding: 15px;
  }

  .professional-photo {
    width: 80px;
    height: 92px;
  }

  .professional-description {
    grid-column: 1 / -1;
  }

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

  .card-actions > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .card-actions .availability-badge {
    justify-self: start;
  }

  .card-location,
  .card-experience {
    display: flex;
    margin: 4px 0;
  }

  .chip-row {
    grid-column: 1 / -1;
  }

  .form-page {
    padding: 40px 0 70px;
  }

  .form-section,
  .modal-body {
    padding: 22px 18px;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
    padding: 20px 18px;
  }

  .profile-layout {
    padding-top: 24px;
  }

  .profile-intro {
    grid-template-columns: 94px 1fr;
    gap: 14px;
    padding: 0 18px 22px;
  }

  .profile-large-photo {
    width: 94px;
    height: 106px;
    margin-top: -38px;
    border-width: 4px;
    border-radius: 15px;
  }

  .profile-title {
    padding-top: 14px;
  }

  .profile-title h1 {
    font-size: 1.35rem;
  }

  .profile-content-section {
    padding: 22px 18px;
  }

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

  .portfolio-grid img,
  .portfolio-placeholder {
    height: 115px;
  }

  .dashboard-page {
    padding-top: 28px;
  }

  .dashboard-welcome {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar-actions {
    justify-content: stretch;
  }

  .toolbar-actions .button {
    width: 100%;
  }

  .auth-links {
    flex-direction: column;
    text-align: center;
  }

  .dashboard-card {
    padding: 18px;
  }

  .availability-action {
    min-height: 74px;
  }

  .home-cta {
    padding: 64px 0;
  }

  .footer {
    padding-bottom: 38px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 66px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 28px rgba(10, 10, 10, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #74807c;
    font-size: 0.62rem;
    font-weight: 800;
  }

  .mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
  }

  .mobile-bottom-nav .active {
    color: var(--color-black);
  }

  .mobile-bottom-nav .active svg {
    color: var(--color-yellow);
  }

  .toast {
    right: 14px;
    bottom: 82px;
    left: 14px;
    max-width: none;
    text-align: center;
  }
}
