/* Евростекло Modern 2026 — final override layer */
:root {
  --es-ink: #102027;
  --es-ink-soft: #34464f;
  --es-blue: #2f67e7;
  --es-blue-dark: #1f4fbd;
  --es-ice: #edf4f7;
  --es-cloud: #f6f8f9;
  --es-line: rgba(16, 32, 39, .12);
  --es-white: #fff;
  --es-shadow: 0 22px 70px rgba(16, 32, 39, .11);
  --es-radius: 22px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--es-ink);
  background: var(--es-white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { color: #fff; background: var(--es-blue); }
a { color: var(--es-ink); transition: color .2s ease, opacity .2s ease, transform .2s ease; }
a:hover { color: var(--es-blue); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1240px; }

h1, h2, h3, h4, .title h1, .title h2, .es-page-title,
.slider_header, .sect_service_heading {
  color: var(--es-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400 !important;
  letter-spacing: -.035em;
}
h1, .es-page-title { font-size: clamp(2.4rem, 5vw, 5rem) !important; line-height: 1.02 !important; }
h2, .title h2 { font-size: clamp(2rem, 3.5vw, 3.65rem) !important; line-height: 1.08 !important; }
.title { margin-bottom: 42px; }
.title h2:after, .title h1:after { display: none !important; }

.btn, button.btn, input[type='submit'], .bx-ui-button {
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--es-blue) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: var(--es-blue) !important;
  box-shadow: 0 12px 28px rgba(47, 103, 231, .22);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease !important;
}
.btn:hover, button.btn:hover, input[type='submit']:hover {
  background: var(--es-blue-dark) !important;
  box-shadow: 0 16px 34px rgba(47, 103, 231, .3);
  transform: translateY(-2px);
}

/* Header */
.main_header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--es-line);
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: none !important;
}
.main_header .header_top, .main_header .nav-panel { background: transparent !important; }
.main_header .header_top { padding: 15px 0 13px; border-bottom: 1px solid var(--es-line); }
.main_header .logo-block img, .main_header .logo-block svg { max-height: 62px; width: auto; }
.main_header .working_time { color: var(--es-ink-soft); font-size: 12px; line-height: 1.45; }
.main_header .phonenum, .main_header .phone-number, .main_header [href^='tel:'] {
  color: var(--es-ink) !important;
  font-size: 16px;
  font-weight: 700;
}
.main_header .phonenum.show-modal { color: var(--es-blue) !important; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.header_bottom { min-height: 62px; background: #fff !important; box-shadow: none !important; }
.nav_list_container > ul, .nav_list_container .nav-list { justify-content: center; }
.nav_list_container a {
  color: var(--es-ink) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.main_header .header_bottom ul.nav_list > li > a,
.main_header .header_bottom ul.nav_list > li > a.root-item,
.main_header .header_bottom ul.nav_list > li > a.root-item-selected {
  display: block;
  color: var(--es-ink) !important;
  background: transparent !important;
}
.main_header .header_bottom ul.nav_list > li:hover > a,
.main_header .header_bottom ul.nav_list > li > a.root-item-selected { color: var(--es-blue) !important; }
.main_header .nav_list-wrapper, .main_header ul.nav_list { width: 100%; }
.main_header ul.nav_list { display: flex !important; align-items: center; justify-content: center; }
.nav_list_container > ul > li > a { padding-top: 22px !important; padding-bottom: 20px !important; }
.nav_list_container a:hover, .nav_list_container .active > a { color: var(--es-blue) !important; }
.nav-panel-fixed { background: rgba(255,255,255,.96) !important; box-shadow: 0 10px 35px rgba(16,32,39,.08) !important; backdrop-filter: blur(14px); }
.nav-panel-mobile { background: #fff !important; border-bottom: 1px solid var(--es-line); }
.search_wrapper { background: rgba(246,248,249,.98) !important; }
.side-info-navigation, .side-info-behind { display: none !important; }

/* Homepage header — matches the approved architectural concept. */
.main_header:not(.header-not-main-page) {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 100;
  border-bottom: 1px solid rgba(16,32,39,.12) !important;
  background: transparent !important;
}
.main_header:not(.header-not-main-page) .header_top { height: 88px; padding: 0 !important; border: 0 !important; }
.main_header:not(.header-not-main-page) .header_top .nav-panel,
.main_header:not(.header-not-main-page) .header_top .top-menu,
.main_header:not(.header-not-main-page) .header_top .row { height: 100%; }
.main_header:not(.header-not-main-page) .header_top .top-menu { max-width: none !important; padding-right: clamp(28px, 4vw, 72px); padding-left: clamp(28px, 4vw, 72px); }
.main_header:not(.header-not-main-page) .header_top .row { justify-content: space-between; }
.main_header:not(.header-not-main-page) .logo-block {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
.main_header:not(.header-not-main-page) .logo-block:after {
  content: 'ЕВРОСТЕКЛО  |  АРХИТЕКТУРНЫЕ РЕШЕНИЯ';
  margin-left: 12px;
  color: var(--es-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: pre;
}
.main_header:not(.header-not-main-page) .logo-block img,
.main_header:not(.header-not-main-page) .logo-block svg { max-height: 42px; }
.main_header:not(.header-not-main-page) .working_time-block,
.main_header:not(.header-not-main-page) .header_two_line,
.main_header:not(.header-not-main-page) .callback_cnt,
.main_header:not(.header-not-main-page) .regionality-block,
.main_header:not(.header-not-main-page) .search-block,
.main_header:not(.header-not-main-page) .cart_block,
.main_header:not(.header-not-main-page) .account-block,
.main_header:not(.header-not-main-page) .header_bottom { display: none !important; }
.main_header:not(.header-not-main-page) .header-right-block {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin-left: auto;
}
.main_header:not(.header-not-main-page) .header-menu-burger-block {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px;
  margin: 0;
  padding: 0 !important;
  background: rgba(255,255,255,.58);
}
.main_header:not(.header-not-main-page) .hamburger-btn { position: relative !important; inset: auto !important; width: 48px !important; height: 48px !important; padding: 15px 13px !important; border: 0 !important; background: transparent !important; }
.main_header:not(.header-not-main-page) .hamburger-btn img,
.main_header:not(.header-not-main-page) .hamburger-btn .sr-only { display: none !important; }
.main_header:not(.header-not-main-page) .hamburger-btn .icon-bar { position: static !important; display: block !important; width: 22px !important; height: 1px !important; margin: 5px 0 !important; opacity: 1 !important; background: var(--es-ink) !important; transform: none !important; }

/* Approved homepage hero */
.modern-hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  background: #dce9ef;
}
.modern-hero__media { position: absolute; inset: 0; background: url('./assets/hero-villa.webp') 52% center / cover no-repeat; }
.modern-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(242,248,251,.97) 0%, rgba(242,248,251,.85) 27%, rgba(242,248,251,.13) 54%, rgba(242,248,251,0) 76%), linear-gradient(0deg, rgba(4,27,38,.18), transparent 36%);
}
.modern-hero__container { position: relative; z-index: 2; width: 100%; max-width: none !important; height: 100%; min-height: inherit; padding-right: clamp(28px, 4vw, 72px); padding-left: clamp(28px, 4vw, 72px); }
.modern-hero__content { width: min(720px, 56vw); padding-top: clamp(170px, 22vh, 235px); }
.modern-hero__eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 28px; color: var(--es-ink); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.modern-hero__eyebrow span { width: 34px; height: 1px; background: currentColor; }
.modern-hero__title {
  margin: 0;
  color: var(--es-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(52px, 5.15vw, 88px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .98;
}
.modern-hero__title em { color: var(--es-blue); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
.modern-hero__copy { width: min(530px, 92%); margin: 30px 0 0; color: #465a64; font-size: 15px; line-height: 1.8; }
.modern-hero__actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.modern-hero__primary { display: inline-flex; align-items: center; justify-content: space-between; min-width: 240px; padding: 18px 22px; color: #fff !important; background: var(--es-blue); font-size: 12px; font-weight: 700; }
.modern-hero__primary:hover { background: var(--es-blue-dark); }
.modern-hero__link { padding: 14px 0 7px; border-bottom: 1px solid var(--es-ink); color: var(--es-ink) !important; font-size: 12px; font-weight: 700; }
.modern-hero__meta { position: absolute; z-index: 2; right: clamp(28px, 4vw, 72px); bottom: 27px; left: clamp(28px, 4vw, 72px); display: flex; align-items: end; justify-content: space-between; color: #fff; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.modern-hero__meta > div { display: flex; align-items: center; gap: 12px; }
.modern-hero__meta strong { font: 400 30px/1 Georgia, serif; }
.modern-hero__meta div span { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.55); line-height: 1.5; }

/* Hero */
.slider-3-wide { max-width: none !important; padding: 0 !important; }
.slider-3-wide > .row, .slider-3-wide .slider-col { margin: 0 !important; padding: 0 !important; }
#head_owl { background: var(--es-ice); }
#head_owl .head-slide {
  min-height: clamp(560px, 67vh, 700px) !important;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(9,25,31,.72) 0%, rgba(9,25,31,.38) 43%, rgba(9,25,31,.04) 73%), url('./assets/hero-villa.webp') !important;
  background-position: center !important;
  background-size: cover !important;
}
#head_owl .head-slide > .container { width: 100%; }
#head_owl .head-slide .row { align-items: center; min-height: inherit; }
#head_owl .head-slide .row > .col-12 {
  max-width: 760px;
  padding: 34px 15px 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
#head_owl .slider_header {
  max-width: 760px;
  margin: 0 0 22px;
  color: #fff !important;
  font-size: clamp(2.75rem, 3.6vw, 4rem) !important;
  line-height: 1.02 !important;
  text-shadow: 0 4px 30px rgba(0,0,0,.18);
}
#head_owl .slider_description {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.88) !important;
  font-size: clamp(15px, 1.15vw, 18px) !important;
  line-height: 1.6;
}
#head_owl .btn { min-width: 230px; }
#head_owl .owl-dots { position: absolute; right: 5vw; bottom: 38px; }
#head_owl .owl-dot span { width: 34px; height: 3px; margin: 5px; border-radius: 0; background: rgba(255,255,255,.45); }
#head_owl .owl-dot.active span { background: #fff; }
#head_owl .owl-nav button { border-radius: 50% !important; background: rgba(255,255,255,.14) !important; backdrop-filter: blur(8px); }

/* Section rhythm */
.advantages-section, .services-section, .about-section, .reviews-section,
.news-section, .projects-section, #advantages, #services, #news, #projects {
  padding-top: 92px !important;
  padding-bottom: 92px !important;
}
#advantages, .advantages-section { background: #fff !important; }
.advantages_item, .advantage-item {
  height: 100%;
  padding: 28px 22px !important;
  border-left: 1px solid var(--es-line);
  background: transparent !important;
  box-shadow: none !important;
}
.advantages_item img, .advantage-item img { max-width: 48px; filter: grayscale(1); opacity: .78; }
.advantages_item .heading, .advantage-item .heading { margin-top: 18px; color: var(--es-ink); font-size: 16px; font-weight: 700; }

/* Services */
.services-section, .sect_service, .service-section { background: var(--es-cloud) !important; }
.sect_service_block { margin-bottom: 28px !important; }
.sect_service_cnt {
  position: relative;
  min-height: 410px !important;
  height: 100%;
  overflow: hidden;
  border: 0 !important;
  border-radius: var(--es-radius) !important;
  background-color: #dce8ed;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: 0 12px 38px rgba(16,32,39,.1) !important;
  transition: transform .35s ease, box-shadow .35s ease !important;
}
.sect_service_cnt:hover { transform: translateY(-7px); box-shadow: var(--es-shadow) !important; }
.sect_service_cnt:after, .sect_service_bg {
  content: '';
  position: absolute !important;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,23,28,.02) 35%, rgba(7,23,28,.88) 100%) !important;
  opacity: 1 !important;
}
.sect_service_heading, .sect_service_desc, .sect_service_detail, .sect_service_list { position: relative; z-index: 2; }
.sect_service_heading {
  position: absolute !important;
  left: 28px !important;
  right: 28px !important;
  bottom: 28px !important;
  top: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(1.55rem, 2.25vw, 2.35rem) !important;
  line-height: 1.08 !important;
  text-align: left !important;
  background: transparent !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.sect_service_desc, .sect_service_detail { display: none !important; }
.sect_service_img { min-height: 360px !important; border-radius: var(--es-radius) !important; background-size: cover !important; }
#sect_service_86, #sect_service_86 .sect_service_img { background-image: url('./assets/office-partitions.webp') !important; }
#sect_service_62, #sect_service_62 .sect_service_img { background-image: url('./assets/processing.webp') !important; }
#sect_service_63, #sect_service_63 .sect_service_img { background-image: url('./assets/canopy.webp') !important; }
#sect_service_77, #sect_service_77 .sect_service_img { background-image: url('./assets/mirror.webp') !important; }
#sect_service_620 { background-image: url('./assets/office-partitions.webp') !important; }
#sect_service_621 { background-image: url('./assets/shower.webp') !important; }
#sect_service_623 { background-image: url('./assets/glass-railing.webp') !important; }
#sect_service_624 { background-image: url('./assets/canopy.webp') !important; }
#sect_service_625 { background-image: url('./assets/hero-villa.webp') !important; }
#sect_service_626 { background-image: url('./assets/office-partitions.webp') !important; }
#sect_service_627 { background-image: url('./assets/skinali.webp') !important; }
#sect_service_722 { background-image: url('./assets/mirror.webp') !important; }

/* Homepage uses the list-style service component: image + navigable category links. */
#services { position: relative; background: var(--es-cloud) !important; }
#services > .container { position: relative; }
#services .all_services_link {
  position: absolute;
  z-index: 3;
  top: 2px;
  right: 15px;
  width: auto !important;
  height: auto !important;
  padding: 12px 19px !important;
  border: 1px solid var(--es-line);
  border-radius: 999px !important;
  color: var(--es-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}
#services .sect_service_cnt {
  min-height: 390px !important;
  display: flex !important;
  align-items: stretch !important;
  overflow: hidden;
  background: #fff !important;
}
#services .sect_service_cnt:after { display: none !important; }
#services .sect_service_img {
  width: 50% !important;
  min-height: 390px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  flex: 0 0 50% !important;
}
#services .sect_service_list {
  position: relative;
  z-index: 2;
  width: 50% !important;
  padding: 38px 34px !important;
  background: #fff;
}
#services .sect_service_link {
  margin: 0 0 18px;
  color: var(--es-ink) !important;
  font: 400 clamp(1.7rem, 2.2vw, 2.35rem)/1.1 Georgia, serif;
  letter-spacing: -.03em;
}
#services .sect_service_list ul { columns: 1; }
#services .sect_service_list ul a { margin-bottom: 7px; color: var(--es-ink-soft) !important; font-size: 13px; line-height: 1.35; }
#services .sect_service_list ul a:hover { color: var(--es-blue) !important; }

/* About */
.about-section { position: relative; overflow: hidden; background: var(--es-ink) !important; color: rgba(255,255,255,.73); }
.about-section:after { content: ''; position: absolute; right: -15%; top: -30%; width: 55%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.about-section h2, .about-section h3, .about-section .title, .about-section a:not(.btn) { color: #fff !important; }
.about-section .container { position: relative; z-index: 1; }

/* Reviews, projects, news */
.reviews-section { background: var(--es-ice) !important; }
.reviews-section .item, .reviews_item, .review-item {
  height: 100%;
  padding: 36px !important;
  border: 1px solid rgba(16,32,39,.08) !important;
  border-radius: var(--es-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.reviews-section .item:before { content: '“'; display: block; height: 45px; color: var(--es-blue); font: 64px/1 Georgia, serif; }
.news-item, .project-item, .projects-section .item {
  overflow: hidden;
  border: 1px solid var(--es-line) !important;
  border-radius: var(--es-radius) !important;
  background: #fff;
  box-shadow: none !important;
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-item:hover, .project-item:hover, .projects-section .item:hover { transform: translateY(-5px); box-shadow: var(--es-shadow) !important; }
.news-item__img, .project-item__img, .projects-section .item-image { min-height: 260px; background-size: cover; }
.news-item__preview, .news-item__content, .project-item__content { padding: 25px !important; }
.projects-section__tabs-list { gap: 8px; border: 0 !important; }
.projects-section__tabs-list li, .projects-section__tabs-list a { border-radius: 999px !important; }
.projects-section__project-wrapper { overflow: hidden; border-radius: var(--es-radius) !important; box-shadow: 0 16px 44px rgba(16,32,39,.13); }
.projects-section__project-background { min-height: 420px !important; background-position: center !important; background-size: cover !important; }
#projects_10 .projects-section__project-background { background-image: url('./assets/glass-railing.webp') !important; }
#projects_11 .projects-section__project-background { background-image: url('./assets/mirror.webp') !important; }
#projects_12 .projects-section__project-background { background-image: url('./assets/canopy.webp') !important; }
#projects_87 .projects-section__project-background { background-image: url('./assets/skinali.webp') !important; }
#projects_88 .projects-section__project-background { background-image: url('./assets/office-partitions.webp') !important; }
#projects_89 .projects-section__project-background { background-image: url('./assets/glass-railing.webp') !important; }
.page-footer {
  padding: 64px 0 !important;
  background: linear-gradient(120deg, #102027, #1b3440) !important;
  color: rgba(255,255,255,.72) !important;
}
.page-footer .page-footer-img, .page-footer .col-md-4 { display: none !important; }
.page-footer .col-md-8 { flex: 0 0 100% !important; max-width: 100% !important; }
.page-footer .page-footer-text { max-width: 760px; }
.page-footer h4 { color: #fff !important; font: 400 clamp(2rem,3vw,3.3rem)/1.08 Georgia,serif !important; letter-spacing: -.035em; }
.page-footer-buttons-block { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Inner pages */
.page-header, .page_header, .inner-page-header {
  margin: 0 !important;
  padding: 70px 0 54px !important;
  background: var(--es-ice) !important;
  border: 0 !important;
}
.page-header .title, .page_header .title { margin: 0; }
.breadcrumb, .bx-breadcrumb { margin: 0; padding: 18px 0; background: transparent !important; font-size: 12px; }
.breadcrumb a, .bx-breadcrumb a { color: var(--es-ink-soft); }
.content-wrapper, .page-content, main { background: #fff; }
.service-item, .catalog-section-list-item, .catalog-item, .product-item, .portfolio-item {
  overflow: hidden;
  border: 1px solid var(--es-line) !important;
  border-radius: 18px !important;
  background: #fff;
  box-shadow: none !important;
}
.detail-page img, .service-detail img { border-radius: 18px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--es-line); border-radius: 14px; }
table th { background: var(--es-ice); color: var(--es-ink); }
table th, table td { padding: 14px 16px; border-color: var(--es-line) !important; }
input[type='text'], input[type='tel'], input[type='email'], input[type='password'], textarea, select {
  min-height: 52px;
  padding: 13px 16px !important;
  border: 1px solid var(--es-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--es-ink) !important;
  box-shadow: none !important;
}
textarea { min-height: 130px; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--es-blue) !important; box-shadow: 0 0 0 4px rgba(47,103,231,.1) !important; }
.pagination .page-link { margin: 0 4px; border: 0; border-radius: 50% !important; color: var(--es-ink); }
.pagination .active .page-link { background: var(--es-blue); color: #fff; }

/* Footer */
.footer-section, .footer-section.light {
  padding-top: 72px !important;
  padding-bottom: 32px !important;
  border: 0 !important;
  background: #0b171c !important;
  color: rgba(255,255,255,.62) !important;
}
.footer-section a, .footer-section .heading, .footer-section h3, .footer-section h4 { color: #fff !important; }
.footer-section a:hover { color: #8fb2ff !important; }
.footer-section__container { border-color: rgba(255,255,255,.12) !important; }
.footer-section__phone-block, .footer-section__email-block, .footer-section__address-block { border-color: rgba(255,255,255,.12) !important; }
.footer-section svg { fill: #8fb2ff !important; }
.scrollToTop { right: 24px !important; bottom: 24px !important; width: 50px !important; height: 50px !important; overflow: hidden; border-radius: 50% !important; background: var(--es-blue) !important; box-shadow: 0 12px 30px rgba(47,103,231,.3); font-size: 0 !important; }
.scrollToTop:before { content: '↑'; color: #fff; font-size: 22px; line-height: 1; }

/* Motion */
.es-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.es-reveal.es-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .es-reveal { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
  .container { max-width: 100%; padding-left: 22px; padding-right: 22px; }
  .nav-panel-mobile { min-height: 72px; }
  .nav-panel-mobile img, .nav-panel-mobile svg { max-height: 48px; width: auto; }
  #head_owl .head-slide { min-height: 590px !important; background-position: 62% center !important; }
  #head_owl .head-slide .col-12 { max-width: 680px; }
  .advantages-section, .services-section, .about-section, .reviews-section,
  .news-section, .projects-section, #advantages, #services, #news, #projects { padding-top: 68px !important; padding-bottom: 68px !important; }
  .main_header:not(.header-not-main-page) { display: none !important; }
  .es-home .nav-panel-mobile { position: absolute !important; inset: 0 0 auto; z-index: 100; min-height: 72px; border-bottom: 1px solid rgba(16,32,39,.12); background: transparent !important; }
  .es-home .nav-panel-mobile .header-mobile { padding: 0 24px; }
  .es-home .nav-panel-mobile .header-mobile > .row > .col-12 { min-height: 72px; align-items: center; }
  .es-home .nav-panel-mobile .left-mobile-block { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; width: 100%; }
  .es-home .nav-panel-mobile .right-mobile-block { display: none !important; }
  .es-home .nav-panel-mobile .hamburger-btn img,
  .es-home .nav-panel-mobile .hamburger-btn .sr-only { display: none !important; }
  .es-home .nav-panel-mobile .hamburger-btn { width: 44px !important; height: 44px !important; padding: 12px !important; background: rgba(255,255,255,.62) !important; }
  .es-home .nav-panel-mobile .hamburger-btn .icon-bar { position: static !important; display: block !important; width: 20px !important; height: 1px !important; margin: 5px 0 !important; opacity: 1 !important; background: var(--es-ink) !important; transform: none !important; }
  .modern-hero { min-height: 700px; }
  .modern-hero__content { width: min(680px, 92vw); padding-top: 145px; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .title { margin-bottom: 28px; }
  #head_owl .head-slide {
    min-height: 570px !important;
    background-image: linear-gradient(90deg, rgba(9,25,31,.82), rgba(9,25,31,.25)), url('./assets/hero-villa.webp') !important;
  }
  #head_owl .head-slide .row > .col-12 { padding-top: 28px !important; padding-bottom: 52px !important; }
  #head_owl .slider_header { font-size: clamp(2.2rem, 10.8vw, 3.1rem) !important; }
  #head_owl .slider_description { font-size: 15px !important; line-height: 1.55; }
  #head_owl .owl-dots { right: auto; left: 17px; bottom: 22px; }
  .sect_service_cnt { min-height: 350px !important; }
  .sect_service_heading { left: 22px !important; right: 22px !important; bottom: 22px !important; }
  .page-header, .page_header, .inner-page-header { padding: 44px 0 34px !important; }
  .reviews-section .item { padding: 25px !important; }
  .footer-section { padding-top: 52px !important; }
  #services .all_services_link { position: static; display: inline-flex; margin-bottom: 25px; }
  #services .sect_service_cnt { display: block !important; min-height: 0 !important; }
  #services .sect_service_img { width: 100% !important; min-height: 280px !important; flex-basis: auto !important; }
  #services .sect_service_list { width: 100% !important; padding: 26px 24px 30px !important; }
  .modern-hero { min-height: 720px; }
  .modern-hero__media { background-position: 62% center; }
  .modern-hero__shade { background: linear-gradient(180deg, rgba(240,247,250,.94) 0%, rgba(240,247,250,.75) 46%, rgba(8,30,40,.42) 100%); }
  .modern-hero__container { padding-left: 24px; padding-right: 24px; }
  .modern-hero__content { width: 100%; padding-top: 115px; }
  .modern-hero__eyebrow { margin-bottom: 22px; font-size: 8px; }
  .modern-hero__title { font-size: clamp(42px, 11.2vw, 55px); line-height: 1.01; }
  .modern-hero__title em { display: inline; font-size: 1em; }
  .modern-hero__copy { width: 100%; margin-top: 24px; font-size: 13px; line-height: 1.65; }
  .modern-hero__actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 26px; }
  .modern-hero__primary { min-width: 220px; }
  .modern-hero__meta { right: 24px; bottom: 20px; left: 24px; }
  .modern-hero__meta > div { display: none; }
  .modern-hero__meta > span { margin-left: auto; }
}

/* === Homepage composition from the approved concept === */
.esx-home { --esx-pad: clamp(28px, 5vw, 84px); overflow: hidden; background: #f5f8f9; }
.esx-home h2, .esx-home h3 { margin: 0; }
.esx-home em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.esx-hero { position: relative; min-height: 760px; height: 100svh; overflow: hidden; background: #dce9ef; }
.esx-hero__media { position: absolute; inset: 0; background: url('./assets/hero-villa.webp') 52% center / cover no-repeat; }
.esx-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(242,248,251,.97) 0%,rgba(242,248,251,.85) 27%,rgba(242,248,251,.13) 54%,rgba(242,248,251,0) 76%),linear-gradient(0deg,rgba(4,27,38,.18),transparent 36%); }
.esx-hero__content { position: relative; z-index: 2; width: min(720px,56vw); padding: clamp(170px,22vh,235px) 0 40px var(--esx-pad); }
.esx-eyebrow { display: flex; align-items: center; gap: 13px; color: var(--es-ink); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.esx-eyebrow span { width: 34px; height: 1px; background: currentColor; }
.esx-hero__title { margin-top: 28px; color: var(--es-ink); font: 400 clamp(52px,5.15vw,88px)/.98 Montserrat,Arial,sans-serif; letter-spacing: -.06em; }
.esx-hero__title em { color: var(--es-blue); letter-spacing: -.045em; }
.esx-hero__copy { width: min(530px,92%); margin: 30px 0 0; color: #465a64; font-size: 15px; line-height: 1.8; }
.esx-actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }
.esx-button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 240px; padding: 18px 22px; color: #fff !important; background: var(--es-blue); font-size: 12px; font-weight: 700; }
.esx-button:hover { color: #fff; background: var(--es-blue-dark); }
.esx-text-link { padding: 14px 0 7px; border-bottom: 1px solid var(--es-ink); color: var(--es-ink) !important; font-size: 12px; font-weight: 700; }
.esx-hero__meta { position: absolute; z-index: 2; right: var(--esx-pad); bottom: 27px; left: var(--esx-pad); display: flex; align-items: end; justify-content: space-between; color: #fff; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.esx-hero__meta > div { display: flex; align-items: center; gap: 12px; }
.esx-hero__meta strong { font: 400 30px/1 Georgia,serif; }
.esx-hero__meta div span { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.55); line-height: 1.5; }
.esx-ticker { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--es-line); background: #fff; }
.esx-ticker > div { display: flex; align-items: center; justify-content: space-around; min-width: 900px; color: var(--es-ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.esx-ticker i { width: 5px; height: 5px; border-radius: 50%; background: var(--es-blue); }
.esx-section { padding: 118px var(--esx-pad); }
.esx-label { display: flex; gap: 13px; align-items: center; margin-bottom: 42px; color: #60737d; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.esx-label span { color: var(--es-blue); }
.esx-intro { background: #f5f8f9; }
.esx-intro__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(350px,.92fr); gap: 9vw; align-items: end; }
.esx-company-title { max-width: 650px; margin: 0 0 24px; color: #60737d; font: 600 11px/1.6 Montserrat,Arial,sans-serif !important; letter-spacing: .1em; text-transform: uppercase; }
.esx-intro h2, .esx-section-head h2, .esx-material h2, .esx-cta h2 { color: var(--es-ink); font: 400 clamp(46px,5.25vw,88px)/1.01 Montserrat,Arial,sans-serif !important; letter-spacing: -.06em; }
.esx-intro h2 em, .esx-section-head h2 em, .esx-material h2 em, .esx-cta h2 em { color: var(--es-blue); }
.esx-intro__copy > p { max-width: 560px; margin: 0 0 50px; color: var(--es-ink-soft); font-size: 16px; line-height: 1.85; }
.esx-features { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--es-line); }
.esx-features > div { padding: 24px 14px 0 0; border-right: 1px solid var(--es-line); }
.esx-features > div:last-child { border: 0; padding-left: 14px; }
.esx-features strong { display: block; margin-bottom: 10px; color: var(--es-blue); font: 400 25px/1 Georgia,serif; }
.esx-features span { font-size: 9px; font-weight: 700; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.esx-solutions { background: #fff; }
.esx-section-head { display: grid; grid-template-columns: .7fr 1.25fr .65fr; gap: 5vw; align-items: end; margin-bottom: 72px; }
.esx-section-head .esx-label { align-self: start; }
.esx-section-head > p { margin: 0 0 8px; color: var(--es-ink-soft); line-height: 1.75; }
.esx-service-list { border-top: 1px solid var(--es-line); }
.esx-service-list > a { position: relative; display: grid; grid-template-columns: 70px minmax(260px,.9fr) 1.2fr 40px; gap: 28px; align-items: center; min-height: 150px; padding: 28px 10px; border-bottom: 1px solid var(--es-line); color: var(--es-ink); }
.esx-service-list > a:hover { background: var(--es-ice); padding-right: 22px; padding-left: 22px; }
.esx-service-list span { color: var(--es-blue); font-size: 11px; font-weight: 700; }
.esx-service-list h3 { color: var(--es-ink); font: 400 clamp(25px,2.4vw,40px)/1.1 Montserrat,Arial,sans-serif; letter-spacing: -.045em; }
.esx-service-list p { margin: 0; color: var(--es-ink-soft); }
.esx-service-list i { color: var(--es-blue); font-size: 24px; font-style: normal; }
.esx-all-link { display: inline-block; margin-top: 35px; padding-bottom: 7px; border-bottom: 1px solid; color: var(--es-ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.esx-projects { background: var(--es-ink); }
.esx-section-head--light h2, .esx-section-head--light p { color: #fff !important; }
.esx-section-head--light .esx-label { color: rgba(255,255,255,.55); }
.esx-project-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2,minmax(280px,32vw)); gap: 18px; }
.esx-project { position: relative; overflow: hidden; color: #fff !important; background: #1d3039; }
.esx-project--large { grid-row: 1 / 3; }
.esx-project:after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(5,17,22,.83)); }
.esx-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.esx-project:hover img { transform: scale(1.035); }
.esx-project > span, .esx-project > h3, .esx-project > i { position: absolute; z-index: 2; }
.esx-project > span { bottom: 82px; left: 28px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.esx-project > h3 { right: 65px; bottom: 27px; left: 28px; color: #fff; font: 400 clamp(23px,2.3vw,38px)/1.05 Montserrat,Arial,sans-serif; letter-spacing: -.04em; }
.esx-project > i { right: 28px; bottom: 30px; font-size: 24px; font-style: normal; }
.esx-material { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw; align-items: center; background: #eef4f6; }
.esx-orbit { position: relative; display: grid; width: min(430px,38vw); aspect-ratio: 1; place-items: center; border: 1px solid rgba(47,103,231,.25); border-radius: 50%; }
.esx-orbit:before, .esx-orbit:after { content: ''; position: absolute; border: 1px solid rgba(47,103,231,.16); border-radius: 50%; }
.esx-orbit:before { inset: 13%; }.esx-orbit:after { inset: 28%; }
.esx-orbit > div { z-index: 2; display: grid; width: 42%; aspect-ratio: 1; place-items: center; border-radius: 50%; background: rgba(255,255,255,.62); box-shadow: inset 0 0 40px rgba(255,255,255,.9); }
.esx-orbit strong { display: block; color: var(--es-blue); font: 400 clamp(36px,4vw,64px)/.8 Georgia,serif; }.esx-orbit small { font-size: 12px; }
.esx-orbit > span { position: absolute; bottom: 8%; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.esx-material__content > p { max-width: 660px; margin: 34px 0; color: var(--es-ink-soft); font-size: 16px; line-height: 1.8; }
.esx-material ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--es-line); }
.esx-material li { display: flex; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--es-line); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.esx-material li b { min-width: 60px; color: var(--es-blue); font: 400 22px/1 Georgia,serif; }
.esx-process { background: #fff; }
.esx-process ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--es-line); }
.esx-process li { display: grid; grid-template-columns: 100px 1fr; gap: 25px; padding: 32px 0; border-bottom: 1px solid var(--es-line); }
.esx-process li > span { color: var(--es-blue); font: 400 27px/1 Georgia,serif; }
.esx-process li h3 { color: var(--es-ink); font: 400 29px/1.1 Montserrat,Arial,sans-serif; letter-spacing: -.04em; }
.esx-process li p { margin: 10px 0 0; color: var(--es-ink-soft); }
.esx-cta { position: relative; display: grid; min-height: 650px; padding: 110px var(--esx-pad); place-items: center; overflow: hidden; color: #fff; background: var(--es-blue); text-align: center; }
.esx-cta:before, .esx-cta:after { content: ''; position: absolute; width: 520px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }.esx-cta:after{width:760px}
.esx-cta > div { position: relative; z-index: 1; max-width: 900px; }
.esx-cta .esx-eyebrow { justify-content: center; color: #fff; }
.esx-cta h2 { margin-top: 28px; color: #fff !important; }
.esx-cta h2 em { color: rgba(255,255,255,.75); }
.esx-cta > div > p:not(.esx-eyebrow) { max-width: 650px; margin: 28px auto 34px; color: rgba(255,255,255,.78); }
.esx-button--light { color: var(--es-blue) !important; background: #fff; }

@media (max-width: 991px) {
  .esx-section { padding: 85px var(--esx-pad); }
  .esx-intro__grid, .esx-material { grid-template-columns: 1fr; gap: 55px; }
  .esx-section-head { grid-template-columns: 1fr; gap: 18px; }
  .esx-section-head .esx-label { margin-bottom: 18px; }
  .esx-section-head > p { max-width: 560px; }
  .esx-service-list > a { grid-template-columns: 45px 1fr 1fr 28px; }
  .esx-orbit { width: min(430px,80vw); margin: auto; }
}
@media (max-width: 767px) {
  .esx-home { --esx-pad: 24px; }
  .esx-hero { min-height: 720px; }
  .esx-hero__media { background-position: 62% center; }
  .esx-hero__shade { background: linear-gradient(180deg,rgba(240,247,250,.94) 0%,rgba(240,247,250,.75) 46%,rgba(8,30,40,.42) 100%); }
  .esx-hero__content { box-sizing: border-box; width: 100%; max-width: 100%; padding: 115px var(--esx-pad) 120px; }
  .esx-hero__title { font-size: clamp(38px,10.1vw,46px); line-height: 1.01; }
  .esx-hero__copy { width: 100%; margin-top: 24px; font-size: 13px; line-height: 1.65; }
  .esx-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 26px; }
  .esx-hero__meta { right: var(--esx-pad); bottom: 20px; left: var(--esx-pad); }.esx-hero__meta > div{display:none}.esx-hero__meta>span{margin-left:auto}
  .esx-section { padding-top: 70px; padding-bottom: 70px; }
  .esx-intro__grid { grid-template-columns: 1fr; gap: 35px; }
  .esx-intro h2, .esx-section-head h2, .esx-material h2, .esx-cta h2 { font-size: clamp(40px,11vw,56px) !important; }
  .esx-features { grid-template-columns: 1fr; }.esx-features>div{display:flex;gap:18px;border-right:0;border-bottom:1px solid var(--es-line);padding:18px 0!important}.esx-features strong{margin:0}
  .esx-service-list > a { grid-template-columns: 36px 1fr 24px; gap: 14px; min-height: 125px; }.esx-service-list p{display:none}.esx-service-list i{grid-column:3;grid-row:1}.esx-service-list h3{font-size:25px}
  .esx-project-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3,430px); }.esx-project--large{grid-row:auto}
  .esx-process li { grid-template-columns: 52px 1fr; }
  .esx-cta { min-height: 570px; padding: 80px var(--esx-pad); }
}

/* 2026-09-22 — coherent identity and reliable inner-page system. */
.main_header .navbar-logo,
.nav-panel-mobile .navbar-logo {
  display: inline-flex !important;
  align-items: center;
  min-width: 42px;
  min-height: 32px;
  background: transparent !important;
}
.main_header .navbar-logo > img,
.nav-panel-mobile .navbar-logo > img { display: none !important; }
.main_header .navbar-logo:before,
.nav-panel-mobile .navbar-logo:before {
  content: '';
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 27px;
  background: url('/upload/main/425/9kzwy083lmcex5hi4byhlnq8a061tff2/Bez-nazvaniya.jpg') center top / 42px 42px no-repeat;
  mix-blend-mode: multiply;
}
.main_header.header-not-main-page .logo-block {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
.main_header.header-not-main-page .logo-block:after {
  content: 'ЕВРОСТЕКЛО  |  АРХИТЕКТУРНЫЕ РЕШЕНИЯ';
  margin-left: 13px;
  color: var(--es-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .075em;
  white-space: pre;
}
.main_header.header-not-main-page .working_time-block { display: none !important; }

/* Inner pages repeat the approved clean architectural language. */
.es-inner .page-header,
.es-inner .page_header,
.es-inner .inner-page-header {
  position: relative;
  overflow: hidden;
  margin-bottom: 0 !important;
  padding: clamp(72px, 8vw, 122px) 0 clamp(58px, 7vw, 96px) !important;
  background: linear-gradient(135deg, #f4f8fa 0%, #e9f1f5 100%) !important;
}
.es-inner .page-header:after,
.es-inner .page_header:after,
.es-inner .inner-page-header:after {
  content: '';
  position: absolute;
  top: -190px;
  right: -80px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(47,103,231,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(47,103,231,.035), 0 0 0 152px rgba(47,103,231,.025);
}
.es-inner .page-header .container,
.es-inner .page_header .container,
.es-inner .inner-page-header .container { position: relative; z-index: 1; }
.es-inner .es-page-title,
.es-inner .page-header h1,
.es-inner .page_header h1,
.es-inner .inner-page-header h1 {
  max-width: 1080px;
  margin: 30px 0 0 !important;
  color: var(--es-ink) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(46px, 6vw, 88px) !important;
  font-weight: 400 !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}
.es-inner .breadcrumbs,
.es-inner .breadcrumb { color: #73838a; font-size: 12px; }
.es-inner .page-content { padding-bottom: 88px; background: #fff; }

/* Service/product detail hero. */
.es-inner .service-detail__preview {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 72vh, 780px) !important;
  margin: 0 0 72px !important;
  background-position: center !important;
}
.es-inner .service-detail__preview:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(239,247,250,.97) 0%, rgba(239,247,250,.88) 38%, rgba(239,247,250,.2) 67%, rgba(8,25,32,.12) 100%);
}
.es-inner .service-detail__preview .service_background,
.es-inner .service-detail__preview .row > [class*='col-'] {
  padding: 48px !important;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 24px;
  background: rgba(242,248,250,.7);
  box-shadow: 0 24px 80px rgba(16,32,39,.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.es-inner h1.service-detail__preview-title {
  margin: 0 0 24px !important;
  color: var(--es-ink) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: clamp(44px, 5vw, 76px) !important;
  font-weight: 400 !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}
.es-inner .service-detail__preview-text {
  max-width: 650px;
  margin-bottom: 30px !important;
  color: var(--es-ink-soft) !important;
  font-size: 15px;
  line-height: 1.75;
}
.es-inner .service-detail__preview .btn {
  min-width: 190px;
  border-radius: 0 !important;
  box-shadow: none;
}
.es-inner .service_info_container { padding-top: 12px; }
.es-inner .service-desc-tabs-list { gap: 8px; }
.es-inner .service-desc-tabs-list > li > a { border-radius: 999px; background: var(--es-cloud); }
.es-inner .service-desc-tabs-list > li > a.active { color: #fff !important; background: var(--es-blue); }
.es-inner .service-desc-tabs-list > li > a:after { display: none; }

/* Project catalogue: editorial, dark and image-led. */
.es-inner .projects-page__container { padding-top: 72px; }
.es-inner .projects-section__projects-row { margin-bottom: 24px; }
.es-inner .projects-section__project-wrapper,
.es-inner .projects-section__project-section-info { height: clamp(300px, 29vw, 430px); }
.es-inner .projects-section__project-section-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px !important;
  color: #fff;
  background: var(--es-ink) !important;
}
.es-inner .projects-section__project-section-name { margin: 0; color: #fff; font-size: clamp(24px,2.4vw,38px); line-height: 1.05; letter-spacing: -.04em; text-transform: none; }
.es-inner .projects-section__project-section-description { margin-top: 18px; color: rgba(255,255,255,.62); }
.es-inner .projects-section__project-wrapper:after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5,17,22,.84));
}
.es-inner .projects-section__project-name {
  z-index: 3;
  padding: 28px !important;
  color: #fff;
  background: transparent !important;
  font-size: 22px;
  font-weight: 500;
}
.es-inner .projects-section__project-background { transition: transform .65s cubic-bezier(.22,.61,.36,1) !important; }
.es-inner .services-section > .service-detail__preview:first-child { margin-top: -92px !important; }

.es-inner .projects__project-wrapper {
  position: relative;
  display: block;
  min-height: clamp(330px, 32vw, 470px);
  overflow: hidden;
  color: #fff !important;
  background: var(--es-ink);
}
.es-inner .projects__project-wrapper:after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 30% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5,17,22,.88));
}
.es-inner .projects__project-background,
.es-inner .projects__project-background-img {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-position: center !important;
  background-size: cover !important;
  transition: transform .65s cubic-bezier(.22,.61,.36,1) !important;
}
.es-inner .projects__project-wrapper:hover .projects__project-background,
.es-inner .projects__project-wrapper:hover .projects__project-background-img { transform: scale(1.035); }
.es-inner .projects__project-heading {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: #fff;
}
.es-inner .projects__project-heading-section { margin-bottom: 9px; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.es-inner .projects__project-heading-name { color: #fff; font-size: clamp(24px,2.4vw,38px); line-height: 1.05; letter-spacing: -.04em; }
.es-inner .projects_row > [class*='col-'] { margin-bottom: 24px; }
.es-inner .projects-page__container .owl-projects .owl-stage-outer { overflow: visible !important; }
.es-inner .projects-page__container .owl-projects .owl-stage {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  width: auto !important;
  transform: none !important;
}
.es-inner .projects-page__container .owl-projects .owl-item { width: auto !important; }
.es-inner .projects-page__container .owl-projects .owl-item.cloned,
.es-inner .projects-page__container .owl-projects .owl-nav,
.es-inner .projects-page__container .owl-projects .owl-dots { display: none !important; }
.es-inner .projects-page__container .projects-section__project-wrapper { border-radius: 0 !important; }

/* One art direction for every content image, including legacy galleries. */
.es-inner .page-content img:not([class*='icon']),
.es-inner .services-section img:not([class*='icon']),
.es-inner .projects-page__container img:not([class*='icon']) {
  width: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(.98);
}
.es-inner .gallery img,
.es-inner [class*='gallery'] img { min-height: 260px; aspect-ratio: 4 / 3; }
.es-inner .news-item,
.es-inner [class*='blog-list'] .item {
  overflow: hidden;
  border: 1px solid var(--es-line);
  background: #fff;
}

/* Articles and ordinary content. */
.es-inner .news-detail__main-column,
.es-inner .blog-detail__main-column { padding-top: 56px; }
.es-inner .news-detail__sidebar { display: none !important; }
.es-inner .news-detail__main-column,
.es-inner .blog-detail__main-column {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
.es-inner .news-detail__photogallery-image-block {
  min-height: clamp(320px, 34vw, 470px) !important;
  background-position: center !important;
  background-size: cover !important;
}
.es-inner .news-detail__main-column img,
.es-inner .blog-detail__main-column img,
.es-inner .service-desc-panel img { border-radius: 0 !important; filter: saturate(.78) contrast(.96); }
.es-inner .news-detail__main-column p,
.es-inner .blog-detail__main-column p,
.es-inner .service-desc-panel p { color: #42545c; font-size: 16px; line-height: 1.82; }

/* Project detail: turn the legacy thumbnail carousel into a full architectural case study. */
.es-inner .projects-detail__content { padding: 16px 0 32px; }
.es-inner .projects-detail__content:before {
  content: 'РЕАЛИЗОВАННЫЙ ОБЪЕКТ';
  display: block;
  margin-bottom: 28px;
  color: var(--es-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}
.es-inner .projects-detail__content .news-detail__prop-title,
.es-inner .projects-detail__content ~ .news-detail__prop-title {
  margin: 0 0 28px;
  color: var(--es-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -.045em;
}
.es-inner .projects-detail__content ~ .news-detail__prop-title { margin-top: 12px !important; }
.es-inner .projects-detail__content .news-detail__photo-carousel .owl-stage-outer,
.es-inner .projects-detail__content ~ .news-detail__photogallery .owl-stage-outer { overflow: visible !important; }
.es-inner .projects-detail__content .news-detail__photo-carousel .owl-stage,
.es-inner .projects-detail__content ~ .news-detail__photogallery .owl-stage {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100% !important;
  transform: none !important;
}
.es-inner .projects-detail__content .news-detail__photo-carousel .owl-item,
.es-inner .projects-detail__content ~ .news-detail__photogallery .owl-item { width: 100% !important; margin: 0 !important; }
.es-inner .projects-detail__content .news-detail__photo-carousel .owl-item.cloned,
.es-inner .projects-detail__content .news-detail__photo-carousel .owl-nav,
.es-inner .projects-detail__content .news-detail__photo-carousel .owl-dots,
.es-inner .projects-detail__content ~ .news-detail__photogallery .owl-item.cloned,
.es-inner .projects-detail__content ~ .news-detail__photogallery .owl-nav,
.es-inner .projects-detail__content ~ .news-detail__photogallery .owl-dots { display: none !important; }
.es-inner .projects-detail__content .news-detail__photogallery-image-block,
.es-inner .projects-detail__content ~ .news-detail__photogallery .news-detail__photogallery-image-block {
  min-height: clamp(520px, 54vw, 720px) !important;
  box-shadow: 0 28px 80px rgba(12,31,39,.12);
}
.es-inner .projects-detail__content .news-detail__photogallery-image-block-wrapper,
.es-inner .projects-detail__content ~ .news-detail__photogallery .news-detail__photogallery-image-block-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Company, reviews and legal proof pages: remove the legacy catalogue sidebar. */
.es-inner.es-page-company-sub .page-content > .container > .row > .d-none.d-lg-block.col-lg-3 { display: none !important; }
.es-inner.es-page-company-sub .page-content > .container > .row > .col-12.col-lg-9 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
.es-inner.es-page-company-sub .page-content > .container { padding-top: 54px; padding-bottom: 88px; }
.es-inner .page-top-text.reviews-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
  padding: 30px 34px;
  background: var(--es-cloud);
}
.es-inner .page-top-text.reviews-page p { max-width: 760px; margin: 0; color: var(--es-ink-soft); font-size: 16px; line-height: 1.7; }
.es-inner .page-top-text.reviews-page .btn { flex: 0 0 auto; border-radius: 0 !important; }
.es-inner .reviews-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 !important;
  background: transparent !important;
}
.es-inner .reviews-section .review { margin: 0 !important; }
.es-inner .reviews-section .review-body,
.es-inner .reviews-section .item {
  height: 100%;
  min-height: 0 !important;
  background: #fff !important;
}
.es-inner .reviews-section .review-body { padding: 0 !important; }
.es-inner .reviews-section .item { padding: 32px !important; border: 1px solid var(--es-line); }
.es-inner .reviews-section__person { margin-bottom: 24px; }
.es-inner .reviews-section__person-photo { width: 58px !important; height: 58px !important; border-radius: 50%; background-size: cover !important; }
.es-inner .reviews-section__person-name { color: var(--es-ink); font-size: 19px; }
.es-inner .reviews-section .review-text { color: #42545c; font-size: 14px; line-height: 1.72; }

.es-inner .licenses-list_license { padding: 24px !important; border: 1px solid var(--es-line); background: #fff; }
.es-inner .licenses-list_license-preview-img {
  width: 100% !important;
  height: 128px !important;
  object-fit: contain !important;
  filter: none !important;
  background: #f4f7f8;
}
.es-inner .licenses-list_license .license_title { color: var(--es-ink); font-size: 20px; }
.es-inner .licenses-list_license-preview-text { color: var(--es-ink-soft); line-height: 1.65; }

.es-inner .partners-list_section.es-empty-showcase {
  position: relative;
  min-height: 520px;
  margin: 30px 0 0 !important;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(8,27,34,.92), rgba(8,27,34,.16)), url('/bitrix/templates/evrosteklo_modern/modern/assets/processing.webp') center / cover no-repeat;
}
.es-inner .es-empty-showcase__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 670px;
  min-height: 520px;
  padding: 54px;
  color: #fff;
}
.es-inner .es-empty-showcase__copy span,
.es-inner .es-price-cta > span { margin-bottom: 20px; color: #77a1ff; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.es-inner .es-empty-showcase__copy strong,
.es-inner .es-price-cta > strong { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; }
.es-inner .es-empty-showcase__copy p { max-width: 560px; margin: 22px 0 30px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }
.es-inner .es-empty-showcase__copy .btn { border-radius: 0 !important; }

.es-inner .service-detail__price-list { padding: 0 !important; }
.es-inner .service-detail__price-list_title { margin-bottom: 30px; color: var(--es-ink); font-size: clamp(26px, 3vw, 42px); }
.es-inner .es-price-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
  padding: 54px;
  background: var(--es-cloud);
}
.es-inner .es-price-cta > strong { color: var(--es-ink); }
.es-inner .es-price-cta > p { max-width: 650px; margin: 22px 0 30px; color: var(--es-ink-soft); font-size: 16px; line-height: 1.7; }
.es-inner .es-price-cta .btn { border-radius: 0 !important; }

.es-inner.es-page-news-detail .news-detail__page > .row > .col-lg-3 { display: none !important; }
.es-inner.es-page-news-detail .news-detail__page > .row > .col-lg-9 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
.es-inner.es-page-news-detail .news-detail__picture { width: 100%; max-height: 720px; object-fit: cover; }

/* Typographic finish for long-form legacy content. */
.es-inner .page-content h2,
.es-inner .page-content h3,
.es-inner .page-content h4 {
  color: var(--es-ink);
  font-family: Montserrat, Arial, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.es-inner .page-content h2 { font-size: clamp(30px, 4vw, 48px); }
.es-inner .page-content h3 { font-size: clamp(24px, 3vw, 36px); }
.es-inner .page-content p,
.es-inner .page-content li { color: #42545c; line-height: 1.78; }

.es-reveal { transition: opacity .58s cubic-bezier(.22,.61,.36,1), transform .58s cubic-bezier(.22,.61,.36,1); }

@media (max-width: 991px) {
  .nav-panel-mobile .left-mobile-block {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .nav-panel-mobile .navbar-logo { gap: 10px; }
  .nav-panel-mobile .navbar-logo:after {
    content: 'ЕВРОСТЕКЛО';
    color: var(--es-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
  }
}

@media (max-width: 767px) {
  html { scroll-behavior: auto; }
  .es-reveal, .es-reveal.es-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .owl-carousel, .owl-stage-outer { touch-action: pan-y !important; }
  .owl-carousel .animated { animation-duration: .25s !important; }
  .es-inner .page-header,
  .es-inner .page_header,
  .es-inner .inner-page-header { padding: 54px 0 46px !important; }
  .es-inner .es-page-title,
  .es-inner .page-header h1,
  .es-inner .page_header h1,
  .es-inner .inner-page-header h1 { margin-top: 20px !important; font-size: clamp(38px, 12vw, 54px) !important; }
  .es-inner .page-content { padding-bottom: 60px; }
  .es-inner .service-detail__preview { min-height: 720px !important; margin-bottom: 48px !important; align-items: flex-end; background-position: 62% center !important; }
  .es-inner .services-section > .service-detail__preview:first-child { margin-top: -68px !important; }
  .es-inner .service-detail__preview:before { background: linear-gradient(180deg, rgba(238,246,249,.88), rgba(238,246,249,.74) 56%, rgba(9,27,34,.26)); }
  .es-inner .service-detail__preview > .container { box-sizing: border-box; width: 100%; max-width: 100%; padding: 0 16px !important; }
  .es-inner .service-detail__preview > .container > .row { position: static !important; margin-right: 0 !important; margin-left: 0 !important; }
  .es-inner .service-detail__preview .service_background,
  .es-inner .service-detail__preview .row > [class*='col-'] {
    position: absolute !important;
    right: 16px !important;
    bottom: 24px !important;
    left: 16px !important;
    box-sizing: border-box !important;
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px 24px !important;
    border-radius: 18px;
  }
  .es-inner .service-detail__preview .service_background *,
  .es-inner .service-detail__preview .row > [class*='col-'] * { box-sizing: border-box; }
  .es-inner h1.service-detail__preview-title {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 34px !important;
  }
  .es-inner .service-detail__preview-text { display: -webkit-box; overflow: hidden; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
  .es-inner .service-detail__preview .btn { box-sizing: border-box; display: flex; width: 100%; max-width: 100%; margin: 8px 0 0 !important; }
  .es-inner .es-page-title,
  .es-inner .page-header h1,
  .es-inner .page_header h1,
  .es-inner .inner-page-header h1 { overflow-wrap: anywhere; }
  .es-inner .projects-page__container { padding-top: 44px; }
  .es-inner .projects-section__project-wrapper,
  .es-inner .projects-section__project-section-info { height: 310px; }
  .es-inner .projects-section__project-section-info { height: auto; min-height: 155px; }
  .es-inner .projects__project-wrapper { min-height: 390px; }
  .es-inner .projects-detail__content { padding: 0 0 64px; }
  .es-inner .projects-detail__content .news-detail__photo-carousel .owl-stage,
  .es-inner .projects-detail__content ~ .news-detail__photogallery .owl-stage { display: block !important; }
  .es-inner .projects-detail__content .news-detail__photo-carousel .owl-item,
  .es-inner .projects-detail__content ~ .news-detail__photogallery .owl-item { width: 100% !important; }
  .es-inner .projects-detail__content .news-detail__photogallery-image-block,
  .es-inner .projects-detail__content ~ .news-detail__photogallery .news-detail__photogallery-image-block { min-height: 440px !important; }
  .es-inner.es-page-company-sub .page-content > .container { padding-top: 34px; padding-bottom: 64px; }
  .es-inner .page-top-text.reviews-page { display: block; padding: 24px; }
  .es-inner .page-top-text.reviews-page .btn { width: 100%; margin-top: 20px; }
  .es-inner .reviews-section { grid-template-columns: 1fr; }
  .es-inner .reviews-section .item { padding: 24px !important; }
  .es-inner .partners-list_section.es-empty-showcase { min-height: 560px; }
  .es-inner .es-empty-showcase__copy { min-height: 560px; padding: 32px 24px; }
  .es-inner .es-price-cta { padding: 34px 24px; }
}
