/* Minimal, fast baseline styling for a B2B-industrial look (light, teal accent). */
:root{
  --bg: #e8f3f5;
  --panel: #ffffff;
  --text: #153038;
  --muted: rgba(21,48,56,.72);
  --accent: #078994;
  --accent2: #0aa8b8;
  --border: rgba(var(--accent-rgb),.22);
}

.text-muted{
  color: var(--muted);
}
*{ box-sizing: border-box; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  margin: 0;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; }

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0);
  background: linear-gradient(135deg, var(--header-start, #1a3a4a), var(--header-end, #078994));
  border-bottom: 1px solid var(--border);
  color: #ffffff;
}
.site-header a,
.site-header .site-brand__tagline{
  color: #ffffff;
}
.site-header__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 14px;
}
.site-brand{
  display:flex;
  align-items:center;
  gap: 16px;
  min-width: 0;
  flex-shrink: 0;
  margin-right: 8px;
}
.site-logo{
  width: auto;
  height: 44px;
  min-width: 44px;
  max-width: 200px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  box-sizing: border-box;
}
.site-logo--transparent{
  background: transparent !important;
  border: none !important;
  box-shadow: none;
  padding: 0;
}
.site-brand__tagline{
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.site-logo__img{
  display:block;
  max-height: 36px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-header-nav{
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  margin: 0 8px;
}
.site-header-nav-select{
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 10px 36px 10px 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  touch-action: manipulation;
  min-height: 44px;
}
.site-header-nav-select option{
  background: #ffffff;
  color: var(--text);
}
.site-header-nav-select::placeholder{
  color: rgba(255,255,255,.7);
}

.screen-reader-text{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.partner-logos-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.partner-logo-cell{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  min-width: 0;
}
.partner-logo-cell .partner-logo-link{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 44px;
}
.partner-logo-img{
  display: block;
  width: auto;
  max-width: min(100%, 200px);
  height: auto;
  max-height: 44px;
  min-height: 1px;
  object-fit: contain;
  object-position: center;
  flex: 0 1 auto;
}
.partner-logo-img--svg{
  width: 100%;
  max-width: 200px;
}

.contacts-rich p{
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}
.contacts-rich a{
  color: var(--accent);
  text-decoration: underline;
}

.header-actions{
  display:flex;
  align-items:center;
  gap: 12px;
  justify-content:flex-end;
  min-width: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.lang-switch a{
  color: var(--header-text-color, inherit);
  font-size: 13px;
  font-weight: 700;
  margin-left: 8px;
}
.lang-switch a:hover{ color: inherit; opacity: .8; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn--accent{
  border-color: rgba(255,255,255,.35);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 800;
}
.btn--ghost{
  background: transparent;
}

.page{
  padding: 26px 0 60px;
}
.hero{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.12), rgba(255,255,255,0));
  overflow: hidden;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  padding: 28px;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 36px);
  line-height: 1.1;
}
.hero__subtitle{
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}
.hero__fineprint{
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.btn--secondary{
  border-color: rgba(var(--accent-rgb),.35);
  background: rgba(255,255,255,.75);
}
.hero__cta{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.hero__media{
  border: 1px dashed rgba(var(--accent-rgb),.28);
  border-radius: 16px;
  background: rgba(255,255,255,.65);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  min-height: 210px;
}
.hero__media span{
  font-weight: 800;
  text-align:center;
}

.section{
  margin-top: 26px;
}
.section__title{
  font-size: 18px;
  margin: 0 0 14px;
}
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
/* Единое соотношение 16:9 для медиа в карточках проектов и компетенций */
.project-card__media--ratio,
.competence-card__image--ratio,
.gen-package-card__media--ratio{
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background: rgba(var(--accent-rgb),.06);
}
.competence-card__image--ratio{
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.gen-package-card__media--ratio{
  margin: 0 0 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.competence-card__image img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.competence-card__image .icevent-carousel{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(var(--accent-rgb),.06);
}
.card h3{
  margin: 8px 0 8px;
  font-size: 15px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.three-col{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.filters{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.85);
}
.filters label{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  display:block;
  margin-bottom: 6px;
}
.filters select, .filters input[type="text"]{
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 220px;
}
.filters select option{
  background: #ffffff;
  color: var(--text);
}

.grid-projects{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.project-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  overflow:hidden;
  box-shadow: 0 2px 12px rgba(var(--accent-rgb),.08);
}
.project-card--split{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(var(--accent-rgb), 0.1);
  overflow: hidden;
}
.project-card__aside{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.09) 0%, rgba(255, 255, 255, 0.98) 55%);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.project-card--split .kicker{
  color: var(--muted);
  margin-bottom: 8px;
}
.project-card__title{
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(var(--accent-rgb), 0.45);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}
.meta-list--project{
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.meta-list--project li{
  margin: 8px 0;
}
.meta-list--project strong{
  color: var(--text);
  font-weight: 800;
}
.project-card__footer-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
}
.project-card__video-link{
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}
.project-card__video-link:hover{
  color: var(--accent2);
  text-decoration: underline;
}
.project-card__video-icon{
  display: inline-block;
  width: 22px;
  height: 16px;
  margin-right: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 4px;
  position: relative;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(var(--accent-rgb), 0.25);
}
.project-card__video-icon::after{
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #ffffff;
}
.project-card__details{
  margin: 0;
  flex: 1;
  min-width: 140px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  margin-top: auto;
  width: 100%;
}
.project-card__details-summary{
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(var(--accent-rgb), 0.55);
  text-underline-offset: 4px;
}
.project-card__details-summary--btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 4px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  text-decoration: none;
  text-decoration-style: solid;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.22);
}
.project-card__details-summary--btn:hover{
  filter: brightness(1.06);
}
.project-card__details-summary::-webkit-details-marker{
  display: none;
}
.project-card__details-inner{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.project-card__detail-block{
  margin-top: 12px;
}
.project-card__detail-block:first-child{
  margin-top: 0;
}
.project-card__detail-block strong{
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}
.project-card__detail-text{
  white-space: pre-line;
}
.project-card__detail-pre{
  white-space: pre-line;
  margin: 0;
}
.project-card__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.22);
}
.project-card__cta:hover{
  filter: brightness(1.06);
}
.project-card__gallery-col{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.05) 0%, var(--bg) 100%);
}
.project-card__gallery-col--empty{
  min-height: 200px;
  align-items: center;
  justify-content: center;
}
.project-card__progress{
  display: flex;
  gap: 5px;
  padding: 10px 12px 6px;
  flex-shrink: 0;
}
.project-card__progress-seg{
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(21, 48, 56, 0.18);
  transition: background 0.25s ease;
}
.project-card__progress-seg.is-active{
  background: var(--accent, #078994);
}
.project-card__carousel-clip{
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: rgba(var(--accent-rgb), 0.07);
}
.project-card__thumbs{
  display: flex;
  gap: 8px;
  padding: 10px 10px 12px;
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}
.project-card__thumb{
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.65);
  line-height: 0;
  transition: border-color 0.2s ease;
}
.project-card__thumb img{
  display: block;
  width: 104px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.project-card__thumb.is-active{
  border-color: var(--accent, #078994);
}
.project-card__thumb:focus-visible{
  outline: 2px solid var(--accent, #078994);
  outline-offset: 2px;
}
@media (min-width: 960px){
  .project-card--split{
    flex-direction: row;
    align-items: stretch;
  }
  .project-card__aside{
    flex: 0 0 42%;
    max-width: 480px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .project-card__gallery-col{
    flex: 1 1 58%;
    border-top: none;
  }
}
.project-card__media{
  background: rgba(var(--accent-rgb),.06);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: relative;
}
.project-card__media--ratio .icevent-carousel{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.project-card__carousel-clip .icevent-carousel{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.project-card__gallery-col .icevent-carousel__nav{
  top: auto;
  bottom: 11px;
  transform: none;
  opacity: 1;
}
.project-card__gallery-col .icevent-carousel__nav--prev{
  left: auto;
  right: 52px;
}
.project-card__gallery-col .icevent-carousel__nav--next{
  right: 11px;
}
.gen-package-card__media--ratio .icevent-carousel{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.icevent-carousel{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
}
.icevent-carousel__slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}
.icevent-carousel__slide.is-active{
  opacity: 1;
  z-index: 1;
}
.icevent-carousel__slide img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.icevent-carousel--project{
  cursor: zoom-in;
}

/* Кнопки навигации карусели (стрелки) */
.icevent-carousel__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  padding: 0;
}
.icevent-carousel:hover .icevent-carousel__nav{
  opacity: 1;
}
.icevent-carousel__nav:hover{
  background: rgba(0,0,0,.55);
}
.icevent-carousel__nav--prev{
  left: 6px;
}
.icevent-carousel__nav--next{
  right: 6px;
}

/* На мобильных стрелки всегда видны */
@media (max-width: 768px){
  .icevent-carousel__nav{
    opacity: 1;
  }
}
.icevent-carousel--competence .icevent-carousel__slide img{
  border-radius: 0;
}
body.icevent-lightbox-open{
  overflow: hidden;
}
.icevent-lightbox{
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 22, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.icevent-lightbox__inner{
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icevent-lightbox__img{
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.icevent-lightbox__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icevent-lightbox__btn:hover{
  background: rgba(255,255,255,.22);
}
.icevent-lightbox__btn--prev{
  left: 8px;
}
.icevent-lightbox__btn--next{
  right: 8px;
}
.icevent-lightbox__close{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.icevent-lightbox__close:hover{
  background: rgba(0,0,0,.5);
}
.project-card__empty{
  color: var(--muted);
  font-weight: 800;
  display:flex;
  align-items:center;
  justify-content:center;
}
.project-card__media--ratio > .project-card__empty{
  position: absolute;
  inset: 0;
  min-height: 0;
}
.project-card__body{
  padding: 14px;
}
.kicker{
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.project-card:not(.project-card--split) h3{
  margin: 6px 0 8px;
  font-size: 16px;
}
.meta-list{
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.meta-list li{ margin: 6px 0; }

.icevent-form input[type="text"],
.icevent-form input[type="email"],
.icevent-form select,
.icevent-form textarea{
  font-size: 16px;
}

.site-footer{
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  background: rgba(255,255,255,.65);
}
.footer-col__title{
  color: var(--text);
  font-weight: 900;
  opacity: .9;
}
.footer-col__text{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__copy{
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  opacity: .85;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
.footer-grid strong{ color: var(--text); }

/* Карты (iframe): адаптивная высота, без «обрезанного» виджета */
.icevent-map-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 560px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icevent-map-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border: 0;
}
.icevent-map-wrap > img,
.icevent-map-wrap .projects-cta-media__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section__title--prominent{
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Главная: отрасли */
.industry-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}
.industry-chip{
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb),.35);
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.12), rgba(255,255,255,.75));
  font-weight: 900;
  font-size: 15px;
  color: var(--text);
  line-height: 1.25;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb),.12);
}

/* Главная: о компании */
.home-about-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.home-about-card h3{
  font-size: 18px;
  margin-top: 0;
}
.home-about-card--history{
  grid-column: 1 / -1;
}
.home-about-card--trust{
  grid-column: 1 / -1;
}
.trust-cards-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust-card{
  border: 1px solid rgba(var(--accent-rgb),.2);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.08), rgba(255,255,255,.96));
  padding: 12px;
}
.trust-card__title{
  margin: 0 0 8px;
  font-size: 15px;
}
.trust-card__body{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.home-about-card__text{
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  white-space: pre-line;
}
.home-about-card__list{
  margin: 0;
  padding-left: 1.15em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.home-about-card__list li{
  margin: 6px 0;
}
.competence-card__lead{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.gen-epc-card{
  border: 2px solid rgba(var(--accent-rgb),.52);
  border-radius: 18px;
  padding: 22px 22px 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 40px rgba(var(--accent-rgb),.18);
  position: relative;
}
.gen-epc-card::before{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.gen-epc-card__title{
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.gen-epc-card .home-about-card__list{
  margin: 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 700;
}
.gen-epc-card .home-about-card__list li{
  margin: 8px 0;
}
.two-col--epc{
  align-items: stretch;
}
@media (max-width: 980px){
  .gen-epc-card{
    padding: 20px 18px 18px;
  }
}
.icevent-sent-notice{
  margin-top: 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb),.25);
  background: rgba(var(--accent-rgb),.1);
  padding: 14px 16px;
}
.icevent-sent-notice strong{
  color: var(--text);
}
.icevent-sent-notice .icevent-sent-notice__msg{
  color: var(--muted);
  margin-top: 6px;
}

/* Благодарственные письма */
.home-thanks-section__lead{
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.home-thanks-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.home-thanks-item{
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  transition: transform .15s ease, box-shadow .15s ease;
}
.home-thanks-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.home-thanks-item__img{
  width: 100%;
  height: auto;
  display: block;
}
.home-thanks-item__pdf{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 12px;
  text-align: center;
  font-weight: 800;
  color: var(--text);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.1), rgba(255,255,255,.96));
}
.home-partners-section{
  border: 1px solid rgba(var(--accent-rgb),.3);
  border-radius: 18px;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.09), rgba(255,255,255,.98));
}

/* Генподрядчикам: пакеты работ */
.gen-packages-section{
  border: 1px solid rgba(var(--accent-rgb),.22);
  border-radius: 20px;
  padding: 22px 20px 8px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.1), rgba(255,255,255,0));
}
.gen-packages-head{
  margin-bottom: 16px;
}
.gen-packages-title{
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px !important;
}
.gen-packages-lead{
  margin: 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 700;
}
.gen-package-card{
  border-color: rgba(var(--accent-rgb),.28);
  background: rgba(255,255,255,.95);
}
.gen-package-card h3{
  font-size: 17px;
}
.gen-docs-card{
  border-color: rgba(var(--accent-rgb), .32);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), rgba(255,255,255,.98));
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), .1);
}
.gen-docs-card h3{
  font-size: 18px;
}
.gen-intro-fallback{
  color: var(--muted);
}
.gen-experience-lead{
  margin-top: 8px;
  color: var(--muted);
}

/* Проекты: нижний CTA */
.projects-cta-section{
  margin-top: 32px;
}
.projects-cta-intro__sub{
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--muted);
  font-weight: 700;
  max-width: 720px;
}
.projects-cta-media{
  min-height: 300px;
  aspect-ratio: 21 / 9;
}
.projects-cta-media__placeholder{
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
  font-weight: 900;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.45;
}
.home-industries-main{
  margin-bottom: 10px;
}
.home-industries-more{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  padding: 10px 12px;
}
.home-industries-more__summary{
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
}
.home-industries-extra{
  margin-top: 12px;
}

/* Производственные ресурсы: крупнее шрифт */
body.tpl-resources .page{
  font-size: 17px;
  line-height: 1.55;
}
body.tpl-resources .section__title{
  font-size: 22px;
}
body.tpl-resources .card h3{
  font-size: 18px;
}
body.tpl-resources .card p,
body.tpl-resources .meta-list{
  font-size: 16px;
}
.resources-structure-card__title{
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
}
.resources-structure-card .resources-structure__list{
  list-style: disc;
  padding-left: 1.15em;
}
.resources-structure-card .resources-structure__sub{
  list-style: circle;
  margin-left: 0.35em;
}

/* Responsive */
@media (max-width: 980px){
  .container{
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__grid{ grid-template-columns: 1fr; padding: 18px; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .grid-projects{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .three-col{ grid-template-columns: 1fr; }
  .home-about-grid{ grid-template-columns: 1fr; }
  .trust-cards-grid{ grid-template-columns: 1fr 1fr; }
  .gen-packages-section{ padding: 16px 14px 4px; }
  .projects-cta-media{ aspect-ratio: 16 / 10; min-height: 240px; }
  .site-header__inner{
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .site-header-nav{
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin: 10px 0 0;
  }
  .header-actions{
    margin-left: auto;
  }
  .btn{
    padding: 12px 14px;
    min-height: 44px;
  }
  .filters select, .filters input[type="text"]{
    min-width: 0;
    width: 100%;
  }
  .partner-logos-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px){
  .partner-logos-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .cards{
    grid-template-columns: 1fr;
  }
}

/* ——— Страница «Контакты»: split + карточка формы ——— */
.contacts-page{
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding-bottom: 8px;
}
.contacts-split{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: min(88vh, 920px);
}
.contacts-split--wrap{
  max-width: 1320px;
  margin: 0 auto;
}
.contacts-panel{
  flex: 0 0 58%;
  max-width: 860px;
  padding: 32px 32px 48px 20px;
  background: #ffffff;
  border-right: 1px solid rgba(var(--accent-rgb), 0.14);
  box-sizing: border-box;
  box-shadow: 4px 0 24px rgba(15, 48, 56, 0.04);
}
.contacts-h1{
  margin: 0 0 26px;
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.contacts-block{
  margin-bottom: 22px;
}
.contacts-main-box{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.07), rgba(255,255,255,.96));
  padding: 18px 18px 16px;
}
.contacts-main-box .contacts-h1{
  margin-bottom: 18px;
}
.contacts-label{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(21, 48, 56, 0.55);
  margin-bottom: 8px;
}
.contacts-icon-wrap{
  display: inline-flex;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.95;
}
.contacts-icon-svg{
  display: block;
  width: 19px;
  height: 19px;
}
.contacts-value{
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}
.contacts-value--stack{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contacts-value--row-emails{
  flex-direction: row;
  gap: 14px;
  flex-wrap: nowrap;
}
.contacts-value--stack a,
.contacts-value a{
  color: var(--accent2);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contacts-value--stack a:hover,
.contacts-value a:hover{
  color: var(--accent);
  text-decoration: underline;
}
.contacts-tri{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px 22px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.contacts-tri--highlight{
  border: 1px solid rgba(var(--accent-rgb), .16);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,.72);
}
.contacts-tri__col{
  min-width: 0;
}
.contacts-tri__col .contacts-value{
  font-size: 14px;
  font-weight: 600;
  color: rgba(21, 48, 56, 0.92);
}
.contacts-main-box .contacts-tri__col{
  min-width: 0;
}
.contacts-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.22), transparent);
  margin: 26px 0;
  border: 0;
}
.contacts-section{
  margin-top: 22px;
}
.contacts-section--requisites{
  margin-bottom: 12px;
}
.contacts-h2{
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}
.contacts-kv{
  font-size: 14px;
}
.contacts-kv__row{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 8px 0;
  align-items: baseline;
}
.contacts-kv__k{
  font-weight: 800;
  color: var(--muted);
  min-width: 88px;
}
.contacts-kv__v{
  color: var(--text);
  font-weight: 600;
}
.contacts-person{
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.1);
}
.contacts-person:last-of-type{
  border-bottom: none;
  padding-bottom: 0;
}
.contacts-section .contacts-person:last-child{
  border-bottom: none;
  padding-bottom: 0;
}
.contacts-person__title{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
}
.contacts-line{
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
}
.contacts-line .contacts-kv__k{
  min-width: 0;
  color: rgba(21, 48, 56, 0.55);
  font-weight: 800;
  font-size: 13px;
}
.contacts-line a[href^="mailto"]{
  color: var(--accent2);
  font-weight: 700;
  text-decoration: none;
  text-align: left;
}
.contacts-line a[href^="mailto"]:hover{
  color: var(--accent);
  text-decoration: underline;
}
.contacts-line.contacts-value--stack{
  align-items: flex-start;
}
.contacts-line.contacts-value--stack span{
  text-align: left;
}
.contacts-tel{
  color: var(--accent2);
  font-weight: 800;
  text-decoration: none;
  transition: color 0.15s ease;
}
.contacts-tel:hover{
  color: var(--accent);
  text-decoration: underline;
}
.contacts-requisites{
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.contacts-requisites p{
  margin: 8px 0;
}
.contacts-visual{
  flex: 1 1 auto;
  position: relative;
  min-height: 440px;
  min-width: 0;
  /* overflow не hidden — иначе position:sticky у формы не работает */
  overflow: visible;
}
.contacts-visual__bg{
  position: absolute;
  inset: 0;
  background-color: #dbecef;
  background-size: cover;
  background-position: center;
  /* Светлый фон с лёгкой диагональной фактурой (без фото) */
  background-image:
    linear-gradient(165deg, rgba(255, 255, 255, 0.65) 0%, transparent 42%),
    repeating-linear-gradient(
      -32deg,
      rgba(255, 255, 255, 0.28) 0 1px,
      transparent 1px 20px
    ),
    linear-gradient(145deg, #d8ecef 0%, #e8f4f6 38%, #cfe4e8 100%);
}
.contacts-visual__bg--photo{
  background-color: #c5dde2;
  background-image: none;
}
.contacts-visual__bg--photo[style*="background-image"]{
  background-size: cover;
  background-position: center;
}
.contacts-visual__bg--photo::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(232, 244, 246, 0.55) 100%);
  pointer-events: none;
}
.contacts-visual__inner{
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 32px 48px;
  box-sizing: border-box;
}
.contacts-form-card{
  width: 100%;
  max-width: 520px;
  padding: 26px 28px 24px;
  border-radius: 18px;
  box-shadow:
    0 4px 6px rgba(15, 48, 56, 0.04),
    0 18px 48px rgba(15, 48, 56, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #ffffff;
  /* Форма остаётся в зоне видимости при прокрутке длинной левой колонки */
  position: sticky;
  top: 80px;
  align-self: center;
  max-height: min(720px, calc(100vh - 80px - 20px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
body.admin-bar .contacts-form-card{
  top: 112px;
  max-height: min(720px, calc(100vh - 112px - 20px));
}
.contacts-form-card__title{
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.38;
  color: var(--text);
}
.contacts-form-card__hint{
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(21, 48, 56, 0.62);
}
.contacts-form-card__body .icevent-form{
  margin-top: 0;
}
.contacts-form-card .icevent-form-title{
  display: none;
}
.contacts-form-card .field label,
.contacts-form-card .icevent-field-heading{
  color: rgba(21, 48, 56, 0.72);
}
.contacts-form-card .icevent-form input[type="text"],
.contacts-form-card .icevent-form input[type="email"],
.contacts-form-card .icevent-form select,
.contacts-form-card .icevent-form textarea{
  border-radius: 12px;
  border-color: rgba(var(--accent-rgb), 0.2);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contacts-form-card .icevent-form input:focus,
.contacts-form-card .icevent-form select:focus,
.contacts-form-card .icevent-form textarea:focus{
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}
.contacts-form-card .icevent-submit{
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #ffffff;
  font-weight: 900;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}
.contacts-form-card .icevent-submit:hover{
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.4);
}
.contacts-form-card .icevent-file__btn{
  border-radius: 12px;
}
@media (max-width: 1100px){
  .contacts-tri{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px){
  .contacts-split{
    flex-direction: column;
    min-height: 0;
  }
  .contacts-panel{
    flex: none;
    max-width: none;
    width: 100%;
    padding: 24px 20px 32px;
    border-right: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.14);
    box-shadow: none;
  }
  .contacts-visual{
    min-height: 0;
  }
  .contacts-visual__inner{
    padding: 28px 20px 36px;
  }
  /* На мобильных колонка под контент — без sticky, форма целиком в потоке */
  .contacts-form-card{
    position: relative;
    top: auto;
    max-height: none;
    overflow-y: visible;
  }
}
@media (max-width: 600px){
  .contacts-tri{
    grid-template-columns: 1fr;
  }
  .trust-cards-grid{
    grid-template-columns: 1fr;
  }
  .contacts-value--row-emails{
    flex-wrap: wrap;
  }
  .filters{
    flex-direction: column;
  }
  .filters > div{
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
  .filters .btn{
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .icevent-form input[type="text"],
  .icevent-form input[type="email"],
  .icevent-form select:not([multiple]){
    min-height: 44px;
  }
  .icevent-form textarea{
    min-height: 120px;
  }
}

@media (max-width: 480px){
  .container{
    padding-left: 14px;
    padding-right: 14px;
  }
  .page{
    padding: 18px 0 48px;
  }
  .hero__grid{
    padding: 14px;
    gap: 14px;
  }
  .hero h1{
    font-size: clamp(20px, 6.5vw, 28px);
  }
  .hero__subtitle{
    font-size: 15px;
    margin-bottom: 14px;
  }
  .hero__cta{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__cta .btn{
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .site-brand{
    gap: 10px;
  }
  .site-brand__tagline{
    font-size: 11px;
  }
  .site-logo{
    height: 40px;
    min-width: 40px;
    max-width: 150px;
  }
  .header-actions .btn{
    font-size: 12px;
    padding: 10px 12px;
  }
}

