:root {
  --bg: #ffffff;
  --bg-elev: #0b1f44;
  --text: #111827;
  --muted: #6b7280;
  --card: #ffffff;
  --accent: #9ca3af;
  --accent-2: #d1d5db;
  --accent-metal: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 45%, #6b7280 100%);
  --container: 1180px;
  --radius: 12px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 31, 68, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .35s var(--ease-smooth), box-shadow .35s var(--ease-smooth), backdrop-filter .35s var(--ease-smooth);
}
.header-home {
  position: absolute;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-home.compact {
  position: sticky;
  background: rgba(10, 31, 68, 0.95);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: height .3s ease;
}
.header-home .header-inner {
  height: 90px;
}
.header.compact .header-inner {
  height: 70px;
}
.logo{ display:inline-flex; color: #fff; text-decoration: none; font-weight: 700; gap:8px; align-items:center; }
.logo img { 
  width: 76px; height: 40px; 
}
.logo-text{
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  border-left: 1px solid rgba(229,231,235,.5);
  padding-left: 10px;
  color: #fff;
}
.accent-text { color: #fd5d71; }
.footer-brand .logo-text{
  border-left-color: rgba(255,255,255,.25);
}
.nav { display:flex; gap:24px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; opacity: .9; }
.header .nav a {
  color: #e5e7eb;
  position: relative;
}
.header .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-smooth);
}
.header .nav a:hover::after { transform: scaleX(1); }
.nav a:hover { color: var(--accent-2); }
a {
  color: var(--text);
  text-decoration: none !important;
  transition: color .2s ease;
}
a:hover { color: var(--accent); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger span:nth-child(1){ top: 14px; }
.burger span:nth-child(2){ top: 21px; }
.burger span:nth-child(3){ top: 28px; }
.burger.active span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.burger.active span:nth-child(2){ opacity: 0; }
.burger.active span:nth-child(3){ top: 21px; transform: rotate(-45deg); }
.hero {
  position: relative;
  padding: 0;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: #0b1f44;
  overflow: hidden;
  border-bottom: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.1);
  transform: scale(1);
  animation: heroKenBurns 24s var(--ease-out) forwards;
}
@keyframes heroKenBurns {
  to { transform: scale(1.08); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 31, 68, 0.4), rgba(11, 31, 68, 0.8));
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 10;
}
.hero-content {
  max-width: 900px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 0 24px;
  border-left: 4px solid var(--accent-2);
  padding-left: 24px;
}
.hero-layout {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 24px 48px;
}
.hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}
.hero-facts li {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  backdrop-filter: blur(4px);
}
.hero-bottom-cta {
  align-self: flex-start;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-smooth) .5s, transform .8s var(--ease-smooth) .5s, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.hero-bottom-cta.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.products-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.product-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  aspect-ratio: 4/3;
  background: #f3f4f6;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-photo{
  transition: transform .35s var(--ease-smooth), box-shadow .35s var(--ease-smooth);
}
.product-photo:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}
.product-photo img{ transition: transform .5s var(--ease-smooth); }
.product-photo:hover img { transform: scale(1.06); }
.news-scroll-card{
  transition: transform .35s var(--ease-smooth), box-shadow .35s var(--ease-smooth);
}
.news-scroll-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.1);
}
.news-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.news-scroll-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  color: var(--text);
}
.news-scroll-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-scroll-body { padding: 16px; }
.news-scroll-date { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.news-scroll-title { font-weight: 700; line-height: 1.3; }
.btn-silver {
  background: #fff;
  color: var(--bg-elev);
  padding: 20px 40px;
  font-size: 18px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 0;
}
.btn-silver:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px);
}
.hero-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-contacts a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #ffffff !important;
  text-decoration: none !important;
}
.hero-contacts a:hover {
  color: var(--accent) !important;
}
.hero-contacts span {
  display: none;
}
/* Секция услуг в стиле KRABER */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.service-item {
  position: relative;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 68, 0.9), rgba(11, 31, 68, 0.2));
  z-index: 1;
  transition: opacity 0.4s ease;
}
.service-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.service-content {
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.service-item h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 800;
}
.service-item p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-item:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.service-item:hover img {
  transform: scale(1.1);
}
.service-item:hover .service-content {
  transform: translateY(0);
}
.service-item:hover p {
  opacity: 1;
}
.service-item::after {
  display: none;
}
.section { padding: 64px 0; background: #ffffff; }
.section-alt {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
h2 { font-size: 32px; line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.tags { display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:16px 0 0; list-style:none; }
.tags li {
  padding: 8px 12px; border-radius:999px; background: rgba(156,163,175,.18);
  color: #374151; font-weight:600; font-size:14px;
  border: 1px solid rgba(156,163,175,.35);
  transition: transform .25s var(--ease-smooth), background .25s ease;
}
.tags li:hover{ transform: translateY(-2px); background: rgba(156,163,175,.28); }
.list { padding-left: 18px; }
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:28px; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap:28px; }
.features{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.feature{
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.feature .icon{
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #0b0f1a; display:grid; place-items:center; font-size:24px; margin-bottom:12px;
}
.feature h3{ margin:0 0 8px; font-size:18px; }
.feature p{ margin:0; color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.product { min-height: 140px; }
.cards { display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.equip-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.equip-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  cursor: pointer;
}
.equip-card img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.equip-info{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.55));
  color: #fff;
}
.equip-title{
  font-weight: 800;
  font-size: 18px;
}
.equip-subtitle{
  font-size: 13px;
  opacity: .9;
}

.footer-links{     
display: grid;
}
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  padding: 24px;
  transition: opacity .25s ease, background .25s ease;
}
.modal.open { opacity: 1; background: rgba(0,0,0,.6); pointer-events: auto; }
.modal-dialog{
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(.94) translateY(16px);
  opacity: 0;
  transition: transform .4s var(--ease-smooth), opacity .35s var(--ease-smooth);
}
.modal.open .modal-dialog{ transform: scale(1) translateY(0); opacity: 1; }
.modal-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f3f4f6;
}
.modal-body{
  padding: 20px 24px;
}
.modal-title{
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.modal-text{
  color: var(--muted);
}
.modal-close{
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.9);
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}
.adv {
  background: linear-gradient(180deg, rgba(31,41,55,.06), rgba(0,0,0,0));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 28px;
  display:flex; align-items:center; gap:16px;
  transition: transform .35s var(--ease-smooth), box-shadow .35s var(--ease-smooth);
}
.adv:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.08);
}
.card, .news-card, .equip-card{
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover, .news-card:hover, .equip-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.tilt{
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.15), transparent 60%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.tilt:hover::before{ opacity: .8; }
.adv-num {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #0b0f1a; display:grid; place-items:center; font-weight:800;
}
.map iframe { width:100%; height:280px; border:0; border-radius: var(--radius); }
.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 36px 0 20px;
  background: linear-gradient(180deg, #0a1f44 0%, #0a2a66 100%);
  color: #e5e7eb;
}

.footer a {
  text-decoration: none;
}
.footer-inner { display:flex; flex-direction:column; gap:24px; }
.footer-columns{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 24px;
  align-items: start;
}
.footer-brand { display:flex; align-items:center; gap:12px; color: #e5e7eb; }
.footer-brand img { width:44px; height:44px; }
.footer-title{
  color:#fff;
  font-weight:700;
  margin-bottom: 12px;
}
.footer-links, .footer-contact { color: #cbd5e1; }
.footer a{ color:#cbd5e1; }
.footer a:hover{ color:#ffffff; }
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.footer-designer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #cbd5e1;
  font-size: 14px;
}
@media (max-width: 760px) {
  .footer-designer {
    position: static;
    transform: none;
    order: 3;
  }
}
.footer-copy { color: #cbd5e1; }
.cert-tabs{
  display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 12px;
}
.cert-tab{
  border:1px solid rgba(0,0,0,.12);
  background:#f8fafc;
  color:var(--text);
  border-radius:999px;
  padding:8px 16px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}
.cert-tab:hover{ border-color:var(--accent); color:var(--accent); }
.cert-tab.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.cert-viewer{
  border:1px solid rgba(0,0,0,.08);
  border-radius:var(--radius);
  overflow:hidden;
  background:#f3f4f6;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.cert-viewer iframe{
  width:100%;
  height:min(72vh, 720px);
  border:0;
  display:block;
  background:#fff;
}
.cert-downloads{
  display:flex; flex-wrap:wrap; gap:12px; margin-top:16px;
}
.map-card{
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  overflow: hidden;
}
.map-card iframe{
  width: 100%;
  height: 240px;
  border: 0;
  display:block;
}
.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s var(--ease-smooth), transform .75s var(--ease-smooth);
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}
.reveal-left{
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .85s var(--ease-smooth), transform .85s var(--ease-smooth);
}
.reveal-left.in{ opacity: 1; transform: translateX(0); }
.reveal-right{
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .85s var(--ease-smooth), transform .85s var(--ease-smooth);
}
.reveal-right.in{ opacity: 1; transform: translateX(0); }
.reveal-up{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-smooth), transform .9s var(--ease-smooth);
}
.reveal-up.in{ opacity: 1; transform: translateY(0); }
.page-enter{ opacity: 0; transform: translateY(10px); }
.page-enter.in{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s var(--ease-smooth), transform .6s var(--ease-smooth);
}
.img-fade{
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .9s var(--ease-smooth), transform 1.1s var(--ease-smooth);
}
.img-fade.loaded{
  opacity: 1;
  transform: scale(1);
}
.stagger-children > *{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease-smooth), transform .65s var(--ease-smooth);
}
.stagger-children.in > *{
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.in > *:nth-child(1){ transition-delay: .04s; }
.stagger-children.in > *:nth-child(2){ transition-delay: .08s; }
.stagger-children.in > *:nth-child(3){ transition-delay: .12s; }
.stagger-children.in > *:nth-child(4){ transition-delay: .16s; }
.stagger-children.in > *:nth-child(5){ transition-delay: .20s; }
.stagger-children.in > *:nth-child(6){ transition-delay: .24s; }
.stagger-children.in > *:nth-child(7){ transition-delay: .28s; }
.stagger-children.in > *:nth-child(8){ transition-delay: .32s; }
.stagger-children.in > *:nth-child(9){ transition-delay: .36s; }
.stagger-children.in > *:nth-child(10){ transition-delay: .40s; }
.stagger-children.in > *:nth-child(11){ transition-delay: .44s; }
.stagger-children.in > *:nth-child(12){ transition-delay: .48s; }
.stagger-children.in > *:nth-child(13){ transition-delay: .52s; }
.press-hero h1,
.press-hero p{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-smooth), transform .8s var(--ease-smooth);
}
.press-hero.in h1{ opacity: 1; transform: translateY(0); }
.press-hero.in p{
  opacity: 1;
  transform: translateY(0);
  transition-delay: .12s;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background .25s var(--ease-smooth), transform .25s var(--ease-smooth), box-shadow .25s var(--ease-smooth), color .25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.btn:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-silver {
  background: #ffffff !important;
  color: var(--bg-elev) !important;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.btn-silver:hover {
  background: #f9fafb !important;
  border-color: var(--accent);
  color: var(--accent) !important;
}
.header.compact .header-inner{ height: 60px; }
.header.compact{ background: rgba(10,31,68,.96); box-shadow: 0 8px 16px rgba(0,0,0,.12); }
.card, .news-card, .equip-card{ will-change: transform, box-shadow; }
.hover-bloom:hover{ transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.16); }
.stagger > *{ opacity:0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.stagger.in > *{ opacity:1; transform: translateY(0); }
.stagger.in > *:nth-child(1){ transition-delay:.05s; }
.stagger.in > *:nth-child(2){ transition-delay:.1s; }
.stagger.in > *:nth-child(3){ transition-delay:.15s; }
.stagger.in > *:nth-child(4){ transition-delay:.2s; }
.stagger.in > *:nth-child(5){ transition-delay:.25s; }
.stagger.in > *:nth-child(6){ transition-delay:.3s; }
.press-hero { padding: 80px 0 40px; background:#ffffff; border-bottom:1px solid rgba(0,0,0,.06); }
.press-hero .container { position: relative; z-index: 1; }
.filters { display:flex; gap:12px; margin-bottom:24px; flex-wrap:wrap; }
.filter-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s var(--ease-smooth), border-color .25s var(--ease-smooth), color .25s ease, transform .25s var(--ease-smooth), box-shadow .25s ease;
}
.filter-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.filter-btn.active{
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #0b0f1a;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.news-card:hover {
  transform: translateY(-8px);
}
.news-img {
  height: 200px;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-elev);
  line-height: 1.4;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.news-card:hover .news-link::after {
  transform: translateX(4px);
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .news-grid{ grid-template-columns: 1fr 1fr; }
  .equip-grid{ grid-template-columns: 1fr 1fr; }
  .features{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; top: 72px; right:0; left:0;
    background: rgba(17,24,39,.98);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 12px 24px 20px;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform .35s var(--ease-smooth), opacity .3s ease;
    flex-direction: column;
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .burger { display: inline-flex; }
  .hero { padding: 130px 0 72px; min-height: 85vh; }
  .hero h1 { font-size: 32px; }
  .grid-2, .grid-3, .cards { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .cards { grid-template-columns: 1fr; }
  .equip-grid{ grid-template-columns: 1fr; }
  .footer-columns{ grid-template-columns: 1fr; }
  .logo-text{
    font-size: 14px;
    line-height: 16px;
    padding-left: 8px;
  }
}
 .admin .section{ background:#f6f7fb; }
 .admin .btn{
   background: linear-gradient(180deg, #6366f1, #7c3aed);
   color: #fff;
   box-shadow: 0 8px 24px rgba(99,102,241,.25);
 }
 .admin .btn.secondary{
   background: #eef2ff;
   color: #3730a3;
   box-shadow: none;
   border: 1px solid #c7d2fe;
 }
 .panel{
   background: #fff;
   border: 1px solid rgba(0,0,0,.08);
   border-radius: 16px;
   box-shadow: 0 12px 28px rgba(0,0,0,.08);
   overflow: hidden;
 }
 .panel-head{
   display:flex; align-items:center; justify-content:space-between;
   padding: 16px 20px;
   border-bottom: 1px solid rgba(0,0,0,.06);
 }
 .panel-body{ padding: 20px; }
 .badge{
   display:inline-block;
   padding:6px 10px;
   border-radius:999px;
   background:#eef2ff;
   color:#3730a3;
   font-weight:700;
   font-size:12px;
 }
 .form-group{ margin-bottom: 12px; }
 .form-group label{
   display:block;
   font-weight:700;
   margin-bottom:6px;
 }
 .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
 .upload-dropzone{
   border: 2px dashed #e5e7eb;
   border-radius: 12px;
   padding: 24px;
   background:#fafafa;
   color:#6b7280;
   display:grid; place-items:center;
 }
 .upload-dropzone.active{
   border-color:#7c3aed; background:#f5f3ff; color:#3730a3;
 }
 .upload-hint{ color:#6b7280; font-size:12px; margin-top:8px; }
.admin-list{
  display:grid; grid-template-columns: repeat(3,1fr); gap:16px;
}
.admin-item{
  display:flex; gap:12px; align-items:flex-start;
  background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:12px; padding:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.admin-item img{
  width:96px; height:72px; object-fit:cover; border-radius:8px; background:#f3f4f6;
}
.admin-item h4{ margin:0 0 6px; font-size:16px; }
.admin-item .meta{ color:#6b7280; font-size:12px; margin-bottom:8px; }
.admin-item .actions{ display:flex; gap:8px; }
input[type="text"], input[type="date"], input[type="email"], input[type="password"], textarea, select{
  width: 100%;
  appearance: none;
  border: 1px solid rgba(0,0,0,.12);
  background: #ffffff;
  color: var(--text);
  padding: 12px 12px;
  border-radius: 10px;
  font: inherit;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
input:focus, textarea:focus, select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156,163,175,.35);
}
.btn.secondary{
  background: #e5e7eb;
  color: #111827;
  box-shadow: none;
}
.admin-topbar{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  margin-bottom: 16px;
}
.admin-title{
  font-size: 24px;
  font-weight: 800;
}
.table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  overflow: hidden;
}
.table th, .table td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-align: left;
}
.table th{
  background: #f9fafb;
  font-weight: 700;
}
.table tr:last-child td{ border-bottom: 0; }

/* Contact Page Styles */
.section-contact {
  padding: 80px 0;
  background: #f8fafc;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--bg-elev);
}
.contact-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.method-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.method-detail {
  display: flex;
  flex-direction: column;
}
.method-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.method-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--bg-elev);
  text-decoration: none;
  transition: color 0.2s ease;
}
a.method-value:hover {
  color: var(--accent);
}
.quote-requirements {
  padding: 32px;
  border-left: 4px solid var(--accent);
  background: #fff;
}
.quote-requirements h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.requirements-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.requirements-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
}
.requirements-list i {
  color: var(--accent);
  font-size: 14px;
}

/* Modern Form Styles */
.form-card {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.form-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-card p {
  color: var(--muted);
  margin-bottom: 32px;
}
.modern-form .form-group {
  margin-bottom: 20px;
}
.modern-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--bg-elev);
}
.modern-form input, 
.modern-form select, 
.modern-form textarea {
  background: #f1f5f9;
  border: 2px solid transparent;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.modern-form input:focus, 
.modern-form select:focus, 
.modern-form textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

/* Custom File Input */
.file-label {
  cursor: pointer;
}
.file-input-wrapper {
  position: relative;
  margin-top: 8px;
}
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-dummy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}
.file-input:hover + .file-dummy {
  border-color: var(--accent);
  background: #ecfdf5;
}
.file-dummy i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 12px;
}
.file-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.btn-submit i {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.btn-submit:hover i {
  transform: translate(4px, -4px);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .form-card {
    padding: 24px;
  }
  .modern-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.stats-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: #ffffff;
  padding: 40px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  border-bottom: 4px solid var(--accent);
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-10px);
}
.stat-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--bg-elev);
  margin-bottom: 12px;
  display: block;
}
.stat-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .stats-modern { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-modern { grid-template-columns: 1fr; }
}

.news-external-link {
  color: var(--accent);
  word-break: break-all;
  position: relative;
  z-index: 10; /* Убеждаемся, что ссылка поверх других элементов */
  pointer-events: auto !important; /* Принудительно разрешаем события мыши */
}
.news-external-link::after { content: none !important; }
.news-external-link:hover {
  color: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-up,
  .stagger-children > *, .hero-bottom-cta,
  .press-hero h1, .press-hero p {
    opacity: 1 !important;
    transform: none !important;
  }
}

