/* Работа в Недра Нежин — landing content (portal chrome is separate) */
#nn-landing {
  --nn-bg: #ffffff;
  --nn-bg-soft: #eef2f6;
  --nn-ink: #0e1c29;
  --nn-ink-soft: #515c6b;
  --nn-navy: #0f2438;
  --nn-navy-2: #1b364f;
  --nn-teal: #0f7a7e;
  --nn-teal-2: #14a3a8;
  --nn-accent: #9b344d;
  --nn-accent-2: #b24a62;
  --nn-line: #dce3ea;
  color: var(--nn-ink);
  font-family: var(--fontdefault, "Manrope", sans-serif);
  background: var(--nn-bg);
  overflow-x: hidden;
}

#nn-landing .nn-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

#nn-landing h1,
#nn-landing h2,
#nn-landing h3 {
  margin: 0 0 16px;
  line-height: 1.15;
}

#nn-landing h1 {
  font-family: "esol-head-bold", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#nn-landing h2 {
  font-family: "strong-demi", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--marganetc, linear-gradient(90deg, #A93954 8.71%, #752639 83.28%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#nn-landing h3 {
  font-family: "esolic", sans-serif;
  font-weight: normal;
  color: #1b364f;
  letter-spacing: 0.02em;
}

#nn-landing #benefits h3 {
  color: #219A9A;
}

#nn-landing p {
  margin: 0 0 14px;
  color: var(--nn-ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

#nn-landing a {
  text-decoration: none;
}

/* Reveal */
#nn-landing [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
#nn-landing [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  #nn-landing [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.nn-hero {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  color: #fff;
  background: #1a1a1a;
}
.nn-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.nn-hero__media-pc,
.nn-hero__media-mob {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.nn-hero__media-pc {
  display: block;
}
.nn-hero__media-mob {
  display: none;
}
.nn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.04) 62%, transparent 82%),
    linear-gradient(105deg, transparent 45%, rgba(120, 190, 215, 0.18) 78%, rgba(120, 190, 215, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 40%, rgba(0, 0, 0, 0.14) 100%);
}
.nn-hero .nn-wrap {
  position: relative;
  z-index: 2;
}
.nn-hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 28px;
}
.nn-hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.nn-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78d7db;
}
.nn-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: min(100%, 20ch);
  margin-bottom: 20px;
  color: #fff;
}
.nn-hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 46ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88) !important;
}

.nn-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .nn-badges {
    grid-template-columns: 1fr 1fr;
  }
}
.nn-badges li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.nn-badges__icon {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(20, 163, 168, 0.22);
  color: #7ee0e4;
}
.nn-badges__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nn-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
}

.nn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 28px;
  border-radius: 12px;
  border: none;
  background: var(--marganetc, linear-gradient(90deg, #A93954 8.71%, #752639 83.28%));
  color: #fff !important;
  font-family: "strong-demi", "strong", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 8px 24px rgba(169, 57, 84, 0.38);
}
.nn-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff !important;
}
.nn-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.nn-btn--ghost:hover {
  border-color: #7ee0e4;
  color: #7ee0e4 !important;
  filter: none;
}
.nn-btn--on-dark {
  background: var(--marganetc, linear-gradient(90deg, #A93954 8.71%, #752639 83.28%));
  box-shadow: 0 8px 24px rgba(169, 57, 84, 0.38);
}

/* Sections */
.nn-section {
  padding: 88px 0;
}
.nn-section--soft {
  background: var(--nn-bg-soft);
}
#benefits.nn-section--soft {
  background: var(--light-grey-bg, linear-gradient(183deg, #EBEFF6 3.93%, #D2DDF0 15.32%, #DCE2EE 51.2%, #EBEFF6 86.56%));
}
.nn-section--navy {
  background: linear-gradient(160deg, #0e1c29 0%, #1b364f 62%, #0f4f55 140%);
  color: #fff;
}
#contacts.nn-section--navy {
  position: relative;
  background: url("../img/emerald-bg.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  #contacts.nn-section--navy {
    background-attachment: scroll;
  }
}
.nn-section--navy p {
  color: rgba(255, 255, 255, 0.78);
}
.nn-section--navy .nn-section__head h2 {
  color: #f0c56e;
}
#contacts .nn-section__head h2 {
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
#contacts .nn-section__head p {
  color: #fff !important;
}
.nn-section__head {
  max-width: 640px;
  margin-bottom: 48px;
}
.nn-section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.nn-section__head p {
  font-size: 18px;
  margin: 0;
}

/* Vacancies */
#vacancies {
  position: relative;
  overflow: hidden;
  background-color: #eaeef6;
  --glow-left: #70afb161;
  --glow-right: #d2d9e5;
  background-image:
    radial-gradient(circle, var(--glow-left) 10%, transparent 39%),
    radial-gradient(circle, var(--glow-right) 0%, #ebeff600 50%);
  background-position: -28vw -120px, 40vw -200px;
  background-repeat: no-repeat;
}
#vacancies > .nn-wrap {
  position: relative;
  z-index: 1;
}
.nn-vac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .nn-vac-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
@media (min-width: 1024px) {
  .nn-vac-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.nn-vac {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(14, 28, 41, 0.06);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.nn-vac:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 40px rgba(14, 28, 41, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
}
.nn-vac__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(15, 122, 126, 0.1);
  color: var(--nn-teal);
}
.nn-vac__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nn-vac h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1b364f;
}
.nn-vac__meta {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--nn-ink-soft);
  flex: 1;
}
.nn-vac__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: "strong-demi", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--nn-teal) !important;
  transition: color 0.2s;
}
.nn-vac__link::after {
  content: "→";
  transition: transform 0.2s;
}
.nn-vac__link:hover {
  color: #9b344d !important;
}
.nn-vac__link:hover::after {
  transform: translateX(3px);
}

.legal-notice {
  margin: 20px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--nn-ink-soft) !important;
  opacity: 0.7;
}

/* Bento */
.nn-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .nn-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .nn-bento__card--large {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .nn-bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .nn-bento__card:nth-child(1) { grid-column: span 4; }
  .nn-bento__card:nth-child(2) { grid-column: span 2; }
  .nn-bento__card:nth-child(3),
  .nn-bento__card:nth-child(4) { grid-column: span 3; }
  .nn-bento__card:nth-child(5) { grid-column: 1 / -1; }
}
.nn-bento__card {
  padding: 28px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--nn-line);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nn-bento__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(14, 28, 41, 0.07);
}
.nn-bento__card--accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: transparent;
  color: #fff;
  background: url("../img/chelovek.jpg") right center / cover no-repeat;
  min-height: 220px;
}
.nn-bento__card--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(70% 120% at -8% 10%, rgba(187, 213, 226, 0.83) 0%, rgba(187, 213, 226, 0.00) 58%);
}
.nn-bento__card--accent > * {
  position: relative;
  z-index: 1;
}
.nn-bento__card--accent h3 {
  color: #219A9A;
}
.nn-bento__card--accent p {
  color: #fff;
  max-width: 42ch;
}
.nn-bento__card--accent .nn-bento__icon {
  background: rgb(255 255 255 / 22%);
  color: #A93954;
}
.nn-bento__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(169, 57, 84, 0.12);
  color: #A93954;
}
.nn-bento__icon svg {
  width: 26px;
  height: 26px;
  stroke: #A93954;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nn-bento__card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.nn-bento__card p {
  margin: 0;
  font-size: 16px;
}

/* Contacts */
.nn-contacts {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .nn-contacts {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: start;
  }
}
.nn-contacts__list {
  display: grid;
  gap: 14px;
}
.nn-contact-card {
  display: block;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.nn-contact-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(126, 224, 228, 0.45);
}
.nn-contact-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.nn-contact-card__value {
  display: block;
  font-family: "strong-demi", "strong", sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  color: #fff !important;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.nn-contact-card__value small {
  font-family: var(--fontdefault, Manrope, sans-serif);
  font-size: 0.7em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.nn-contact-card--mail .nn-contact-card__value {
  font-size: clamp(18px, 2.2vw, 22px);
  word-break: break-word;
}

.nn-contacts__photo {
  margin: 0 0 20px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.nn-contacts__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.nn-contacts__addr {
  margin: 0 0 16px !important;
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.78) !important;
}
.nn-contacts__addr strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: "strong-demi", sans-serif;
  font-weight: 600;
}
.nn-contacts__cta {
  margin: 0 0 8px !important;
  font-family: "strong-demi", sans-serif;
  font-size: 18px !important;
  color: #973551 !important;
}

@media (max-width: 767px) {
  .nn-hero {
    padding: 48px 0 56px;
  }
  .nn-hero__media-pc {
    display: none;
  }
  .nn-hero__media-mob {
    display: block;
  }
  .nn-hero__logo {
    width: 60px;
    height: 60px;
  }
  .nn-section {
    padding: 56px 0;
  }
  .nn-hero__cta {
    width: 100%;
  }
  .nn-hero__cta .nn-btn {
    width: 100%;
  }
  #vacancies {
    --glow-left: transparent;
    --glow-right: transparent;
    background-image: none;
    background-color: #eaeef6;
  }
  .nn-bento__card--accent {
    background-image: url("../img/koper.jpg");
    background-position: center center;
  }
  .nn-bento__card--accent::before {
    background: radial-gradient(90% 90% at 20% 0%, rgba(187, 213, 226, 0.75) 0%, rgba(187, 213, 226, 0.00) 70%);
  }
}
