

/* Start:/bitrix/templates/kpera2k26/template_styles.css?178912259934166*/
/* ============================================
   Кольское предприятие ЭРА — Main Stylesheet
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Inter';
  src: url('/bitrix/templates/kpera2k26/fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/bitrix/templates/kpera2k26/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/bitrix/templates/kpera2k26/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/bitrix/templates/kpera2k26/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/bitrix/templates/kpera2k26/fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/bitrix/templates/kpera2k26/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/bitrix/templates/kpera2k26/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/bitrix/templates/kpera2k26/fonts/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Variables --- */
:root {
  --c-bg: #ffffff;
  --c-ink: #0f172a;
  --c-accent: #2563eb;
  --c-line: #e2e8f0;
  --c-surface: #f8fafc;
  --f-sans: 'Inter', sans-serif;
  --f-display: 'Space Grotesk', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-sans);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Background Pattern --- */
.grid-bg {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0 50 10 T 100 10' fill='none' stroke='%232563eb' stroke-width='0.5' opacity='0.07'/%3E%3C/svg%3E");
  background-size: 200px 40px;
  z-index: -1;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--c-line);
}

/* Bitrix admin panel compatibility: push fixed UI below the panel */
body.has-bx-panel .nav { top: var(--bx-panel-height, 39px); }
body.has-bx-panel .mobile-menu { top: var(--bx-panel-height, 39px); }

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 100%;
  padding: 0 40px;
  height: 100px;
  display: flex;
  align-items: center;
  transition: height 0.3s ease;
  gap: 24px;
}

.nav.scrolled .nav-inner {
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 85px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.nav.scrolled .logo img {
  height: 45px;
}

.logo-text {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--c-ink);
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  height: 100%;
  align-items: center;
  flex: 1 1 0;
  justify-content: flex-end;
  min-width: 0;
}

.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(6px, 0.8vw, 18px);
  text-decoration: none;
  color: var(--c-ink);
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
  gap: 5px;
  white-space: nowrap;
}

.nav-link svg {
  width: 11px;
  height: 11px;
  transition: transform 0.3s ease;
  opacity: 0.4;
}

.nav-item-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 3px;
  background: var(--c-accent);
  opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
}

.nav-link:hover {
  color: var(--c-accent);
}

/* CTA button */
.btn-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  color: white;
  padding: 14px 28px;
  font-size: clamp(0.65rem, 0.7vw, 0.78rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid var(--c-ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav:hover {
  background: var(--c-accent);
  color: white;
  border-color: var(--c-accent);
}

.btn-nav-icon {
  display: none;
  width: 20px;
  height: 20px;
}

@media (max-width: 1200px) {
  .btn-nav {
    padding: 10px;
    background: transparent;
    color: var(--c-ink);
    border: 1px solid var(--c-line);
  }
  .btn-nav:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
  }
  .btn-nav-text { display: none; }
  .btn-nav-icon { display: block; }
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
  height: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 260px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  border-top: 3px solid var(--c-accent);
  padding: 8px 0;
}

.nav-item-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-link {
  color: var(--c-ink);
  padding: 12px 24px;
  text-decoration: none;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s, background-color 0.2s;
  text-align: left;
}

.dropdown-link:hover {
  background-color: var(--c-surface);
  color: var(--c-accent);
}

/* ============================================
   Burger Button
   ============================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1100;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   Mobile Menu Overlay
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding-top: 80px;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.mobile-menu-link {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink);
  padding: 8px 0;
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: var(--c-accent);
}

.mobile-menu-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--c-ink);
  opacity: 0.5;
  padding: 4px 0;
  transition: opacity 0.2s, color 0.2s;
}

.mobile-menu-sub:hover {
  opacity: 1;
  color: var(--c-accent);
}

.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.mobile-menu-phone {
  font-family: var(--f-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
}

.mobile-menu-email {
  font-size: 0.85rem;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 700;
}

.mobile-menu-btn {
  width: 100%;
  text-align: center;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--c-ink);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  padding: 0 80px;
  max-width: 1000px;
  margin-top: 100px;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  margin: 0 0 40px 0;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.7;
  max-width: 500px;
  margin-bottom: 60px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 20px 40px;
  background: var(--c-accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--c-accent);
  color: white;
}

.btn--dark {
  background: var(--c-ink);
}

.btn--sm {
  padding: 12px 24px;
  font-size: 0.65rem;
}

/* ============================================
   Sections — Common
   ============================================ */
section {
  padding: 120px 80px;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

.section-alt {
  background: var(--c-surface);
}

.section-dark {
  background: var(--c-ink);
  color: white;
}

.section-title {
  font-family: var(--f-display);
  font-size: 4rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 80px 0;
}

.section-title--sm {
  font-size: 3rem;
  margin-bottom: 40px;
}

.section-dark .section-title {
  color: white;
}

/* ============================================
   About
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 80px;
}

.about-label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.section-dark .about-label {
  color: white;
  opacity: 0.5;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 300;
}

.advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.adv-item {
  padding: 30px 0;
  border-top: 1px solid var(--c-line);
}

.adv-item:first-child {
  border-top: none;
}

.adv-title {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.adv-desc {
  font-size: 0.9rem;
  opacity: 0.6;
}

.section-dark .adv-item {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section-dark .adv-desc {
  opacity: 0.4;
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-ink);
  border: 1px solid var(--c-ink);
}

.service-card {
  background: white;
  padding: 60px 40px;
  transition: all 0.3s;
  color: var(--c-ink);
}

.service-card:hover {
  background: var(--c-accent);
  color: white;
}

.service-card:hover p {
  opacity: 0.8;
}

.service-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.service-card p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
  margin: 0;
}

.services-more {
  margin-top: 60px;
  text-align: center;
}

/* ============================================
   Projects
   ============================================ */
.projects-intro {
  margin-bottom: 60px;
  font-size: 1.125rem;
  opacity: 0.6;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.project-item {
  background: white;
  position: relative;
  overflow: hidden;
}

.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s;
  display: block;
}

.project-item:hover .project-img {
  transform: scale(1.05);
}

/* Awards page: show scans fully, no cropping */
.awards-grid {
  background: transparent;
  border: none;
  gap: 20px;
}
.awards-grid .project-item {
  background: transparent;
}
.awards-grid .project-img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.project-info {
  padding: 40px;
}

.project-info h4 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.project-info p {
  font-size: 0.85rem;
  opacity: 0.5;
  font-style: italic;
  margin: 0;
}

.projects-more {
  margin-top: 60px;
  text-align: center;
}

/* ============================================
   News
   ============================================ */
.news-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}

.news-card {
  padding: 40px 0;
  border-top: 1px solid var(--c-ink);
}

.news-card h4 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.news-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-title-link:hover {
  color: var(--c-accent);
}

.news-card p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin: 0 0 30px 0;
  line-height: 1.6;
}

.news-more {
  margin-top: 60px;
  text-align: center;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.contact-intro {
  font-size: 1.125rem;
  opacity: 0.6;
  margin-bottom: 60px;
}

.contact-block {
  margin-bottom: 60px;
}

.contact-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 15px;
  display: block;
}

.contact-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-value--sm {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-link {
  color: var(--c-ink);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--c-accent);
}

.map-box {
  border: 1px solid var(--c-line);
  min-height: 400px;
  position: relative;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.contact-more {
  margin-top: 60px;
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--c-ink);
  color: white;
  padding: 100px 80px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  text-align: left;
  margin-bottom: 80px;
}

.footer-logo img {
  height: 100px;
  width: auto;
  margin-bottom: 25px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.6;
  max-width: 360px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact-item {
  margin-bottom: 25px;
}

.footer-contact-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 5px;
}

.footer-contact-value {
  font-size: 1rem;
  font-weight: 600;
}

.footer-contact-link {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--c-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.4;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-dev-link {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-dev-link:hover {
  opacity: 0.7;
}

/* ============================================
   Inner Pages
   ============================================ */
/* Hide wave background on inner pages */
.page-body .grid-bg {
  display: none;
}

.page-header {
  position: relative;
  color: white;
  padding: 50px 0;
  padding-top: 150px;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1;
}

.page-header-inner {
  padding: 0 80px;
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-family: var(--f-mono);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: #93c5fd;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumbs a:hover {
  color: white;
}

.breadcrumbs span {
  color: white;
  opacity: 0.7;
}

.breadcrumbs .breadcrumb-sep {
  color: white;
  opacity: 0.4;
}

.page-title {
  font-family: var(--f-display);
  font-size: 3rem;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  color: white;
}

.page-content {
  padding: 60px 80px;
}

.prose p {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 20px 0;
  color: var(--c-ink);
  opacity: 0.8;
}

.prose ul {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.prose li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .page-header { padding: 100px 0 35px; }
  .page-header-inner { padding: 0 20px; }
  .page-content { padding: 40px 20px; }
  .breadcrumbs { font-size: 0.65rem; }
  .page-title { font-size: 1.8rem; }
  .page-title { font-size: 1.8rem; }
  .page-content { padding: 40px 20px; }
}

/* ============================================
   News List (inner page)
   ============================================ */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-list-item {
  display: block;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-line);
  text-decoration: none;
  color: var(--c-ink);
  transition: background 0.2s;
}

.news-list-item:first-child {
  padding-top: 0;
}

.news-list-item:hover {
}

.news-list-title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  line-height: 1.3;
  transition: color 0.2s;
}

.news-list-item:hover .news-list-title {
  color: var(--c-accent);
}

.news-list-text {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.6;
  margin: 0 0 16px 0;
}

.news-list-more {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-accent);
  font-weight: 600;
  text-decoration: none;
}

.news-list-more:hover {
  text-decoration: underline;
}

/* ============================================
   License Gallery
   ============================================ */
.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.license-item {
  display: block;
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.license-item:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.license-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.license-item:hover .license-img {
  transform: scale(1.03);
}

@media (max-width: 1200px) {
  .license-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .license-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .license-grid { grid-template-columns: 1fr; max-width: 350px; }
}

/* ============================================
   Partners
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.partner-card {
  border: 1px solid var(--c-line);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.partner-name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.partner-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
  margin: 0 0 20px 0;
  flex: 1;
}

.partner-link {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.partner-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Documents Grid
   ============================================ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: var(--c-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.doc-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.doc-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  opacity: 0.3;
  transition: opacity 0.2s;
}

.doc-card:hover .doc-icon {
  opacity: 0.6;
  stroke: var(--c-accent);
}

.doc-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.doc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.doc-badge--doc {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

.doc-badge--xlsx {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.doc-badge--page {
  background: var(--c-surface);
  color: #64748b;
  border-color: var(--c-line);
}

@media (max-width: 900px) {
  .docs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .docs-grid { grid-template-columns: 1fr; }
  .doc-card { padding: 30px 20px; }
}

/* ============================================
   Contacts Page
   ============================================ */
.contacts-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--c-line);
}

.contacts-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contacts-heading {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 30px 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* People cards */
.contact-person {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--c-line);
}

.contact-person-role {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-accent);
}

.contact-person-name {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Detail rows */
.contacts-details-row {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contacts-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-detail-label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}

.contacts-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
}

a.contacts-detail-value:hover {
  color: var(--c-accent);
}

/* Departments */
.contacts-dept {
  padding: 30px;
  border: 1px solid var(--c-line);
}

.contacts-dept-title {
  font-family: var(--f-display);
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.contacts-dept-person {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0 0 16px 0;
}

.contacts-dept-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.contacts-dept-row:last-child {
  margin-bottom: 0;
}

/* Addresses & maps */
.contacts-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contacts-address-block {
  border: 1px solid var(--c-line);
  padding: 30px;
}

.contacts-address-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0 0 20px 0;
}

.contacts-map {
  height: 450px;
  border: 1px solid var(--c-line);
}

/* Form on contacts page */
.contacts-form-wrapper {
  max-width: 100%;
}

.contacts-form-desc {
  font-size: 0.95rem;
  opacity: 0.5;
  margin: 0 0 24px 0;
}

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

@media (max-width: 900px) {
  .contacts-grid,
  .contacts-addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contacts-form-grid {
    grid-template-columns: 1fr;
  }
  .contacts-details-row {
    gap: 24px;
  }
}

/* ============================================
   Vacancies
   ============================================ */
.vacancies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vacancy-info {
  grid-column: 1 / -1;
}

.vacancy-card {
  border: 1px solid var(--c-line);
  background: white;
}

.vacancy-header {
  padding: 30px 40px;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vacancy-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0;
}

.vacancy-salary {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-accent);
  white-space: nowrap;
}

.vacancy-salary-note {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.75rem;
}

.vacancy-body {
  padding: 30px 40px;
}

.vacancy-section {
  margin-bottom: 20px;
}

.vacancy-section:last-child {
  margin-bottom: 0;
}

.vacancy-label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 12px 0;
  letter-spacing: 0.05em;
}

.vacancy-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 12px 0;
  opacity: 0.8;
}

.vacancy-body ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.vacancy-body li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 4px;
  opacity: 0.8;
}

.vacancy-info {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  padding: 40px;
  margin-top: 10px;
}

.vacancy-info h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.vacancy-info ul {
  margin: 0 0 24px 0;
  padding-left: 20px;
}

.vacancy-info li {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.8;
}

.vacancy-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 10px 0;
  opacity: 0.8;
}

.vacancy-info a {
  color: var(--c-accent);
  text-decoration: none;
}

.vacancy-info a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .vacancies { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .vacancy-header { padding: 20px; flex-direction: column; align-items: flex-start; }
  .vacancy-body { padding: 20px; }
  .vacancy-info { padding: 24px; }
  .vacancy-title { font-size: 1.1rem; }
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  width: 100%;
  max-width: 480px;
  padding: 48px 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--c-ink);
  cursor: pointer;
  line-height: 1;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.modal-desc {
  font-size: 0.85rem;
  opacity: 0.5;
  margin: 0 0 32px 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  font-family: var(--f-sans);
  font-size: 0.9rem;
  color: var(--c-ink);
  background: var(--c-surface);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--c-accent);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox-group {
  margin-top: 8px;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--c-ink);
  opacity: 0.6;
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox {
  flex-shrink: 0;
}

.form-link {
  color: var(--c-accent);
  text-decoration: none;
}

.form-link:hover {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

/* ============================================
   Responsive
   ============================================ */

/* Nav: switch to burger */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .burger { display: flex; }
  .nav-inner { height: 70px; padding: 0 20px; gap: 16px; }
  .logo img { height: 45px; }
  .logo-text { font-size: 0.9rem; }
}

/* Content: single column */
@media (max-width: 1200px) {
  .about-grid,
  .services-grid,
  .news-row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .projects-container { grid-template-columns: 1fr 1fr; }
  .projects-container .project-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  section { padding: 80px 40px; }
  .section-title { font-size: 3rem; }
  .contact-grid { gap: 60px; }
  .contact-value { font-size: 1.25rem; }
  footer { padding: 80px 40px 40px; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .hero-content { padding: 0 40px; }
}

@media (max-width: 640px) {
  .hero { height: 60vh; min-height: 450px; }
  .hero-content { margin-top: 70px; padding: 0 20px; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 40px; }
  .logo-text { font-size: 0.8rem; }
  .logo { gap: 10px; }
  .nav-inner { padding: 0 16px; }
  section { padding: 60px 20px; }
  .section-title { font-size: 2.2rem; margin-bottom: 30px; }
  .section-title--sm { font-size: 1.8rem; margin-bottom: 20px; }
  .about-label { margin-bottom: 12px; }
  .about-grid { gap: 30px; }
  .about-text p { font-size: 1rem; margin-bottom: 24px; }
  .btn { padding: 16px 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 40px; }
  .contact-value { font-size: 1rem; }
  .contact-value--sm { font-size: 0.95rem; }
  .contact-block { margin-bottom: 30px; }
  .news-row { gap: 0; }
  .news-card h4 { font-size: 1.1rem; }
  .projects-container { grid-template-columns: 1fr; }
  .projects-intro { font-size: 1rem; margin-bottom: 30px; }
  footer { padding: 60px 20px 30px; }
  .footer-logo img { height: 70px; }
  .footer-contact-value { font-size: 0.85rem; }
  .footer-grid { gap: 40px; }
}

@media (max-width: 400px) {
  .logo img { height: 36px; }
  .logo-text { font-size: 0.7rem; }
  .section-title { font-size: 1.8rem; }
  .section-title--sm { font-size: 1.5rem; }
  .service-card { padding: 40px 25px; }
  .service-card h3 { font-size: 1.2rem; }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: calc(100% - 40px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 9999;
    box-sizing: border-box;
  }

  .cookie-text {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
  }

  .cookie-button {
    white-space: nowrap;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
  }



  @media (max-width: 480px) {
    .cookie-banner {
      flex-direction: column;
      align-items: stretch;
      text-align: center;
    }

    .cookie-button {
      width: 100%;
    }
  }

/* End */
/* /bitrix/templates/kpera2k26/template_styles.css?178912259934166 */
