/* Pagina publică: antet, navigare și siglă. */
.start-page {
  --public-width: 1440px;
  --public-gutter: 32px;
  background: #f7f8f5;
  color: #17262e;
}
.start-page .sidebar,
.start-page .topbar {
  display: none;
}
.start-page .main-content {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}
.start-page .start-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--public-width, 1440px);
  margin: auto;
  min-height: 70px;
  padding: 10px 0;
  box-sizing: border-box;
  border-bottom: 1px solid #edf0ee;
}
@media (min-width: 761px) {
  .start-page:is(.client-account, .handyman-account) .start-header,
  .start-page:has(#client-view.is-visible) .start-header {
    position: relative;
    z-index: 3;
    width: calc(100% - 2 * var(--public-gutter, 32px));
    margin-bottom: 12px;
    top: 12px;
    padding: 12px 18px;
    background: #ffffffed;
    border: 1px solid #edf0ee;
    border-radius: 16px;
    min-height: 66px;
  }
  .start-page:has(#client-view.is-visible) .start-header {
    margin-bottom: -90px;
  }
}
.start-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #092b2a;
  font-size: calc((32px) * var(--mobile-type-scale, 1));
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
  white-space: nowrap;
}
.start-header nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  min-width: 0;
}
.start-header > nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 6px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: calc((12px) * var(--mobile-type-scale, 1));
  color: #17262e;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.start-header > nav :is(a, button):is(.is-active, :hover) {
  background: var(--green-light);
  border-color: var(--line);
  color: var(--green-dark);
}
.start-page .button-primary {
  background: linear-gradient(120deg, #20744f, #216448);
  color: #fff;
  border-radius: 10px;
  box-shadow: none;
  font-size: calc((17px) * var(--mobile-type-scale, 1));
  font-weight: 700;
  min-height: 54px;
  padding: 12px 30px;
}
.start-page #client-view {
  padding: 0;
}
.v3-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.start-header .v3-header-actions > .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: calc((11px) * var(--mobile-type-scale, 1));
  line-height: 1.4;
}
.v3-header-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 38px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: calc((11px) * var(--mobile-type-scale, 1));
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
}
.start-header [hidden] {
  display: none !important;
}
.start-brand.brand-custom-logo img {
  width: auto;
  height: 50px;
  max-width: 230px;
  object-fit: contain;
  flex: none;
}
@media (max-width: 1500px) {
  .start-page .start-header {
    margin-left: 32px;
    margin-right: 32px;
  }
}
@media (max-width: 1100px) {
  .start-header nav {
    gap: 4px;
  }
  .start-header > nav :is(a, button) {
    font-size: calc((11px) * var(--mobile-type-scale, 1));
    padding: 7px;
  }
  .v3-header-actions {
    gap: 6px;
  }
}
@media (max-width: 760px) {
  .start-page .start-header,
  .start-page:has(#client-view.is-visible) .start-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    margin: 0;
    top: 0;
    padding: 12px 14px;
    gap: 10px 8px;
    border-radius: 0;
    min-height: 64px;
  }
  .start-page .start-brand {
    font-size: calc((21px) * var(--mobile-type-scale, 1));
    gap: 6px;
    letter-spacing: -0.7px;
    min-width: 0;
  }
  .start-brand.brand-custom-logo img {
    height: 36px;
    max-width: 160px;
  }
  .v3-header-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .start-page .v3-header-actions > .button:not([hidden]) {
    display: inline-flex;
    min-height: 38px;
    padding: 8px;
    font-size: calc((10px) * var(--mobile-type-scale, 1));
    white-space: nowrap;
  }
  .start-header > nav {
    display: flex;
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    gap: 4px;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .start-header > nav :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: calc((11px) * var(--mobile-type-scale, 1));
    font-weight: 400;
    line-height: 1.4;
    min-height: 40px;
    padding: 7px 4px;
    white-space: nowrap;
  }
  .v3-header-language {
    padding: 4px;
    font-size: calc((11px) * var(--mobile-type-scale, 1));
  }
}
@media (max-width: 360px) {
  .start-page .start-header {
    padding-left: 10px;
    padding-right: 10px;
    column-gap: 4px;
  }
  .start-page .start-brand {
    font-size: calc((19px) * var(--mobile-type-scale, 1));
  }
  .start-page .v3-header-actions > .button:not([hidden]) {
    font-size: calc((9px) * var(--mobile-type-scale, 1));
    padding: 7px 5px;
  }
}

@media (min-width: 2200px) {
  .start-page {
    --public-width: 1600px;
  }
}
@media (min-width: 3200px) {
  .start-page {
    --public-width: 1800px;
  }
}
@media (max-width: 650px) {
  .start-page {
    --public-gutter: 18px;
  }
}
