:root {
  --ink: #17312d;
  --muted: #64736f;
  --line: #dfe8e3;
  --paper: #fbf7ef;
  --white: #ffffff;
  --green: #1f7a5a;
  --green-dark: #155640;
  --leaf: #e9f4ec;
  --sun: #f2b84b;
  --terracotta: #bd6541;
  --shadow: 0 18px 50px rgba(23, 49, 45, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid rgba(223, 232, 227, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 172px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 0.84rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
}

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

.search-panel button,
.professional-card button,
.request-box button,
.signup-form button {
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-menu-toggle,
.mobile-nav {
  display: none;
}

.mobile-menu-toggle {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 12px;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  z-index: 30;
  width: min(260px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav a,
.mobile-nav button {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

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

button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.site-header .header-action,
.site-header .header-logout {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.site-header .header-action:hover,
.site-header .header-logout:hover {
  background: transparent;
  color: var(--green);
  transform: none;
}

.home-orange-theme {
  --orange: #ff7400;
  --orange-dark: #d95f00;
  --graphite: #1f2937;
  --graphite-soft: #374151;
  --green: var(--orange);
  --green-dark: var(--orange-dark);
  --leaf: #fff3e5;
  --sun: #ff7400;
  --terracotta: #d95f00;
  --ink: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --paper: #f5f6fa;
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.12);
  background: #f5f6fa;
}

.home-orange-theme .site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #e5e7eb;
}

.home-orange-theme .brand {
  color: var(--orange);
}

.home-orange-theme .brand-logo {
  width: 144px;
}

.home-orange-theme .desktop-nav,
.home-orange-theme .site-header .header-action,
.home-orange-theme .site-header .header-logout {
  color: #64748b;
}

.home-orange-theme .desktop-nav a:hover,
.home-orange-theme .site-header .header-action:hover,
.home-orange-theme .site-header .header-logout:hover {
  color: var(--orange);
}

.home-orange-theme .mobile-menu-toggle {
  border-color: #e5e7eb;
  background: #ffffff;
  color: var(--graphite);
}

.home-orange-theme .search-panel > button,
.home-orange-theme .professional-card button,
.home-orange-theme .request-box button,
.home-orange-theme .whatsapp-link {
  background: var(--orange);
}

.home-orange-theme .search-panel > button:hover,
.home-orange-theme .professional-card button:hover,
.home-orange-theme .request-box button:hover,
.home-orange-theme .whatsapp-link:hover {
  background: var(--orange-dark);
}

.home-orange-theme .professional-card a:hover {
  text-decoration-color: var(--orange);
}

.home-orange-theme .section-heading a {
  color: var(--orange);
}

.home-orange-theme .category-row .active {
  border-color: var(--orange);
  background: var(--orange);
}

.home-orange-theme .profile-link {
  text-decoration-color: rgba(249, 115, 22, 0.36);
}

.home-orange-theme .profile-link:hover {
  color: var(--orange);
}

.home-orange-theme .tags span {
  background: #fff0e5;
  color: #9a3412;
}

.home-orange-theme .avatar.green {
  background: #fff0e5;
  color: #c2410c;
}

.home-orange-theme .signup-section {
  background: var(--graphite);
}

.home-orange-theme .signup-form button,
.home-orange-theme .signup-form .auth-mode button.active {
  color: var(--white);
}

.home-orange-theme .signup-form button {
  background: var(--orange);
}

.home-orange-theme .signup-form button:hover {
  background: var(--orange-dark);
}

.home-orange-theme .signup-form .auth-mode button {
  background: transparent;
  color: var(--muted);
}

.home-orange-theme .signup-form .auth-mode button.active {
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.16);
}

.home-orange-theme .auth-feedback {
  color: var(--orange-dark);
}

.home-orange-theme .app-toast[data-type="success"] {
  border-left-color: var(--orange);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 250, 245, 0.98) 0%, rgba(255, 243, 229, 0.88) 42%, rgba(255, 243, 229, 0.18) 100%),
    linear-gradient(0deg, rgba(255, 243, 229, 0.2), rgba(255, 255, 255, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 72px);
  padding: 76px 0;
  color: var(--graphite);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 30px;
  color: #64748b;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.75fr;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.search-panel input,
.request-box input,
.request-box textarea,
.signup-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
}

.search-panel input {
  min-height: 50px;
  padding: 0 14px;
}

.autocomplete-field {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  display: grid;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(12, 45, 36, 0.16);
}

.autocomplete-list[hidden] {
  display: none;
}

.autocomplete-list button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.autocomplete-list button:last-child {
  border-bottom: 0;
}

.autocomplete-list button:hover,
.autocomplete-list button:focus-visible {
  background: var(--cream);
}

.search-panel button {
  align-self: end;
  min-height: 50px;
  padding: 0 22px;
}

.hero-search {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 36px));
  margin: -80px auto 16px;
}

.section,
.split-section,
.signup-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.split-section p,
.signup-copy p,
.section-copy {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 42px 0 74px;
}

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

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-heading a {
  color: var(--green);
  font-weight: 800;
}

.category-row {
  display: flex;
  gap: 10px;
  padding-bottom: 20px;
  overflow-x: auto;
}

.category-row button {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.category-row .active {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

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

.professional-card {
  display: flex;
  gap: 16px;
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.avatar {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: #f4e1d4;
  color: var(--terracotta);
  font-weight: 800;
}

.avatar.green {
  background: var(--leaf);
  color: var(--green);
}

.avatar.blue {
  background: #e6eef8;
  color: #2f6295;
}

.avatar.has-photo {
  overflow: hidden;
  padding: 0;
}

.avatar.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skeleton-panel {
  overflow: hidden;
}

.skeleton-line,
.skeleton-avatar,
.skeleton-input {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #edf2ef 0%, #f7faf7 45%, #edf2ef 90%);
  background-size: 220% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
}

.skeleton-line {
  width: 100%;
  height: 16px;
}

.skeleton-line.small {
  width: 120px;
}

.skeleton-line.medium {
  width: min(260px, 75%);
}

.skeleton-line.wide {
  width: min(520px, 100%);
}

.skeleton-line.title {
  width: min(360px, 90%);
  height: 28px;
}

.skeleton-avatar {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}

.skeleton-input {
  height: 48px;
}

.skeleton-stack {
  display: grid;
  flex: 1;
  gap: 12px;
  min-width: 0;
}

@keyframes skeleton-loading {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

.card-main {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-width: 0;
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row h3 {
  margin: 0;
  font-size: 1.15rem;
}

.profile-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(31, 122, 90, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.profile-link:hover {
  color: var(--green);
}

.rating {
  border-radius: 999px;
  background: #fff4d8;
  color: #8a5b00;
  padding: 5px 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.profession {
  margin: 8px 0 4px;
  color: var(--ink);
  display: -webkit-box;
  min-height: 88px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-weight: 400;
  line-height: 1.35;
}

.location {
  margin: 0 0 14px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 18px;
}

.tags span {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.professional-card button {
  align-self: end;
  width: 100%;
  min-height: 44px;
}

.empty-results {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  min-height: 160px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.empty-results strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 25, 0.66);
  backdrop-filter: blur(4px);
}

.contact-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.contact-dialog h2 {
  padding-right: 36px;
  font-size: 2rem;
}

.modal-service {
  margin: 8px 0 20px;
  color: var(--muted);
  font-weight: 700;
}

.contact-info {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-info span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-info strong {
  font-size: 1.12rem;
}

.modal-note {
  margin: 16px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.whatsapp-link {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.whatsapp-link:hover {
  background: var(--green-dark);
}

.split-section,
.signup-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: 54px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.split-section p,
.signup-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.request-box,
.signup-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.request-box textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.request-box input,
.signup-form input,
.signup-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  box-sizing: border-box;
}

.signup-form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.signup-form label {
  min-width: 0;
}

.signup-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 12px;
}

.signup-location-fields {
  grid-template-columns: 128px minmax(0, 1fr);
}

.request-box button,
.signup-form button {
  min-height: 48px;
}

.signup-section {
  margin-bottom: 72px;
  background: var(--green);
}

.signup-form .google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.signup-form .google-login:hover {
  background: var(--white);
  color: var(--ink);
}

.signup-form .google-login span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #4285f4;
  font-weight: 900;
}

.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a5b00;
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.card-stars {
  display: inline-flex;
  gap: 1px;
  color: #d7c7a0;
  letter-spacing: 0;
}

.card-stars .filled {
  color: var(--sun);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-divider::before,
.form-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.form-divider span {
  margin: 0;
  color: var(--ink);
}

.auth-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.signup-form .auth-mode button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.signup-form .auth-mode button.active {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 8px 18px rgba(23, 49, 45, 0.08);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.signup-form button.is-loading {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
}

.signup-form button.is-loading span[aria-hidden="true"] {
  display: inline-flex;
  gap: 3px;
}

.signup-form button.is-loading span[aria-hidden="true"] span {
  animation: loading-dot 0.9s infinite ease-in-out;
  background: currentColor;
  border-radius: 999px;
  height: 5px;
  width: 5px;
}

.signup-form button.is-loading span[aria-hidden="true"] span:nth-child(2) {
  animation-delay: 0.15s;
}

.signup-form button.is-loading span[aria-hidden="true"] span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes loading-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.signup-actions {
  display: grid;
}

.auth-feedback {
  min-height: 22px;
  color: var(--green);
  font-weight: 700;
}

.auth-feedback[data-type="error"] {
  color: #b42318;
}

.app-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.app-toast[data-type="success"] {
  border-left: 5px solid var(--green);
}

.app-toast[data-type="error"] {
  border-left: 5px solid #b42318;
}

.account-created-modal[hidden] {
  display: none;
}

.account-created-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 26, 23, 0.42);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.account-created-modal.is-visible {
  opacity: 1;
}

.account-created-dialog {
  width: min(360px, 100%);
  padding: 30px 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(13, 36, 32, 0.2);
  color: var(--ink);
  text-align: center;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}

.account-created-modal.is-visible .account-created-dialog {
  transform: translateY(0) scale(1);
}

.account-created-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.account-created-dialog h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.account-created-dialog p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
  width: min(1160px, calc(100% - 36px));
  margin: 42px auto 0;
}

.profile-summary,
.profile-card,
.work-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.profile-summary {
  padding: clamp(24px, 4vw, 44px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 800;
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.profile-avatar {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  font-size: 1.2rem;
}

.profile-heading h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.profile-heading p:last-child,
.profile-description {
  color: var(--muted);
  line-height: 1.65;
}

.profile-description {
  max-width: 760px;
  margin: 24px 0;
  font-size: 1.06rem;
}

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

.profile-stats div {
  padding: 18px;
  border-radius: 8px;
  background: var(--leaf);
}

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

.profile-stats strong {
  font-size: 1.4rem;
}

.profile-stats span {
  color: var(--muted);
  font-weight: 700;
}

.profile-contact {
  width: min(320px, 100%);
  min-height: 50px;
}

.profile-card {
  align-self: start;
  padding: 24px;
}

.profile-card h2 {
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.portfolio-section {
  padding-bottom: 26px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 12px;
}

.portfolio-photo {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}

.portfolio-photo.large {
  grid-row: span 2;
}

.portfolio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.portfolio-photo span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(23, 49, 45, 0.78);
  color: var(--white);
  font-weight: 800;
  text-align: left;
}

.portfolio-photo:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

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

.work-card {
  overflow: hidden;
}

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

.work-card div {
  padding: 18px;
}

.work-card h3 {
  margin: 0 0 8px;
}

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

.profile-feed {
  margin-bottom: 72px;
}

.review-board {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.review-card {
  padding: 20px;
  color: var(--ink);
}

.review-form-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.review-form-compact {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.review-form-compact p {
  grid-column: 1;
}

.review-form-compact a,
.review-form-compact button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-width: 180px;
}

.review-form-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-form-card input,
.review-form-card select,
.review-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  font: inherit;
}

.review-form-card input[type="file"],
.completed-work-form input[type="file"] {
  display: none;
}

.photo-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-form-card .photo-add,
.completed-work-form .photo-add,
.photo-preview {
  width: 86px;
  height: 86px;
  min-height: 86px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.review-form-card .photo-add,
.completed-work-form .photo-add {
  color: var(--green);
  font-size: 2rem;
}

.review-form-card .photo-add:hover,
.completed-work-form .photo-add:hover {
  background: var(--leaf);
  color: var(--green-dark);
  transform: none;
}

.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-preview {
  overflow: hidden;
  border-style: solid;
  cursor: pointer;
  padding: 0;
}

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

.photo-preview-modal[hidden] {
  display: none;
}

.photo-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}

.photo-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 27, 0.66);
}

.photo-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  padding: 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-preview-large {
  width: 100%;
  max-height: 62vh;
  border-radius: 8px;
  object-fit: contain;
  background: var(--paper);
}

.photo-preview-actions {
  display: flex;
  justify-content: flex-end;
}

.photo-preview-actions .remove-selected-photo {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #b42318;
  border-radius: 8px;
  background: transparent;
  color: #b42318;
  cursor: pointer;
  font-weight: 800;
}

.photo-preview-actions .remove-selected-photo:hover {
  background: rgba(180, 35, 24, 0.08);
  transform: none;
}

.review-form-card input,
.review-form-card select {
  min-height: 46px;
  padding: 0 12px;
}

.review-form-card textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.rating-field {
  display: grid;
  gap: 8px;
}

.rating-field > span,
.review-form-card label > span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.star-rating {
  display: flex;
  gap: 6px;
}

.review-form-card .star-rating button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d4ded9;
  font-size: 2rem;
  line-height: 1;
}

.review-form-card .star-rating button.active {
  color: var(--sun);
}

.review-form-card .star-rating button:hover {
  background: transparent;
  color: var(--sun);
  transform: none;
}

.review-form-card button,
.review-form-card a {
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.review-feedback {
  min-height: 20px;
  color: var(--green);
  font-weight: 700;
}

.review-feedback[data-type="error"] {
  color: #b42318;
}

.review-card.is-extra-review {
  display: none;
}

.review-board.is-expanded .review-card.is-extra-review {
  display: block;
}

.review-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  color: var(--green-dark);
  font-weight: 800;
}

.review-header strong,
.review-header span,
.review-list strong,
.review-list span {
  display: block;
}

.review-header span {
  color: var(--muted);
  margin-top: 3px;
}

.stars {
  align-self: start;
  border-radius: 999px;
  background: #fff4d8;
  color: #8a5b00;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 800;
}

.review-card p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.65;
}

.review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-photos button {
  width: 112px;
  height: 92px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
}

.review-photos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.review-photos button:hover img {
  transform: scale(1.05);
}

.show-more-reviews {
  justify-self: start;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.show-more-reviews[hidden] {
  display: none;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 25, 0.82);
  backdrop-filter: blur(4px);
}

.gallery-dialog {
  position: relative;
  display: grid;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 54px 22px 22px;
  border-radius: 8px;
  background: var(--white);
}

.gallery-image {
  width: 100%;
  max-height: calc(100vh - 190px);
  border-radius: 8px;
  object-fit: contain;
  background: #f3f5f2;
}

.gallery-nav {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.gallery-caption {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.gallery-caption strong {
  color: var(--ink);
}

.profile-editor-hero,
.profile-editor {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.profile-editor-hero {
  padding: 54px 0 24px;
}

.profile-editor-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

.profile-editor-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.profile-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 72px;
}

.editor-form {
  display: grid;
  gap: 18px;
}

.editor-block,
.editor-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 49, 45, 0.08);
}

.editor-block {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.editor-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.editor-heading > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.editor-heading h2 {
  font-size: 1.45rem;
}

.editor-heading p,
.editor-preview p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.editor-grid {
  display: grid;
  gap: 14px;
}

.profile-photo-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.profile-photo-preview {
  width: 82px;
  height: 82px;
  flex-basis: 82px;
  font-size: 1.2rem;
}

.profile-photo-editor p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.5;
}

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

.profile-photo-actions button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.profile-photo-actions .secondary-action {
  border: 0;
  background: var(--green);
  color: var(--white);
}

.profile-photo-actions .ghost-action {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
}

.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.editor-form input,
.editor-form textarea,
.editor-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  box-sizing: border-box;
}

.editor-form input,
.editor-form select {
  min-height: 48px;
  padding: 0 14px;
}

.editor-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.professional-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.professional-toggle input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--green);
}

.professional-toggle span {
  display: grid;
  gap: 4px;
}

.professional-toggle small {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.service-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--leaf);
  font-weight: 700;
}

.field-title {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.service-chip-options {
  display: flex;
  flex-wrap: wrap;
}

.service-chip-options label {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
}

.service-chip-options input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
}

.service-chip-options label:has(input:checked) {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

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

.portfolio-editor-feedback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--leaf);
  color: var(--green);
  font-weight: 800;
}

.photo-manager article,
.upload-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.photo-manager article {
  display: grid;
  grid-template-rows: 120px auto 1fr auto;
}

.photo-manager img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.photo-manager strong {
  padding: 10px 10px 0;
}

.photo-manager article p {
  margin: 0;
  padding: 4px 10px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.photo-manager button {
  margin: 10px;
  min-height: 38px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
}

.photo-manager .new-work-button {
  margin: 0;
  min-height: 190px;
}

.upload-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--green);
  font-weight: 800;
}

.upload-card > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  font-size: 2rem;
}

.upload-card input {
  display: none;
}

.completed-work-form {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.completed-work-form[hidden] {
  display: none;
}

.completed-work-form textarea {
  min-height: 100px;
}

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

.completed-work-actions button {
  margin: 0;
  padding: 0 16px;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.editor-actions button,
.editor-actions a {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  font-weight: 800;
}

.editor-actions button {
  min-width: 180px;
  border: 0;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
}

.editor-actions a {
  padding: 0 18px;
  border: 1px solid var(--green);
  color: var(--green);
}

.editor-preview {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.preview-card {
  flex-direction: column;
  min-height: auto;
  margin: 12px 0 18px;
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-action,
  .header-logout {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(23, 49, 45, 0.9), rgba(23, 49, 45, 0.35));
  }

  .hero-content {
    align-self: end;
    margin: 0 auto;
    padding-bottom: 34px;
  }

  .search-panel,
  .professional-grid,
  .split-section,
  .signup-section,
  .profile-hero,
  .profile-editor,
  .portfolio-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero-search {
    margin: -52px auto 18px;
  }

  .split-section,
  .signup-section {
    padding: 28px;
  }

  .profile-hero {
    margin-top: 22px;
  }

  .portfolio-grid {
    grid-auto-rows: 220px;
  }

  .portfolio-photo.large {
    grid-row: span 1;
  }

  .editor-preview {
    position: static;
  }

  .service-options,
  .photo-manager {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .app-toast {
    top: auto;
    right: 12px;
    bottom: 16px;
    left: 12px;
    max-width: none;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 144px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .search-panel {
    padding: 10px;
  }

  .hero-search {
    margin-top: -42px;
  }

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

  .professional-card {
    flex-direction: column;
  }

  .profile-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .two-columns,
  .service-options,
  .signup-actions,
  .signup-two-columns,
  .review-form-compact,
  .photo-manager {
    grid-template-columns: 1fr;
  }

  .review-form-compact a,
  .review-form-compact button {
    grid-row: auto;
    grid-column: auto;
    min-width: 0;
  }

  .review-header {
    grid-template-columns: auto 1fr;
  }

  .stars {
    grid-column: 2;
    justify-self: start;
  }

  .gallery-dialog {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-image,
  .gallery-caption {
    grid-column: 1 / -1;
  }

  .gallery-prev {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
  }

  .gallery-next {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
}

/* Desktop reference layout v2 */
.home-orange-theme {
  background: #ffffff;
}

.home-orange-theme .site-header {
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  box-shadow: 0 1px 0 rgba(31, 41, 55, 0.08);
}

.home-orange-theme .desktop-nav {
  gap: 34px;
  color: var(--graphite);
}

.home-orange-theme .desktop-nav a {
  position: relative;
  padding: 12px 0;
}

.home-orange-theme .desktop-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
}

.home-orange-theme .site-header .header-action {
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--orange);
  color: #ffffff;
}

.home-orange-theme .site-header .header-action:hover {
  background: var(--orange-dark);
  color: #ffffff;
}

.home-orange-theme .hero {
  min-height: 535px;
  align-items: stretch;
  border-bottom: 1px solid #f1e7dc;
}

.home-orange-theme .hero-image {
  object-position: center;
}

.home-orange-theme .hero-overlay {
  background: linear-gradient(90deg, #fffaf5 0%, rgba(255, 250, 245, 0.97) 34%, rgba(255, 243, 229, 0.55) 54%, rgba(255, 243, 229, 0.02) 76%);
}

.home-orange-theme .hero-content {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 500px 24px 0;
}

.home-orange-theme .trust-pill {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid #ffd8b5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-orange-theme .hero h1 {
  max-width: 640px;
  color: var(--graphite);
  font-size: clamp(2.7rem, 4.2vw, 4.25rem);
  line-height: 1.02;
}

.home-orange-theme .hero h1 span {
  color: var(--orange);
}

.home-orange-theme .hero-copy {
  max-width: 560px;
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.home-orange-theme .hero .search-panel {
  grid-template-columns: 0.85fr 1.15fr 0.45fr;
  gap: 0;
  width: min(720px, 100%);
  padding: 6px;
  border-color: #e6e9ee;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.12);
}

.home-orange-theme .hero .search-panel label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.home-orange-theme .hero .search-panel input {
  min-height: 48px;
  border: 0;
  border-right: 1px solid #e5e7eb;
  border-radius: 0;
  background: transparent;
}

.home-orange-theme .hero .search-panel > button {
  min-height: 48px;
  margin-left: 6px;
  border-radius: 6px;
}

.home-orange-theme .hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
  color: #374151;
  font-size: 0.78rem;
  font-weight: 700;
}

.home-orange-theme .hero-benefits span::first-letter {
  color: var(--orange);
}

.home-orange-theme .hero-proof-panel {
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - 1160px) / 2));
  z-index: 2;
  display: grid;
  width: 310px;
  padding: 10px 22px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(31, 41, 55, 0.16);
  transform: translateY(-50%);
}

.home-orange-theme .hero-proof-panel div {
  display: grid;
  gap: 3px;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid #edf0f3;
}

.home-orange-theme .hero-proof-panel div:last-child {
  border-bottom: 0;
}

.home-orange-theme .hero-proof-panel div::before {
  position: absolute;
  margin-left: -36px;
  color: var(--orange);
  content: "✓";
  font-size: 1.1rem;
  font-weight: 800;
}

.home-orange-theme .hero-proof-panel strong {
  color: var(--graphite);
  font-size: 0.83rem;
}

.home-orange-theme .hero-proof-panel span {
  color: var(--muted);
  font-size: 0.72rem;
}

.home-orange-theme .categories-section {
  padding: 20px 0 18px;
}

.home-orange-theme .centered-heading {
  margin-bottom: 24px;
  text-align: center;
}

.home-orange-theme .centered-heading h2 {
  font-size: 1.65rem;
}

.home-orange-theme .centered-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.home-orange-theme .category-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 14px;
  overflow: visible;
}

.home-orange-theme .category-row button {
  display: grid;
  min-height: 104px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.05);
}

.home-orange-theme .category-row button:hover,
.home-orange-theme .category-row button.active {
  border-color: #ffb873;
  background: #fff8f1;
  color: var(--graphite);
  transform: translateY(-2px);
}

.home-orange-theme .category-icon {
  color: var(--orange);
  font-size: 1.55rem;
  line-height: 1;
}

.home-orange-theme .category-label {
  font-size: 0.82rem;
}

.home-orange-theme .professionals-section {
  width: 100%;
  max-width: none;
  padding: 16px max(24px, calc((100vw - 1160px) / 2)) 58px;
  background: #fff8f1;
}

.home-orange-theme .section-kicker {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-orange-theme .professionals-section h2 {
  font-size: 2rem;
}

.home-orange-theme .professionals-layout {
  display: block;
}
.home-orange-theme .professional-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-orange-theme .professional-card {
  min-height: 270px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
}

.home-orange-theme .professional-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px max(24px, calc((100vw - 1160px) / 2));
  background: var(--orange);
  color: #ffffff;
}

.home-orange-theme .professional-cta-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 900;
}

.home-orange-theme .professional-cta strong,
.home-orange-theme .professional-cta span {
  display: block;
}

.home-orange-theme .professional-cta strong {
  font-size: 1.1rem;
}

.home-orange-theme .professional-cta span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.home-orange-theme .professional-cta a {
  min-width: 190px;
  padding: 12px 18px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--graphite);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.home-orange-theme .signup-section {
  margin-top: 56px;
  background: #fff3e5;
  color: var(--graphite);
}

.home-orange-theme .signup-copy p {
  color: var(--muted);
}

.home-orange-theme .signup-section .eyebrow {
  color: var(--orange);
}

.home-orange-theme .split-section {
  margin-top: 24px;
  margin-bottom: 64px;
  background: var(--graphite);
}

@media (max-width: 1180px) {
  .home-orange-theme .hero-content {
    padding-right: 420px;
  }

  .home-orange-theme .hero-proof-panel {
    width: 280px;
  }
}
.home-orange-theme .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-orange-theme .site-header .header-login-action {
  padding: 11px 18px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #ffffff;
  color: var(--graphite);
  font-weight: 700;
}

.home-orange-theme .site-header .header-login-action:hover {
  border-color: #ffb873;
  color: var(--orange);
}

.home-orange-theme .category-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Compact home actions and dialogs */
.home-orange-theme .home-action-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  margin: 34px auto 0;
  padding: 26px 30px;
  border: 1px solid #f1dfce;
  border-radius: 8px;
  background: #fff8f1;
}

.home-orange-theme .home-action-panel h2 {
  font-size: 1.55rem;
}

.home-orange-theme .home-action-panel p:not(.section-kicker) {
  margin: 7px 0 0;
  color: var(--muted);
}

.home-orange-theme .action-panel-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
}

.home-orange-theme .action-panel-buttons {
  display: flex;
  gap: 10px;
}

.home-orange-theme .home-action-panel button,
.home-orange-theme .professional-cta button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--orange);
  border-radius: 6px;
  background: var(--orange);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.home-orange-theme .home-action-panel button.secondary {
  background: #ffffff;
  color: var(--orange);
}

.home-orange-theme .assistant-action-panel {
  margin-bottom: 64px;
  background: #ffffff;
}

.home-orange-theme .professional-cta button {
  min-width: 190px;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--graphite);
}

.has-open-modal {
  overflow: hidden;
}

.action-modal[hidden] {
  display: none;
}

.action-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.action-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.62);
  backdrop-filter: blur(5px);
}

.action-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 41, 55, 0.24);
}

.assistant-modal-dialog {
  width: min(560px, 100%);
}

.site-budget-dialog {
  width: min(680px, 100%);
}

.site-budget-form {
  display: grid;
  gap: 16px;
}

.site-budget-form[hidden],
.site-budget-login[hidden],
.site-budget-suggestions[hidden],
.site-budget-success[hidden] {
  display: none;
}

.site-budget-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 700;
}

.site-budget-form label > span {
  font-size: 0.88rem;
}

.site-budget-form input,
.site-budget-form select,
.site-budget-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dbe1e8;
  border-radius: 7px;
  background: #ffffff;
  color: #1f2937;
  font: inherit;
}

.site-budget-form textarea {
  resize: vertical;
}

.site-budget-form input:focus,
.site-budget-form select:focus,
.site-budget-form textarea:focus {
  border-color: #ff7400;
  outline: 3px solid rgba(255, 116, 0, 0.13);
}

.site-budget-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 14px;
}

.site-budget-city-field {
  position: relative;
}

.site-budget-suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #dbe1e8;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(31, 41, 55, 0.16);
}

.site-budget-suggestions button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 5px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.site-budget-suggestions button:hover {
  background: #fff3e5;
  color: #d95f00;
}

.site-budget-login {
  padding: 16px;
  border: 1px solid #fed7aa;
  border-radius: 7px;
  background: #fff8f1;
}

.site-budget-login > strong,
.site-budget-login > p {
  display: block;
}

.site-budget-login > p {
  margin: 4px 0 13px;
  color: #64748b;
  font-size: 0.88rem;
}

.site-budget-login > a {
  display: inline-block;
  margin-top: 11px;
  color: #d95f00;
  font-weight: 700;
}

.site-budget-feedback {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-weight: 700;
}

.site-budget-feedback[data-type="success"] {
  color: #15803d;
}

.site-budget-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.site-budget-actions button,
.site-budget-success button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: #ff7400;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.site-budget-actions .secondary-button {
  border: 1px solid #dbe1e8;
  background: #ffffff;
  color: #475569;
}

.site-budget-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.site-budget-success {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 0 8px;
  text-align: center;
}

.site-budget-success > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 2rem;
  font-weight: 900;
}

.site-budget-success h3,
.site-budget-success p {
  margin: 0;
}

.site-budget-success p {
  color: #64748b;
}

@media (max-width: 620px) {
  .site-budget-two-columns {
    grid-template-columns: 1fr;
  }

  .site-budget-actions {
    flex-direction: column-reverse;
  }

  .site-budget-actions button {
    width: 100%;
  }
}
.action-modal-heading {
  margin-bottom: 20px;
  padding-right: 42px;
}

.action-modal-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.75rem;
}

.action-modal-heading p:not(.section-kicker) {
  margin: 8px 0 0;
  color: #64748b;
}

.action-modal .signup-form,
.action-modal .request-box {
  padding: 0;
  box-shadow: none;
}

/* Shared orange desktop pages */
.portal-orange-theme {
  --ink: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --paper: #f5f6fa;
  --green: #ff7400;
  --green-dark: #d95f00;
  --leaf: #fff3e5;
  --sun: #ff7400;
  --terracotta: #d95f00;
  --shadow: 0 18px 50px rgba(31, 41, 55, 0.12);
  background: #f5f6fa;
  color: #1f2937;
}

.portal-orange-theme .site-header {
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  border-bottom-color: #e5e7eb;
  background: rgba(255, 255, 255, 0.96);
}

.portal-orange-theme .brand-logo {
  width: 144px;
}

.portal-orange-theme .desktop-nav {
  color: #64748b;
}

.portal-orange-theme .desktop-nav a:hover,
.portal-orange-theme .profile-link:hover,
.portal-orange-theme .back-link,
.portal-orange-theme .eyebrow {
  color: #ff7400;
}

.portal-orange-theme .site-header .header-action {
  color: #ff7400;
}

.portal-orange-theme .site-header .header-action:hover {
  color: #d95f00;
}

.portal-orange-theme .editor-block,
.portal-orange-theme .editor-preview,
.portal-orange-theme .profile-summary,
.portal-orange-theme .profile-card,
.portal-orange-theme .portfolio-section,
.portal-orange-theme .reviews-section {
  border-color: #e5e7eb;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.portal-orange-theme button:not(.modal-close):not(.gallery-nav) {
  border-color: #ff7400;
}

@media (max-width: 760px) {
  .home-orange-theme .home-action-panel {
    grid-template-columns: auto 1fr;
    width: min(100% - 28px, 1160px);
    padding: 22px;
  }

  .home-orange-theme .action-panel-buttons,
  .home-orange-theme .home-action-panel > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-orange-theme .action-panel-buttons button {
    flex: 1;
  }

  .action-modal {
    padding: 12px;
  }

  .action-modal-dialog {
    max-height: calc(100dvh - 24px);
    padding: 22px;
  }
}
.home-orange-theme .whatsapp-assistant-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-orange-theme .whatsapp-assistant-fab:hover {
  background: #1fb95a;
  transform: translateY(-2px);
}

.home-orange-theme .whatsapp-assistant-fab svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .home-orange-theme .whatsapp-assistant-fab {
    right: 16px;
    bottom: 16px;
  }
}
/* Professional card width safeguards */
.home-orange-theme .professionals-layout,
.home-orange-theme .professional-grid,
.home-orange-theme .professional-card,
.home-orange-theme .card-main,
.home-orange-theme .card-title-row,
.home-orange-theme .card-title-row h3 {
  min-width: 0;
}

.home-orange-theme .professional-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.home-orange-theme .card-title-row h3 {
  flex: 1 1 auto;
  overflow: hidden;
}

.home-orange-theme .profile-link,
.home-orange-theme .profession,
.home-orange-theme .location,
.home-orange-theme .tags span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-orange-theme .rating {
  flex: 0 0 auto;
}
/* Professional card heading refinement */
.home-orange-theme .card-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: start;
  gap: 7px;
}

.home-orange-theme .card-title-row h3 {
  width: 100%;
  overflow: visible;
  line-height: 1.2;
}

.home-orange-theme .profile-link {
  display: inline;
  max-width: 100%;
  text-decoration: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.home-orange-theme .rating {
  justify-self: start;
  white-space: nowrap;
}
.project-delete-modal[hidden] {
  display: none;
}

.project-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.project-delete-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.64);
  backdrop-filter: blur(5px);
}

.project-delete-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(31, 41, 55, 0.28);
  text-align: center;
}

.project-delete-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff0e5;
  color: #d95f00;
  font-size: 1.5rem;
  font-weight: 900;
}

.project-delete-dialog h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1.45rem;
}

.project-delete-dialog p {
  margin: 12px 0 24px;
  color: #64748b;
  line-height: 1.55;
}

.project-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.project-delete-actions button {
  min-height: 44px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.project-delete-actions .secondary {
  border: 1px solid #d9dee5;
  background: #ffffff;
  color: #374151;
}

.project-delete-actions .danger {
  border: 1px solid #dc2626;
  background: #dc2626;
  color: #ffffff;
}

.project-delete-actions .danger:hover {
  background: #b91c1c;
}
.desktop-served-cities {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.desktop-served-cities > p {
  margin: -6px 0 0;
  color: var(--muted);
}

.served-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.served-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 8px 8px 12px;
  border: 1px solid #ffd2b8;
  border-radius: 999px;
  background: #fff4ed;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.served-city-chip button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: #e85d04;
  font-size: 1rem;
  line-height: 1;
}
.desktop-served-cities .autocomplete-list {
  position: static;
  margin-top: 8px;
  max-height: 280px;
  overflow-y: auto;
}
.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-items: stretch;
}

.portfolio-project {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 49, 45, 0.08);
}

.portfolio-project-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  min-height: 190px;
  background: var(--cream);
}

.portfolio-project-photo {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}

.portfolio-project-photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
}

.portfolio-project-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.portfolio-project-copy h3,
.portfolio-project-copy p {
  margin: 0;
}

.portfolio-project-copy p {
  color: var(--muted);
  line-height: 1.5;
}

.portfolio-project-copy span {
  color: #e85d04;
  font-size: 0.82rem;
  font-weight: 800;
}

.project-editor-actions {
  display: flex;
  gap: 8px;
}

.project-editor-actions button {
  flex: 1;
}

@media (max-width: 720px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
/* Portfolio projects: one complete project per row */
.portfolio-section .section-heading h2 {
  max-width: 920px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.portfolio-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.portfolio-project {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  min-height: 300px;
}

.portfolio-project-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 300px;
  max-height: 360px;
}

.portfolio-project-photo:first-child {
  grid-column: auto;
  grid-row: 1 / -1;
}

.portfolio-project-photo:only-child {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.portfolio-project-photo img {
  min-height: 0;
}

.portfolio-project-copy {
  align-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.portfolio-project-copy h3 {
  font-size: 1.55rem;
}

@media (max-width: 760px) {
  .portfolio-section .section-heading h2 {
    font-size: 2rem;
  }

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

  .portfolio-project-images {
    min-height: 240px;
    max-height: 300px;
  }

  .portfolio-project-copy {
    padding: 20px;
  }
}
/* Public profile layout */
.public-profile-page {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 72px;
  color: #1f2937;
}

.public-profile-back {
  display: inline-flex;
  margin: 0 0 20px;
  color: #374151;
  font-weight: 700;
  text-decoration: none;
}

.public-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(290px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.public-profile-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.public-profile-summary,
.public-profile-panel,
.public-sidebar-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.06);
}

.public-profile-summary {
  padding: 28px;
}

.public-profile-identity {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.public-profile-avatar {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  font-size: 2.2rem;
}

.public-profile-intro {
  min-width: 0;
}

.public-profile-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.public-rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 14px;
  color: #64748b;
}

.public-rating-line .card-rating {
  padding: 0;
  background: transparent;
}

.public-rating-line .separator {
  color: #cbd5e1;
}

.public-primary-service {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.public-location,
.public-bio {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.public-bio {
  max-width: 720px;
  margin-top: 14px;
}

.public-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.public-trust-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 800;
}

.public-whatsapp-button {
  width: 100%;
  min-height: 52px;
  border-color: #ff6b00;
  background: #ff6b00;
  color: #fff;
  font-size: 1rem;
}

.public-profile-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 8px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.public-profile-tabs a {
  flex: 0 0 auto;
  padding: 15px 16px 13px;
  border-bottom: 3px solid transparent;
  color: #374151;
  font-weight: 800;
  text-decoration: none;
}

.public-profile-tabs a:first-child,
.public-profile-tabs a:hover {
  border-color: #ff6b00;
  color: #e85d04;
}

.public-profile-panel {
  padding: 22px;
}

.public-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.public-panel-heading h2,
.public-panel-heading p {
  margin: 0;
}

.public-panel-heading h2 {
  font-size: 1.35rem;
}

.public-panel-heading p {
  margin-top: 5px;
  color: #64748b;
}

.public-panel-heading > strong {
  color: #e85d04;
  font-size: 0.86rem;
}

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

.public-portfolio-photo {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.public-portfolio-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.public-portfolio-photo:hover img {
  transform: scale(1.025);
}

.public-review-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.public-review-summary > div {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 18px 12px;
  border-right: 1px solid #e5e7eb;
}

.public-review-summary > div:last-child {
  border-right: 0;
}

.public-review-summary strong {
  font-size: 1.55rem;
}

.public-review-summary span {
  color: #64748b;
  font-size: 0.8rem;
}

.public-reviews-panel .review-board {
  max-width: none;
}

.public-profile-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.public-sidebar-card {
  padding: 22px;
}

.public-sidebar-card h2 {
  margin: 0 0 20px;
  font-size: 1.2rem;
}

.public-sidebar-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.public-sidebar-card dl > div {
  display: grid;
  gap: 4px;
}

.public-sidebar-card dt {
  color: #64748b;
  font-size: 0.82rem;
}

.public-sidebar-card dd {
  margin: 0;
  font-weight: 800;
}

.public-score-box {
  display: grid;
  gap: 7px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  background: #fff4e8;
}

.public-score-box > strong {
  font-size: 1.8rem;
}

.public-score-box > span {
  color: #64748b;
  font-size: 0.82rem;
}

.public-score-stars .card-rating {
  padding: 0;
  background: transparent;
}

.public-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.public-service-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff4e8;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .public-profile-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .public-profile-page {
    width: min(100% - 24px, 1440px);
    padding-top: 16px;
  }

  .public-profile-summary,
  .public-profile-panel,
  .public-sidebar-card {
    padding: 16px;
  }

  .public-profile-identity {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .public-profile-avatar {
    width: 82px;
    height: 82px;
    font-size: 1.2rem;
  }

  .public-profile-intro h1 {
    font-size: 1.55rem;
  }

  .public-trust-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .public-trust-row span {
    text-align: center;
  }

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

  .public-review-summary {
    grid-template-columns: 1fr;
  }

  .public-review-summary > div {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .public-review-summary > div:last-child {
    border-bottom: 0;
  }
}
.professionals-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.professional-view-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.06);
}

.professional-view-switch button {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.professional-view-switch button.active {
  background: #fff1e6;
  color: #f76707;
}

.professional-view-switch svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-orange-theme .professional-grid.list-view {
  grid-template-columns: minmax(0, 1fr);
}

.home-orange-theme .professional-grid.list-view .professional-card {
  min-height: 178px;
  padding: 20px;
}

.home-orange-theme .professional-grid.list-view .avatar {
  flex-basis: 72px;
  width: 72px;
  height: 72px;
}

.home-orange-theme .professional-grid.list-view .card-main {
  grid-template-columns: minmax(0, 1fr) 180px;
  grid-template-rows: auto auto auto 1fr;
  column-gap: 24px;
}

.home-orange-theme .professional-grid.list-view .card-title-row,
.home-orange-theme .professional-grid.list-view .profession,
.home-orange-theme .professional-grid.list-view .location,
.home-orange-theme .professional-grid.list-view .tags {
  grid-column: 1;
}

.home-orange-theme .professional-grid.list-view .card-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.home-orange-theme .professional-grid.list-view .card-title-row h3 {
  width: auto;
  flex: 0 1 auto;
}

.home-orange-theme .professional-grid.list-view .profession {
  min-height: 0;
  margin-top: 7px;
  -webkit-line-clamp: 2;
}

.home-orange-theme .professional-grid.list-view .location {
  margin-bottom: 8px;
}

.home-orange-theme .professional-grid.list-view .tags {
  min-height: 0;
  margin-bottom: 0;
}

.home-orange-theme .professional-grid.list-view .contact-button {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  width: 100%;
}

@media (max-width: 820px) {
  .professional-view-switch {
    display: none;
  }

  .home-orange-theme .professional-grid.list-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-orange-theme .professional-grid.list-view .professional-card {
    min-height: 270px;
  }

  .home-orange-theme .professional-grid.list-view .card-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
  }

  .home-orange-theme .professional-grid.list-view .contact-button {
    grid-column: 1;
    grid-row: auto;
  }
}
.session-expired-card {
  display: grid;
  width: min(520px, calc(100% - 32px));
  justify-items: center;
  gap: 14px;
  margin: 80px auto;
  padding: 38px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 16px 42px rgba(31, 41, 55, 0.09);
}

.session-expired-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #fff1e6;
  color: #e85d04;
  font-size: 1.45rem;
  font-weight: 900;
}

.session-expired-card h1,
.session-expired-card p {
  margin: 0;
}

.session-expired-card p {
  color: var(--muted);
  line-height: 1.5;
}

.session-expired-card a {
  display: grid;
  min-width: 190px;
  min-height: 46px;
  place-items: center;
  border-radius: 7px;
  background: #ff6b00;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
/* City autocomplete must remain neutral inside orange forms */
.home-orange-theme .signup-form .autocomplete-list button,
.portal-orange-theme .autocomplete-list button {
  border-color: #e5e7eb;
  background: #ffffff;
  color: #1f2937;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.home-orange-theme .signup-form .autocomplete-list button:hover,
.home-orange-theme .signup-form .autocomplete-list button:focus-visible,
.portal-orange-theme .autocomplete-list button:hover,
.portal-orange-theme .autocomplete-list button:focus-visible {
  border-color: #ffd2b8;
  background: #fff4e8;
  color: #c2410c;
}
.load-more-professionals {
  display: block;
  min-width: 190px;
  min-height: 48px;
  margin: 24px auto 0;
  padding: 0 24px;
  border: 1px solid #ff6b00;
  border-radius: 7px;
  background: #fff;
  color: #d95700;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.load-more-professionals:hover,
.load-more-professionals:focus-visible {
  background: #fff4e8;
}

.load-more-professionals:disabled {
  cursor: wait;
  opacity: 0.65;
}
/* Hero autocomplete must float above the sections below. */
.home-orange-theme .hero {
  z-index: 2;
  overflow: visible;
}

.home-orange-theme .hero .search-panel {
  position: relative;
  z-index: 4;
}

.home-orange-theme .hero .autocomplete-list {
  z-index: 20;
  align-content: start;
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
}

.home-orange-theme .hero .autocomplete-list button {
  min-height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  background: #ffffff;
  color: #1f2937;
  font-weight: 700;
  text-align: left;
}

.home-orange-theme .hero .autocomplete-list button:hover,
.home-orange-theme .hero .autocomplete-list button:focus-visible {
  background: #fff4e8;
  color: #c2410c;
}
.home-orange-theme .site-header {
  gap: 22px;
}

.home-orange-theme .desktop-nav {
  gap: 26px;
}

.home-orange-theme .header-actions {
  flex: 0 0 auto;
  gap: 8px;
  margin-left: 10px;
}

.header-city-selector {
  display: inline-flex;
  min-width: 0;
  max-width: 220px;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.header-city-selector:hover,
.header-city-selector:focus-visible {
  background: #fff4e8;
  color: #c2410c;
}

.header-city-selector span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-city-pin,
.header-city-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-city-chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

@media (max-width: 1080px) {
  .home-orange-theme .desktop-nav {
    gap: 18px;
  }

  .header-city-selector {
    max-width: 170px;
  }
}

@media (max-width: 900px) {
  .header-city-selector {
    display: none;
  }
}
.home-orange-theme .categories-section {
  position: relative;
}

.category-toggle-button {
  position: absolute;
  top: 30px;
  right: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--orange-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
}

.category-toggle-button:hover,
.category-toggle-button:focus-visible {
  color: var(--orange);
  text-decoration: underline;
}

.category-toggle-button:disabled {
  opacity: 0.55;
}

@media (max-width: 700px) {
  .category-toggle-button {
    position: static;
    display: block;
    margin: 10px auto 0;
  }
}
.home-orange-theme .site-budget-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 40px), 1160px);
  margin: 26px auto 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.07);
}

.home-orange-theme .site-budget-cta strong,
.home-orange-theme .site-budget-cta span {
  display: block;
}

.home-orange-theme .site-budget-cta strong {
  font-size: 1.15rem;
}

.home-orange-theme .site-budget-cta span {
  margin-top: 5px;
  color: var(--slate);
  font-size: 0.88rem;
}

.home-orange-theme .site-budget-cta a {
  min-width: 190px;
  padding: 13px 18px;
  border-radius: 6px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 680px) {
  .home-orange-theme .site-budget-cta {
    grid-template-columns: 1fr;
    gap: 15px;
    width: min(calc(100% - 28px), 1160px);
  }

  .home-orange-theme .site-budget-cta a {
    width: 100%;
  }
}
.opportunities-page {
  min-height: calc(100vh - 82px);
  padding: 38px max(24px, calc((100vw - 1180px) / 2)) 72px;
  background: #f7f8fa;
}

.opportunities-page-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.opportunities-page-heading .section-kicker {
  color: #ff6b00;
}

.opportunities-page-heading h1 {
  margin: 8px 0 10px;
  color: #172033;
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  line-height: 1.12;
}

.opportunities-page-heading p {
  margin: 0;
  color: #64748b;
  font-size: 0.96rem;
}

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

.opportunity-card,
.opportunity-empty {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  background: #fff;
}

.opportunity-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.opportunity-card-heading span {
  color: #ff6b00;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.opportunity-card h2,
.opportunity-empty h2 {
  margin: 6px 0 0;
  color: #172033;
  font-size: 1.25rem;
}

.opportunity-card time {
  color: #64748b;
  white-space: nowrap;
}

.opportunity-card > p,
.opportunity-empty p {
  color: #475569;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.opportunity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opportunity-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3e8;
  color: #a94400;
  font-size: 0.82rem;
  font-weight: 700;
}

.opportunity-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.opportunity-empty a {
  display: inline-block;
  margin-top: 8px;
  color: #e85f00;
  font-weight: 800;
}

@media (max-width: 760px) {
  .opportunities-page {
    padding: 30px 16px 100px;
  }

  .opportunities-grid {
    grid-template-columns: 1fr;
  }
}
.budget-workspace-section + .budget-workspace-section {
  margin-top: 34px;
}

.budget-workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.budget-workspace-heading span {
  color: #ff6b00;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.budget-workspace-heading h2 {
  margin: 4px 0 0;
  color: #172033;
  font-size: 1.35rem;
  line-height: 1.2;
}

.budget-workspace-heading p {
  margin: 0;
  color: #64748b;
}

.opportunity-primary-action,
.opportunity-whatsapp-action,
.opportunity-secondary-action {
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.opportunity-primary-action {
  width: 100%;
  border: 0;
  background: #ff6b00;
  color: #fff;
}

.opportunity-status {
  color: #a94400;
  font-size: 0.82rem;
}

.opportunity-owned.is-complete {
  opacity: 0.72;
}

.opportunity-client-data {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 6px;
  background: #f7f8fa;
}

.opportunity-card-actions {
  display: flex;
  gap: 10px;
}

.opportunity-card-actions button {
  flex: 1;
}

.opportunity-whatsapp-action {
  border: 0;
  background: #20a957;
  color: #fff;
}

.opportunity-secondary-action {
  border: 1px solid #d7dce1;
  background: #fff;
  color: #344054;
}

@media (max-width: 760px) {
  .budget-workspace-heading,
  .opportunity-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .budget-workspace-heading {
    gap: 6px;
  }
}

/* Perfil verificado pela Concluir */
.card-title-row h3,
.public-profile-intro h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.verified-badge > span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
}

.verified-badge.compact {
  margin-left: 6px;
}

.verified-badge.compact > span {
  width: 17px;
  height: 17px;
}

.public-service-areas {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.45;
}

.public-service-areas strong,
.public-location strong {
  color: var(--ink);
}

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

.opportunity-primary-action:disabled {
  opacity: 0.68;
  cursor: default;
}

.site-close-budget {
  width: 100%;
  margin-top: 14px;
}
.site-interested-professionals {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.site-interested-professionals h3 {
  margin: 0 0 2px;
  font-size: 0.95rem;
}

.site-interested-professionals a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #202938;
  text-decoration: none;
}

.site-interested-professionals a span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.site-interested-professionals small {
  overflow: hidden;
  color: #667085;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-interested-professionals b {
  color: #d95700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.site-interested-empty {
  color: #667085;
}
.site-client-budget-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.site-client-budget-actions > button:only-child {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .site-client-budget-actions {
    grid-template-columns: 1fr;
  }
}
/* Orcamentos: header e estados de acao alinhados ao portal */

.opportunity-secondary-action:hover {
  border-color: #b8c0cc;
  background: #f8fafc;
  color: #344054;
  transform: none;
}

.site-client-budget-actions .site-cancel-budget {
  border-color: #d0d5dd;
  background: #fff;
  color: #667085;
}

.site-client-budget-actions .site-close-budget {
  border-color: #ff9a4d;
  background: #fff;
  color: #c65100;
}

.site-client-budget-actions .opportunity-secondary-action {
  width: 100%;
  margin: 0;
  transform: none;
}

.site-client-budget-actions .site-cancel-budget:hover {
  border-color: #b8c0cc;
  background: #f8fafc;
  color: #344054;
  transform: none;
}

.site-client-budget-actions .site-close-budget:hover {
  border-color: #ff9a4d;
  background: #fff4e8;
  color: #c65100;
  transform: none;
}

.opportunity-primary-action:not(:disabled):hover {
  background: #d95f00;
  transform: none;
}

.opportunity-whatsapp-action:hover {
  background: #168a45;
  transform: none;
}
.header-city-control {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

.header-city-picker[hidden] {
  display: none;
}

.header-city-picker {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid #e2e6eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(31, 41, 55, 0.18);
}

.header-city-picker > label {
  display: block;
  margin-bottom: 9px;
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 800;
}

.header-city-search-row {
  position: relative;
}

.header-city-search-row input {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 12px;
  border: 1px solid #d9dee5;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #1f2937;
}

.header-city-search-row input:focus {
  border-color: #ff8a33;
  box-shadow: 0 0 0 3px rgba(255, 116, 0, 0.12);
}

.header-city-search-row button {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  transform: translateY(-50%);
}

.header-city-search-row button:hover {
  background: #f3f4f6;
  color: #1f2937;
  transform: translateY(-50%);
}

.header-city-options {
  display: grid;
  gap: 3px;
  max-height: 280px;
  margin-top: 10px;
  overflow-y: auto;
}

.header-city-options button {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
  transform: none;
}

.header-city-options button:hover,
.header-city-options button:focus-visible {
  background: #fff4e8;
  color: #c65100;
  transform: none;
}

.header-city-options p {
  margin: 6px 4px;
  color: #64748b;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .header-city-control {
    display: none;
  }
}
/* Acoes do cabecalho de orcamentos */
.opportunities-page-heading {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.opportunities-page-heading > div {
  max-width: 720px;
}

.opportunities-page-heading > button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: #ff6b00;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.opportunities-page-heading > button:hover {
  background: #d95f00;
  transform: none;
}

@media (max-width: 760px) {
  .opportunities-page-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .opportunities-page-heading > button {
    width: 100%;
  }
}
/* Chips do perfil publico */
.public-sidebar-card dd.public-info-chips,
.public-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 400;
}

.public-info-chip {
  padding: 8px 12px;
  border-color: #ffd2b8;
  background: #fff4ed;
  color: #374151;
  font-size: 0.8rem;
}

.public-service-tags .public-info-chip {
  padding: 8px 12px;
  border: 1px solid #ffd2b8;
  background: #fff4ed;
}

.public-info-empty {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 500;
}