/* Публичная страница компании — лендинг */

body.employer-landing-page .page-wrap {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.employer-land {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

.employer-land__container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* —— Hero —— */
.employer-land__hero {
  position: relative;
  padding: 28px 0 52px;
  color: #fff;
  overflow: hidden;
  min-height: 320px;
}

.employer-land__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(34, 197, 94, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 80% at 100% 30%, rgba(59, 130, 246, 0.2), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #152238 38%, #0f3d5c 72%, #0c2a3d 100%);
}

.employer-land__hero-visual {
  position: absolute;
  top: -8%;
  right: -6%;
  width: min(52vw, 560px);
  height: 115%;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  mask-image: linear-gradient(105deg, transparent 8%, rgba(0, 0, 0, 0.85) 42%, #000 100%);
  -webkit-mask-image: linear-gradient(105deg, transparent 8%, rgba(0, 0, 0, 0.85) 42%, #000 100%);
  filter: saturate(1.05) blur(0);
  pointer-events: none;
}

.employer-land__hero-inner {
  position: relative;
  z-index: 2;
}

.employer-land__crumbs {
  margin-bottom: 22px;
}

.employer-land__crumbs .breadcrumbs {
  margin-bottom: 0;
}

.employer-land__crumbs .breadcrumbs__item a {
  color: rgba(226, 232, 240, 0.88);
}

.employer-land__crumbs .breadcrumbs__item a:hover {
  color: #fff;
}

.employer-land__crumbs .breadcrumbs__item:not(:last-child)::after {
  color: rgba(148, 163, 184, 0.7);
}

.employer-land__crumbs .breadcrumbs__item span[aria-current] {
  color: #fff;
  font-weight: 600;
}

.employer-land__hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 28px;
  align-items: start;
}

.employer-land__hero-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.employer-land__logo {
  width: 104px;
  height: 104px;
  border-radius: 20px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.employer-land__logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.employer-land__logo--ph svg {
  width: 48px;
  height: 48px;
}

.employer-land__hero-text {
  flex: 1;
  min-width: 0;
}

.employer-land__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.employer-land__badge {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}

.employer-land__badge--muted {
  opacity: 0.9;
}

.employer-land__badge--rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fef3c7;
  transition: background 0.15s, transform 0.15s;
}

.employer-land__badge--rating:hover {
  background: rgba(251, 191, 36, 0.32);
  color: #fff;
  transform: translateY(-1px);
}

.employer-land__badge-stars {
  letter-spacing: 1px;
  color: #fbbf24;
  font-size: 11px;
}

.employer-land__badge-rating-meta {
  font-weight: 600;
  opacity: 0.9;
}

.employer-land__rating-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 360px;
}

.employer-land__rating-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.employer-land__rating-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.employer-land__rating-of {
  font-size: 1rem;
  font-weight: 700;
  color: #94a3b8;
}

.employer-land__rating-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.employer-stars--lg .employer-stars__star {
  font-size: 1.15rem;
}

.employer-land__rating-caption {
  font-size: 13px;
  color: #cbd5e1;
}

.employer-land__hero .company-verified {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.employer-land__hero .company-verified__text {
  color: #bbf7d0;
}

.employer-land__title {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.employer-land__rating {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #cbd5e1;
}

.employer-land__rating strong {
  color: #fff;
  font-size: 17px;
}

.employer-land__rating--muted {
  color: #94a3b8;
}

.employer-land__tagline {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
  max-width: 52ch;
}

.employer-land__hero .employer-stars__star {
  color: rgba(255, 255, 255, 0.28);
}

.employer-land__hero .employer-stars__star.is-on {
  color: #fbbf24;
}

.employer-land__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.employer-land__btn-ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.employer-land__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Контакты в hero */
.employer-land__hero-side {
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.employer-land__contacts-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.employer-land__hero-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.employer-land__hero-contact-k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 3px;
}

.employer-land__hero-contact-v {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
  text-decoration: none;
}

a.employer-land__hero-contact-v:hover {
  color: #86efac;
  text-decoration: underline;
}

/* Nav */
.employer-land__nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.employer-land__nav-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 12px;
  padding-bottom: 12px;
}

.employer-land__nav-inner::-webkit-scrollbar {
  display: none;
}

.employer-land__nav-link {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.employer-land__nav-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.employer-land__nav-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}

/* Sections */
.employer-land__section {
  padding: 52px 0;
}

.employer-land__section--vacancies {
  background: #fff;
  padding-top: 44px;
  border-bottom: 1px solid #e2e8f0;
}

.employer-land__section-head {
  margin-bottom: 28px;
}

.employer-land__section-head--light .employer-land__section-title {
  color: #fff;
}

.employer-land__section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.employer-land__section-title .oklad-icon svg {
  width: 26px;
  height: 26px;
  color: #64748b;
}

.employer-land__section-lead {
  margin: 8px 0 0;
  font-size: 15px;
  color: #64748b;
}

.employer-land__section-lead--light {
  color: #94a3b8;
}

.employer-land__prose-card {
  padding: 28px 32px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
}

.employer-land__prose {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  max-width: 75ch;
}

.employer-land__vacancies {
  margin-top: 0;
}

/* Photos — bento */
.employer-land__section--photos {
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  padding-bottom: 64px;
}

.employer-land__section--photos .employer-land__section-title .oklad-icon svg {
  color: #93c5fd;
}

.employer-land__gallery--bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
}

.employer-land__gallery-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.employer-land__gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.employer-land__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.employer-land__gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
  backdrop-filter: blur(6px);
}

.employer-land__gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.28);
}

.employer-land__gallery-item:hover img {
  transform: scale(1.06);
}

.employer-land__gallery-item:hover .employer-land__gallery-zoom {
  opacity: 1;
}

.employer-land__section--reviews {
  background: #f8fafc;
}

.employer-land__review-form {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  border-radius: 16px;
}

/* Reviews */
.employer-stars__star,
.employer-review__stars span {
  color: #cbd5e1;
}

.employer-stars__star.is-on,
.employer-review__stars .is-on {
  color: #f59e0b;
}

.employer-empty {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.employer-empty--inline {
  margin-bottom: 20px;
}

.employer-reviews-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.employer-review {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.employer-review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 14px;
}

.employer-review__head time {
  color: #94a3b8;
  font-size: 13px;
  margin-left: auto;
}

.employer-review__body {
  margin: 0;
  line-height: 1.65;
  font-size: 15px;
  color: #334155;
}

.employer-review-form-wrap {
  margin-top: 8px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.employer-review-form__title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 800;
}

.employer-review-form__lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: #64748b;
}

.employer-review-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.employer-review-form__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.employer-review-form__field input,
.employer-review-form__field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}

.employer-review-form__field input:focus,
.employer-review-form__field textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.employer-review-form__rating {
  border: none;
  margin: 0 0 12px;
  padding: 0;
}

.employer-review-form__rating legend {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.employer-review-form__stars-input {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.employer-review-form__star-label {
  cursor: pointer;
}

.employer-review-form__star-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.employer-review-form__star-label span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}

.employer-review-form__star-label input:checked + span {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #15803d;
}

.employer-review-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.employer-review-form__resend {
  margin-top: 8px;
  padding: 0;
  font-size: 13px;
}

.employer-review-form__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.employer-review-flash {
  margin-bottom: 16px;
}

.employer-gallery-admin {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--p24-border, #e2e8f0);
}

.employer-gallery-admin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.employer-gallery-admin__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.employer-gallery-admin__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employer-gallery-admin__del {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 8px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.employer-public-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .employer-land__hero-grid {
    grid-template-columns: 1fr;
  }

  .employer-land__hero-side {
    max-width: 420px;
  }

  .employer-land__hero-visual {
    width: 70vw;
    opacity: 0.22;
  }

  .employer-land__gallery--bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }

  .employer-land__gallery-item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .employer-land__hero {
    padding: 20px 0 36px;
    min-height: 0;
  }

  .employer-land__hero-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .employer-land__hero-visual {
    top: 0;
    right: 0;
    width: 100%;
    height: 55%;
    opacity: 0.18;
    mask-image: linear-gradient(180deg, transparent, #000 80%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 80%);
  }

  .employer-land__badges,
  .employer-land__rating,
  .employer-land__hero-actions {
    justify-content: flex-start;
  }

  .employer-land__hero-side {
    max-width: none;
    width: 100%;
  }

  .employer-land__section {
    padding: 40px 0;
  }

  .employer-land__prose-card {
    padding: 20px;
  }

  .employer-land__gallery--bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 110px;
  }

  .employer-review__head time {
    margin-left: 0;
    width: 100%;
  }

  .employer-review-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .employer-land__nav-link.is-active {
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  }
}
