/*-----------------шрифт-----------------*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

@font-face {
  font-family: "FuturaLightC";
  src: url("../fonts/FuturaLightC.ttf") format("OpenType");
}

@font-face {
  font-family: "FuturaMediumC";
  src: url("../fonts/FuturaMediumC.ttf") format("OpenType");
}

@font-face {
  font-family: "FuturaBookC";
  src: url("../fonts/FuturaBookC.ttf") format("OpenType");
}

/*---------------------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
}

ul,
ol {
  margin: 0;
  color: #191919;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  color: #191919;
}

h2 {
  font-family: "FuturaLightC", sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 52.99px;
  color: #191919;
}

h3 {
  font-family: "FuturaLightC", sans-serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 47px;
  color: #191919;
}


p {
  padding: 0;
  margin: 0;
  color: #191919;
}

a {
  cursor: pointer;
  color: #5E9EB2;
}

a:hover,
a:focus {
  color: #5E9EB2;
}

img {
  max-width: 100%;
}

/*---------------------------- header ---------------------------*/
header {
  background: #333333;
  font-family: "FuturaLightC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #fff;
  text-transform: uppercase;
}

header a {
  font-family: "FuturaBookC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #fff;
  text-transform: uppercase;
}

header a:hover,
header a:focus {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}

.header {
  height: 120px;
}

.header .logo {
  display: flex;
  align-items: center;
  height: 120px;
}

.header .col>ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.header .col>ul>li {
  display: inline-block;
  position: relative;
}

.header .col>ul>li>a {
  line-height: 120px;
  padding-left: 20px;
  padding-right: 20px;
  height: 120px;
  display: inline-block;
}

.header .col>ul>li>a>.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid #fff;
  border-right: 4px solid #333;
  border-left: 4px solid #333;
  margin-left: 5px;
}

.header .col>ul>li>a:hover,
.header .col>ul>li>a:focus {
  background: #4A4A4A;
  text-decoration: none;
}

.header .col>ul>li>ul {
  display: none;
  position: absolute;
  background: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(51, 51, 51, 0.15);
  padding: 20px 0 20px 0px;
  white-space: nowrap;
  z-index: 1;
  margin-top: -20px;
}

.header .col>ul>li:hover>ul {
  display: block;
}

.header .col>ul>li>ul>li {
  display: block;
  width: 100%;
  background: transparent;
  margin-right: 40px;
}

.header .col>ul>li>ul>li>a {
  font-family: 'FuturaBookC', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 35px;
  text-align: left;
  color: #191919;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header .contacts {
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 120px;
}

.header .contacts span {
  display: inline-block;
  vertical-align: middle;
}

.header .contacts span:first-child {
  margin-right: 22px;
}

.header .contacts span:last-child {
  margin-left: 40px;
}

.header .contacts p {
  color: #fff;
  display: block;
  font-family: 'FuturaBookC', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

.header .contacts p+p {
  margin-top: 16px;
}

.header .contacts p a {
  text-decoration: underline;
}

.header .contacts .phone {
  width: 30px;
  height: 30px;
  background-image: url('../images/phone-icon.png');
  display: block;
}

.header .contacts a.vk {
  width: 30px;
  height: 30px;
  background-image: url('../images/vk-icon.png');
  display: block;
}

.header .contacts p a:hover,
.header .contacts p a:focus {
  text-decoration: none;
}

.header .contacts h6 {
  color: #fff;
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  text-align: left;
  text-transform: none;
}

/*---------------main-------------------*/
main {
  overflow: hidden
}

/*---------------list-------------------*/
main ul li {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: justify;
  list-style-type: none;
  padding-left: 10px;
}

main ul li:before {
  content: "•";
  font-size: 25px;
  display: inline-block;
  margin-right: 0.3em;
  text-align: right;
  white-space: nowrap;
  color: #5E9eb2;
  vertical-align: middle;
}

/*----------------button------------------------*/
.button-fill {
  font-family: "FuturaBookC", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 64px;
  color: #fff;
  text-align: center;
  padding: 0 32px;
  border-radius: 4px;
  background: #5E9EB2;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.button-fill:hover {
  background: #488CA1;
  color: #fff;
  text-decoration: none;
}

.button-fill:focus {
  background: #317084;
  color: #fff;
  text-decoration: none;
}

.button-transparent {
  font-family: "FuturaBookC", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 62px;
  color: #fff;
  text-align: center;
  padding: 0 32px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #fff;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.button-transparent:hover {
  background: #F6F5FF;
  color: #488CA1;
  text-decoration: none;
}

.button-transparent:focus {
  border: 1px solid #F6F5FF;
  background: #F6F5FF;
  color: #488CA1;
  text-decoration: none;
}

.button-portfolio {
  font-family: "FuturaBookC", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 62px;
  color: #191919;
  text-align: center;
  padding: 0 32px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #F0F0F0;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.button-portfolio:hover,
.button-portfolio:focus,
.button-portfolio.active {
  background: #F0F0F0;
  border: 1px solid #F0F0F0;
  color: #191919;
  text-decoration: none;
}

/* page-1 */
/*----------------region-1----------------------*/
#page-1 .region-1 {
  text-align: center;
}

#page-1 .region-1 .button-wrapper {
  display: block;
  margin-top: 40px;
}

#page-1 .region-1 .slide {
  height: 740px;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  justify-content: center;
}

#page-1 .region-1 .slide-1 {
  background: url("../images/bg-header-slider-img-1.png") 50% 0 no-repeat;
}

#page-1 .region-1 .slide-2 {
  background: url("../images/bg-header-slider-img-2.png") 50% 0 no-repeat;
}

#page-1 .region-1 .slide-3 {
  background: url("../images/bg-header-slider-img-3.png") 50% 0 no-repeat;
}

#page-1 .region-1 .slide-4 {
  background: url("../images/bg-header-slider-img-4.png") 50% 0 no-repeat;
}

#page-1 .region-1 .ag-slide-title {
  font-family: "FuturaBookC", sans-serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 90.56px;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}

#page-1 .region-1 p {
  font-family: "FuturaBookC", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 27.17px;
  color: #fff;
  text-align: center;
}

/*----------------region-2----------------------*/
#page-1 .region-wrapper-2 {
  padding: 80px 0;
}

#page-1 .region-2 hr {
  margin: 32px 0;
  border: none;
  height: 2px;
  width: 110px;
  background: #5E9EB2;
}

#page-1 .region-2 p {
  font-weight: 400;
  font-size: 18px;
  line-height: 21.6px;
  font-family: "FuturaBookC", sans-serif;
  margin-bottom: 40px;
}

#page-1 .region-2 .image {
  text-align: right;
}

#page-1 .region-2 .col:first-child {
  margin-bottom: 24px;
}

/*----------------region-3----------------------*/
#page-1 .region-wrapper-3 {
  background: #F3F5F5;
  padding: 80px 0;
}

#page-1 .region-3 h3 {
  margin-bottom: 40px;
}

#page-1 .region-3 .info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
}

#page-1 .region-3 .info span {
  font-family: 'FuturaBookC', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

#page-1 .region-3 .info img {
  margin-right: 20px;
}

/*----------------region-4----------------------*/
#page-1 .region-wrapper-4 {
  padding: 80px 0;
}

#page-1 .region-4 h2 {
  margin-bottom: 30px;
  text-align: center;
}

#page-1 .region-4 .glass-design {
  height: 600px;
  width: 100%;
  margin-top: 30px;
  padding: 39px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#page-1 .region-4 .glass-design h4 {
  font-size: 36px;
  font-weight: 300;
  line-height: 40px;
  color: #fff;
  font-family: "FuturaLightC", sans-serif;
  flex: 1;
}

#page-1 .region-4 .button-wrapper {
  text-align: center;
}

#page-1 .region-4 .button-wrapper a {
  position: relative;
  padding-right: 56px;
}

#page-1 .region-4 .button-wrapper a:after {
  content: "";
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  position: absolute;
  width: 24px;
  height: 24px;
  background: url("../images/arrow-right.png");
  background-size: contain;
}

#page-1 .region-4 .button-wrapper a:hover:after,
#page-1 .region-4 .button-wrapper a:focus:after {
  background: url("../images/arrow-right-blue.png");
}

#page-1 .region-4 .glass-design-1 {
  background: url("../images/glass-design-img-1.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-2 {
  background: url("../images/glass-design-img-2.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-3 {
  background: url("../images/glass-design-img-3.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-4 {
  background: url("../images/glass-design-img-4.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-5 {
  background: url("../images/glass-design-img-5.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-6 {
  background: url("../images/glass-design-img-6.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-7 {
  background: url("../images/glass-design-img-7.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-8 {
  background: url("../images/glass-design-img-8.png") 50% 0 no-repeat;
}

#page-1 .region-4 .glass-design-9 {
  background: url("../images/glass-design-img-9.png") 50% 0 no-repeat;
}

/*---------------------region-5-------------------*/
#page-1 .region-wrapper-5 {
  background: url("../images/bg-img-2.png") 50% 50% no-repeat;
  padding: 166px 0 167px;
}

#page-1 .region-5 {
  text-align: center;
}

#page-1 .region-5 h2 {
  color: #fff;
  margin-bottom: 30px;
}

#page-1 .region-5 p {
  font-size: 24px;
  font-weight: 400;
  font-family: "FuturaBookC", sans-serif;
  color: #fff;
  line-height: 27.17px;
  margin-bottom: 40px;
}

/*---------------------region-6-------------------*/
#page-1 .region-wrapper-6 {
  text-align: center;
  padding: 80px 0 40px;
}

#page-1 .region-6 h2 {
  margin-bottom: 30px;
}

#page-1 .region-6 img {
  margin: 0 auto;
}

#page-1 .region-6 .col {
  margin-bottom: 20px;
}

#page-1 .region-6 .button-fill {
  margin-top: 20px;
}

/*---------------------region-7-------------------*/
#page-1 .region-wrapper-7 {
  text-align: center;
  padding: 40px 0 40px;
}

#page-1 .region-7 h6 {
  font-size: 18px;
  font-weight: 300;
  font-family: "FuturaLightC", sans-serif;
  color: #191919;
  line-height: 21.6px;
}

#page-1 .region-7 .col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/*---------------------region-8-------------------*/
#page-1 .region-wrapper-8 {
  padding: 40px 0 100px;
}

#page-1 .region-8 h2 {
  margin-bottom: 32px;
  text-align: center;
}

#page-1 .region-8 .reviews {
  background: #F3F5F5;
  padding: 64px 0;
}

#page-1 .region-8 .review {
  padding: 0 128px;
}

#page-1 .region-8 .review-sender {
  margin-bottom: 30px;
}

#page-1 .review-sender-img {
  display: inline-block;
  vertical-align: middle;
}

#page-1 .review-sender-img img {
  margin-right: 30px;
}

#page-1 .review-sender-data {
  display: inline-block;
  vertical-align: middle;
}


/*---------------- #page-2 ------------------*/
#page-2 h2 {
  line-height: 67px;
  text-align: left;
}

#page-2 p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: justify;
}

/*----------------region-1----------------------*/
#page-2 .region-wrapper-1 {
  padding: 80px 0 0;
}

#page-2 .region-1 h2 {
  margin-bottom: 32px;
}

/*----------------region-2----------------------*/
#page-2 .region-wrapper-2 {
  padding: 40px 0 64px;
}

#page-2 .region-2 h6 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: justify;
  margin-top: 16px;
  color: #191919;
}

/*----------------region-3----------------------*/
#page-2 .region-wrapper-3 {
  background: #F3F5F5;
  padding: 80px 0;
}

#page-2 .region-3 h3 {
  margin-bottom: 40px;
}

#page-2 .region-3 .info {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
}

#page-2 .region-3 .info img {
  margin-right: 20px;
}

/*----------page-3---------*/
#page-3 h2 {
  line-height: 67px;
  text-align: left;
}

#page-3 p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: justify;
}

/*----------------region-1----------------------*/
#page-3 .region-wrapper-1 {
  padding: 80px 0 100px;
}

#page-3 .region-1 .glass-design {
  height: 600px;
  width: 100%;
  margin-top: 30px;
  padding: 39px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#page-3 .region-1 .glass-design h4 {
  font-size: 36px;
  font-weight: 300;
  line-height: 39.74px;
  color: #fff;
  font-family: "FuturaLightC", sans-serif;
  flex: 1;
}

#page-3 .region-1 .button-wrapper {
  text-align: center;
}

#page-3 .region-1 .button-wrapper a {
  position: relative;
  padding-right: 56px;
}

#page-3 .region-1 .button-wrapper a:after {
  content: "";
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  position: absolute;
  width: 24px;
  height: 24px;
  background: url("../images/arrow-right.png");
  background-size: contain;
}

#page-3 .region-1 .glass-design-1 {
  background: url("../images/glass-design-img-1.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-2 {
  background: url("../images/glass-design-img-2.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-3 {
  background: url("../images/glass-design-img-3.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-4 {
  background: url("../images/glass-design-img-4.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-5 {
  background: url("../images/glass-design-img-5.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-6 {
  background: url("../images/glass-design-img-6.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-7 {
  background: url("../images/glass-design-img-7.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-8 {
  background: url("../images/glass-design-img-8.png") 50% 0 no-repeat;
}

#page-3 .region-1 .glass-design-9 {
  background: url("../images/glass-design-img-9.png") 50% 0 no-repeat;
}

/*----------page-4---------*/
#page-4 h2 {
  line-height: 67px;
  text-align: left;
}

#page-4 p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: justify;
}

/*----------------region-1----------------------*/
#page-4 .region-wrapper-1 {
  padding: 80px 0 100px;
}

#page-4 .region-1 h2 {
  text-align: center;
  margin-bottom: 32px;
}

#page-4 .region-1 .filter-buttons {
  margin-bottom: 20px;
  margin-left: -7px;
  margin-right: -7px;
}

#page-4 .region-1 .filter-buttons button {
  margin: 0 7px 20px 7px;
}

#page-4 .region-1 .filter-buttons-phone {
  display: none;
}

#page-4 .region-1 .col {
  min-height: auto;
}

#page-4 .region-1 .col img {
  margin-top: 10px;
  margin-bottom: 10px;
}


/*----------page-5---------*/
#page-5 h2 {
  line-height: 67px;
  text-align: left;
}

#page-5 h4 {
  font-family: 'FuturaMediumC', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  text-align: left;
}

#page-5 p {
  font-family: 'FuturaBookC', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: justify;
}

#page-5 a {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: justify;
  text-decoration: underline;
  color: #191919;
}

#page-5 a:hover, 
#page-5 a:focus {
  text-decoration: none;
}

/*----------------region-1----------------------*/
#page-5 .region-wrapper-1 {
  padding: 80px 0 64px;
}

#page-5 .region-1 .contacts-block h2 {
  margin-bottom: 32px;
}

#page-5 .region-1 .social {
  margin-top: 50px;
}

#page-5 .region-1 .social span+span {
  margin-left: 40px;
}

#page-5 .region-1 .social span a {
  color: #191919;
}

#page-5 .region-1 .social span img {
  vertical-align: middle;
  padding-right: 16px;
}

#page-5 .region-1 .contact-form h2 {
  margin-bottom: 26px;
}

#page-5 .region-1 .contact-form .wpcf7-not-valid-tip {
  font-size: 12px;
  line-height: 14px;
}

#page-5 .region-1 .contact-form .contact-form-input,
#page-5 .region-1 .contact-form .contact-form-textarea {
  width: 100%;
  padding: 18px 20px;
  font-family: 'FuturaBookC',sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #191919;
  margin: 6px 0;
  border: 1px solid #F0F0F0;
}

#page-5 .region-1 .contact-form .contact-form-input::placeholder,
#page-5 .region-1 .contact-form .contact-form-textarea::placeholder {
  color: #C5C5C5;
}

#page-5 .region-1 .contact-form-input {
  height: 60px;
}

#page-5 .region-1 .contact-form-button {
  margin-top: 26px;
}

#page-5 .region-2 img {
  max-width: none;
  overflow: hidden;
}

#page-5 .region-2 .entry-pointer {
  position: absolute;
  bottom: 33px;
  left: 0;
  width: 249px;
  height: 89px;
  padding: 18px 32px;
  font-family: 'FuturaLightC',sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 53px;
  text-align: left;
  background: #fff;
}

/*---------- page-3-1 ---------*/
.page-3-child h3 {
  text-align: left;
  margin-bottom: 32px;
}

.page-3-child p+h3 {
  margin-top: 64px;
}

.page-3-child ul+h3 {
  margin-top: 64px;
}

.page-3-child h4 {
  font-family: 'FuturaLightC', sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 26px;
  text-align: left;
  color: #191919;
  margin-top: 32px;
  margin-bottom: 16px;
}

.page-3-child p {
  font-family: 'FuturaBookC', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: left;
}

.page-3-child ul li {
  font-family: 'FuturaBookC', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: left;
}

.page-3-child ul li:before {
  font-size: 18px;
}

/*----------------region-1----------------------*/
.page-3-child .region-wrapper-1 {
  padding: 80px 0 100px;
}

.page-3-child .region-1 .images {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-3-child .region-1 a {
  text-align: center;
}

.page-3-child .region-1 .button-wrapper {
  text-align: center;
}


/*----------footer---------*/
#footer {
  background: #333333;
  padding-bottom: 100px;
}

#footer p {
  color: #989898;
}

#footer ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 66px 0;
}

#footer ul li {
  display: inline-block;
}

#footer ul li+li {
  padding-left: 20px;
}

#footer ul li a {
  color: #fff;
  font-family: 'FuturaBookC', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
}

#footer hr {
  border: none;
  background: #989898;
  margin-bottom: 80px;
  height: 1px;
  margin-top: 0;
}

#footer .text {
  margin-bottom: 40px;
}

#footer .text .col:first-child p {
  text-align: left;
}

#footer .text .col:last-child p {
  text-align: right;
}

#footer p {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  text-align: justify;
}

@media (max-width: 1350px) {
  .header .contacts a {
    font-size: 10px;
    line-height: 12px;
  }

  .header .contacts h6 {
    font-size: 10px;
    line-height: 12px;
  }

  .header .col>ul>li>a {
    padding-left: 8px;
    padding-right: 8px;
  }

  #page-5 .region-1 .social span {
    display: block;
  }

  #page-5 .region-1 .social span+span {
    margin-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 991px) {
  #page-1 .info + .info {
    margin-top: 12px;
  }

  .header .col>ul>li>a {
    padding-left: 4px;
    padding-right: 4px;
    font-size: 14px
  }

  .header .contacts .phone {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .header .contacts a.vk {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .header .contacts span:first-child {
    margin-right: 8px;
  }

  .header .contacts span:last-child {
    margin-left: 15px;
  }

  #footer .text .col:last-child p {
    text-align: left;
  }

  #page-5 .region-1 .social {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .header {
    display: block;
    height: 80px;
  }

  .button-fill {
    padding: 0 24px;
    font-size: 14px;
    line-height: 40px;
  }

  .button-transparent {
    padding: 0 24px;
    font-size: 14px;
    line-height: 40px;
  }

  h2 {
    font-family: 'FuturaLightC', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    text-align: center;
  }

  h3 {
    font-size: 20px;
    line-height: 24px;
  }

  #page-1 .region-1 .slide {
    height: calc(100vh - 80px);
  }

  #page-1 .region-1 .ag-slide-title {
    font-size: 24px;
    line-height: 27px;
  }

  #page-1 .region-1 p {
    font-size: 16px;
    line-height: 18px;
  }

  #page-1 .region-wrapper-2 {
    padding: 40px 0;
  }

  #page-1 .region-2 .col:first-child {
    margin-bottom: 24px;
  }

  #page-1 .region-2 hr {
    margin: 16px 0;
  }

  #page-1 .region-2 h3 {
    font-size: 20px;
    line-height: 24px;
  }

  #page-1 .region-wrapper-3 {
    background: #F3F5F5;
    padding: 40px 0;
  }

  #page-1 .region-3 .info span {
    font-size: 16px;
    line-height: 16px;
  }

  #page-1 .region-3 .info + .info {
    margin-top: 16px;
  }

  #page-1 .region-wrapper-4 {
    padding: 40px 0;
}

  #page-1 .region-4 .glass-design {
    height: 330px;
    padding: 32px;
    max-width: 330px;
    margin: 30px auto 0;
    background-size: cover;
  }

  #page-1 .region-4 .button-wrapper a {
    position: relative;
    padding-right: 42px;
  }
  
  #page-1 .region-4 .button-wrapper a:after {
    width: 16px;
    height: 16px;
  }

  #page-1 .region-4 .glass-design h4 {
    font-size: 20px;
    line-height: 24px;
  }

  #page-1 .region-wrapper-5 {
    background: url(../images/bg-img-2.png) 35% 50% no-repeat;
    padding: 146px 0 147px;
  }

  #page-1 .region-5 p {
    font-size: 14px;
    line-height: 16px;
  }

  #page-1 .region-wrapper-6 {
    padding: 40px 0 20px;
  }

  #page-1 .region-wrapper-7 {
    text-align: center;
    padding: 20px 0 20px;
  } 

  #page-1 .region-wrapper-8 {
    padding: 20px 0 56px;
  }

  #page-1 .region-8 .review {
    background: #F3F5F5;
    padding: 16px 24px;
  }

  #page-1 .review-sender-img img {
    margin-right: 11px;
  }

  #page-1 .region-8 h2 {
    margin-bottom: 32px;
  }

  #page-2 .region-wrapper-1 {
    padding: 40px 0 0;
  }

  #page-2 h2 {
    text-align: center;
    line-height: 22px;
  }

  #page-2 .region-2 .col {
    margin-top: 24px;
  }

  #page-2 .region-3 .info + .info {
    margin-top: 16px;
  }

  #page-3 .region-wrapper-1 {
    padding: 40px 0 56px;
  }

  #page-3 h2 {
    text-align: center;
    line-height: 22px;
  }

  #page-3 .region-1 .glass-design {
    height: 330px;
    padding: 32px;
    max-width: 330px;
    margin: 30px auto 0;
    background-size: cover;
  }

  #page-3 .region-1 .glass-design h4 {
    font-size: 20px;
    line-height: 22px;
  }

  #page-3 .region-1 .button-wrapper a {
    padding-right: 42px;
  }
  
  #page-3 .region-1 .button-wrapper a:after {
    width: 16px;
    height: 16px;
  }

  /* footer */
  #footer {
    padding-bottom: 32px;
  }

  #footer ul li a {
    font-size: 12px;
    line-height: 14px;
  }

  #footer ul li+li {
    padding-left: 10px;
}

  #footer hr {
    margin-bottom: 32px;
  }

  #footer p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
  }

  #footer .text .col:last-child p {
    text-align: left;
  }


  /* Выпадающий список*/
  #page-4 .region-1 .filter-buttons {
    display: none;
  }

  #page-4 .region-1 .filter-buttons-phone li:before {
    display: none;
  }

  #page-4 .region-1 .filter-buttons-phone {
    display: block;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    list-style-type: none;
  }

  #page-4 .region-1 .filter-buttons-phone select {
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    padding: 10px 16px;
    border-radius: 4px;
    background: #F3F5F5;
    border: 1px solid #F3F5F5;
    color: #191919;
    font-weight: 400;
    font-size: 14px;
  }

  #page-4 .region-1 .filter-buttons-phone select.opened {
    display: block;
  }

  #page-4 .region-1 .filter-buttons-phone option {
    margin: 0 auto;
    color: #191919;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;

    font-family: "FuturaBookC", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 62px;
    text-align: center;
    padding: 0 32px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid #F0F0F0;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
  }

  #page-4 .region-1 .col img {
    margin: 0 auto 20px;
    display: block;
  }

  #page-4 .region-wrapper-1 {
    padding: 40px 0 56px;
  }

  #page-5 h2 {
    line-height: 28px;  
  }

  #page-5 h4 {
    font-size: 14px;
    line-height: 20px;  
  }

  #page-5 p {
    font-size: 14px;
    line-height: 20px;  
  }

  #page-5 .region-1 .contacts-block h2 {
    margin-bottom: 24px;
    text-align: center;
  }

  #page-5 .region-2 img {
    max-width: 100%;
  }

  #page-5 .region-wrapper-1 {
    padding: 40px 0;
  }

  .page-3-child .region-wrapper-1 {
    padding: 40px 0 56px;
  }

  .page-3-child .images .col + .col {
    margin-top: 8px;
  }

  .page-3-child .images img {
    display: block;
    margin: 0 auto;
  }

  /* phone-menu */
  .phone-menu {
    display: none;
  }

  .header .logo {
    display: flex;
    justify-content: center;
    height: 80px;
  }

  .header .logo img {
    max-height: 80px;
  }

  .header .col>ul {
    flex-direction: column;
    padding: 27px 9px 0 17px;
  }

  .header .col>ul>li {
    margin-bottom: 10px;
  }

  .header .col>ul>li>a {
    line-height: 28px;
    padding: 0;
    padding: 5px 0;
    display: block;
    height: auto;
  }

  .header .col>ul>li>a:hover,
  .header .col>ul>li>a:focus {
    background: #f5f5f5;
    color: #191919;
  }

  .header .col>ul>li>a>.caret {
    display: none;
  }

  .header .col>ul>li>a>.caret {
    border-top: 4px solid #333;
    border-right: 4px solid #fff;
    border-left: 4px solid #fff;
  }

  .header .col>ul>li>ul {
    display: block;

    position: relative;
    box-shadow: none;
    background: #EBEBEB;
    padding: 16px 8px;
    width: 100%;
    margin-top: 8px;
  }

  .header .col>ul>li>ul>li>a {
    font-size: 14px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Кнопка открытия меню */
  .menu-button {
    position: absolute;
    top: 29px;
  }

  .bar {
    width: 21px;
    height: 3px;
    transition: 0.4s;
  }

  .bar + .bar {
    margin: 6px 0 0;
  }

  .open-menu-button .bar {
    background-color: #fff;
  }

  /* Кнопка закрытия меню */
  .close-menu-button {
    right: 24px;
    z-index: 100;
    display: none;
    width: 28px;
    height: 28px;
  }

  .close-menu-button div {
    cursor: pointer;
    position: relative;  
    height: 28px;
    width: 28px;
    margin-top: -10px;
  }

  .close-menu-button .leftright {
    height: 2px;
    width: 28px;
    position: absolute;
    margin-top: 24px;
    background-color: #191919;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all .3s ease-in;
  }

  .close-menu-button .rightleft {
    height: 2px;
    width: 28px;
    position: absolute;
    margin-top: 24px;
    background-color: #191919;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all .3s ease-in;
  }

  .close-menu-button .close-btn {
    margin: 54px 0 0 -5px;
    position: absolute;
    color: #337AB7;
    font-family: Tahoma, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all .3s ease-in;
    opacity: 0; 
  }
  
  .close-menu-button div:hover .leftright {
    transform: rotate(-45deg);
    background-color: #000;
  }

  .close-menu-button div:hover .rightleft {
    transform: rotate(45deg);
    background-color: #000;
  }

  .close-menu-button div:hover .close-btn {
    opacity: 1;
  }

  .close-menu-button .bar {
    background-color: #191919;
  }

  .menu-container {
    background: #fff;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    max-height: 100%;
    overflow: scroll;
    transition: width 0.8s ease 0s;
    width: 0;
  }

  .menu-container.open {
    display: block !important;
    width: 100%;
  }

  .menu-container li {
    display: block;
  }

  .menu-container a {
    color: #000;
  }

  /* contacts */
  .header .contacts {
    padding: 32px 9px 32px 17px;
    height: auto;
  }

  .header .contacts .phone {
    width: 20px;
    height: 20px;
    background-image: url('../images/phone-icon-blue.png');
    background-size: cover;
    display: block;
  }
  
  .header .contacts a.vk {
    width: 20px;
    height: 20px;
    background-image: url('../images/vk-icon-blue.png');
    background-size: cover;
    display: block;
  }

  .header .contacts span:first-child {
    margin-right: 12px;
  }

  .header .contacts span:last-child {
    margin-left: 40px;
  }

  .header .contacts h6 {
    color: #191919;
  }

  .bh-widget-page-wrapper {
   /* display: none;*/
  }
}
/* Accessible heading structure and product consultation blocks */
.ag-page-title,.page-3-child h1,.page-3-child h2{font-family:"FuturaLightC",sans-serif;font-size:36px;font-weight:300;line-height:1.3;color:#191919;text-align:left;margin-bottom:32px}
.page-3-child h2{margin-top:40px}
#page-1 .region-3 .ag-page-title{text-align:center;margin-bottom:40px}
.ag-product-details{margin:40px 0}.ag-product-details p,.ag-product-details li{text-align:left}.ag-consult-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.ag-consult-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 22px;background:#638D9F;color:white;border-radius:4px;text-decoration:none}.ag-work-caption{font-size:16px;line-height:1.5;margin-top:12px}.ag-gallery-intro{margin-top:40px}
@media(max-width:767px){.ag-page-title,.page-3-child h1,.page-3-child h2{font-size:24px;line-height:1.3}.ag-consult-actions a{width:100%}}

#page-1 .glass-design .ag-product-card-title{font-family:"FuturaBookC",sans-serif;font-size:26px;line-height:1.2;color:white;margin:0}.ag-pergola-card{background:#26343B!important}@media(max-width:767px){#page-1 .glass-design .ag-product-card-title{font-size:24px}}

/* AG home hero 2026-10-23. Previous version saved separately. */
html{scroll-behavior:smooth}#our-products{scroll-margin-top:24px}#page-1 .region-wrapper-1{position:relative}#page-1 .header-slider .slide{position:relative;min-height:650px}#page-1 .header-slider .slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(38,52,59,.53),rgba(38,52,59,.22) 58%,rgba(38,52,59,.03))}#page-1 .header-slider .slide h2,#page-1 .header-slider .slide .col{visibility:hidden}#page-1 .ag-home-hero-content{position:absolute;z-index:3;top:50%;transform:translateY(-50%);left:max(6%,calc((100% - 1140px)/2));right:6%;pointer-events:none;font-family:"DejaVu Sans",sans-serif;color:white}#page-1 .ag-home-hero-content h1{font:700 44px/1.2 "DejaVu Sans",sans-serif;text-transform:uppercase;max-width:800px;color:white;margin:0 0 34px;text-align:left;text-shadow:0 2px 12px #0005}#page-1 .ag-home-hero-content p{font:400 19px/1.7 "DejaVu Sans",sans-serif;color:white;text-align:left;margin:0 0 28px;text-shadow:0 1px 8px #0008}#page-1 .ag-hero-actions{display:flex;flex-wrap:wrap;gap:18px;margin-top:36px}#page-1 .ag-hero-actions a{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:16px 22px;border:1px solid white;border-radius:5px;background:rgba(38,52,59,.25);color:white;text-decoration:none;font:600 16px/1.4 "DejaVu Sans",sans-serif}#page-1 .ag-hero-actions .ag-hero-primary{background:#638D9F;border-color:#638D9F}#page-1 .ag-hero-actions a:hover{background:#26343B}#page-1 .ag-hero-actions a:focus-visible{outline:3px solid white;outline-offset:4px}#page-1 .header-slider .slick-arrow{z-index:4}
@media(max-width:767px){#page-1 .header-slider .slide{min-height:640px}#page-1 .ag-home-hero-content{left:24px;right:24px}#page-1 .ag-home-hero-content h1{font-size:28px;line-height:1.25;margin-bottom:22px}#page-1 .ag-home-hero-content p{font-size:16px;line-height:1.65;margin-bottom:22px}#page-1 .ag-hero-actions{gap:12px;margin-top:24px}#page-1 .ag-hero-actions a{width:100%;padding:13px 16px;font-size:15px;min-height:48px}#page-1 .header-slider .slick-prev{left:3px}#page-1 .header-slider .slick-next{right:3px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Three individually captioned slides, 23 October 2026 */
#page-1 .ag-three-slides .slide{height:650px;min-height:650px;padding:0!important}#page-1 .ag-three-slides .ag-slide-copy{box-sizing:border-box;font-family:"DejaVu Sans",sans-serif;text-align:left}#page-1 .ag-three-slides .ag-slide-copy h1,#page-1 .ag-three-slides .ag-slide-copy h2{visibility:visible!important;font:700 40px/1.25 "DejaVu Sans",sans-serif;text-transform:none;text-align:left;margin:0 0 28px;color:#26343B}#page-1 .ag-three-slides .ag-slide-copy p{font:400 19px/1.65 "DejaVu Sans",sans-serif;text-align:left;margin:0 0 24px;color:#26343B}#page-1 .ag-three-slides .ag-stairs-slide .ag-slide-copy{position:absolute;top:50%;transform:translateY(-50%);left:max(7%,calc((100% - 1140px)/2));right:7%;max-width:850px;z-index:2}#page-1 .ag-three-slides .ag-stairs-slide h1,#page-1 .ag-three-slides .ag-stairs-slide p{color:white;text-shadow:0 1px 10px #0007}#page-1 .ag-three-slides .ag-split-slide{background:#F2F5F5!important}#page-1 .ag-three-slides .ag-split-slide:before{display:none}#page-1 .ag-split-layout{display:flex;width:100%;height:650px;align-items:stretch}#page-1 .ag-split-layout>.ag-slide-copy{width:54%;padding:70px 6% 60px 8%;display:flex;flex-direction:column;justify-content:center}#page-1 .ag-slide-photo{width:46%;height:650px;background:#E7EBEB;display:flex;justify-content:center;align-items:center}#page-1 .ag-slide-photo img{display:block;height:100%;width:100%;object-fit:contain;margin:0}#page-1 .ag-three-slides .ag-slide-label{font-size:15px!important;color:#638D9F!important;letter-spacing:.04em;font-weight:600!important}#page-1 .ag-subscribe-links{display:flex;flex-wrap:wrap;gap:12px}#page-1 .ag-subscribe-links a{font:600 15px/1.4 "DejaVu Sans",sans-serif;color:white;background:#638D9F;padding:14px 18px;border-radius:4px;text-decoration:none;min-height:44px;box-sizing:border-box}#page-1 .ag-three-slides .slick-arrow{background:#26343B66;border-radius:50%;width:38px;height:38px;z-index:5}
@media(max-width:767px){#page-1 .ag-three-slides .slide{height:760px;min-height:760px}#page-1 .ag-three-slides .ag-stairs-slide .ag-slide-copy{left:32px;right:32px}#page-1 .ag-three-slides .ag-slide-copy h1,#page-1 .ag-three-slides .ag-slide-copy h2{font-size:27px;line-height:1.3;margin-bottom:20px}#page-1 .ag-three-slides .ag-slide-copy p{font-size:16px;line-height:1.6;margin-bottom:18px}#page-1 .ag-split-layout{height:760px;flex-direction:column}#page-1 .ag-split-layout>.ag-slide-copy{width:100%;height:370px;padding:30px 32px;flex-shrink:0}#page-1 .ag-slide-photo{width:100%;height:390px;flex-shrink:0}#page-1 .ag-subscribe-links{gap:8px}#page-1 .ag-subscribe-links a{font-size:13px;padding:12px}#page-1 .ag-three-slides .slick-arrow{width:26px;height:34px}}


/* Door slide: soft photo-to-background blend, scoped to the door image only. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]){background:#F4F2EE!important;overflow:hidden}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]):before{display:none!important}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout{position:relative;overflow:hidden;background:#F4F2EE}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{position:relative;z-index:2;width:61%!important;height:100%;padding:0 0 0 8%!important;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy h2{max-width:690px;font:700 38px/1.35 "DejaVu Sans",sans-serif!important;text-transform:none!important;text-align:left;color:#26343B!important;margin:0!important}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy p{font:400 19px/1.5 "DejaVu Sans",sans-serif!important;text-align:left;color:#26343B!important;margin:22px 0 0!important}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo{position:absolute;z-index:1;top:0;right:0;width:58%;height:100%;display:block;background:transparent}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img{width:100%;height:100%;object-fit:cover;object-position:center;margin:0}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#F4F2EE 0%,rgba(244,242,238,.96) 12%,rgba(244,242,238,.76) 28%,rgba(244,242,238,.32) 48%,transparent 66%),linear-gradient(0deg,rgba(244,242,238,.58) 0%,transparent 16%,transparent 84%,rgba(244,242,238,.3) 100%),linear-gradient(270deg,rgba(244,242,238,.28) 0%,transparent 12%)}
@media(max-width:767px){
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout{height:760px}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{width:100%!important;height:370px;padding:30px 32px!important;justify-content:center}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy h2{font-size:27px!important;line-height:1.3!important}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy p{font-size:16px!important;line-height:1.5!important;margin-top:18px!important}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo{top:auto;bottom:0;width:100%;height:390px}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after{background:linear-gradient(0deg,transparent 0%,rgba(244,242,238,.18) 48%,#F4F2EE 100%),linear-gradient(90deg,rgba(244,242,238,.35) 0%,transparent 14%,transparent 86%,rgba(244,242,238,.25) 100%)}
}


/* Door slide: match the approved reference. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]){background:#F7F6F3!important}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout{background:#F7F6F3}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{transform:translateY(4%)}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after{background:linear-gradient(90deg,#F7F6F3 0%,rgba(247,246,243,.96) 11%,rgba(247,246,243,.76) 25%,rgba(247,246,243,.32) 43%,transparent 57%),linear-gradient(0deg,rgba(247,246,243,.58) 0%,transparent 16%,transparent 84%,rgba(247,246,243,.3) 100%),linear-gradient(270deg,#F7F6F3 0%,rgba(247,246,243,.78) 9%,rgba(247,246,243,.25) 19%,transparent 29%)}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-arrow{background:transparent!important;border-radius:0;width:28px;height:44px}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-prev{left:28px}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-next{right:28px}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-prev:before{content:"‹";font:300 38px/1 "DejaVu Sans",sans-serif;color:#6C7375;opacity:1}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-next:before{content:"›";font:300 38px/1 "DejaVu Sans",sans-serif;color:#6C7375;opacity:1}
#page-1 .ag-three-slides .ag-split-slide.slick-current:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout:after{content:"";position:absolute;z-index:4;pointer-events:none;left:50%;bottom:34px;width:56px;height:8px;transform:translateX(-50%);background:radial-gradient(circle at 5px 4px,#B9BFC1 0 3.5px,transparent 4px),radial-gradient(circle at 28px 4px,#638D9F 0 3.5px,transparent 4px),radial-gradient(circle at 51px 4px,#B9BFC1 0 3.5px,transparent 4px)}
@media(max-width:767px){
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{transform:none}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after{background:linear-gradient(0deg,transparent 0%,rgba(247,246,243,.18) 48%,#F7F6F3 100%),linear-gradient(90deg,rgba(247,246,243,.35) 0%,transparent 14%,transparent 86%,rgba(247,246,243,.25) 100%)}
}


/* Keep the full door photo visible, matching the supplied reference. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo {
  width: 100%;
  overflow: hidden;
}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto !important;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}
@media (max-width: 767px) {
  #page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
    position: relative;
    top: auto;
    right: auto;
    width: 100% !important;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }
}


/* Place the door fade around the photo, behind it. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after {
  z-index: 0;
  background: linear-gradient(90deg,#F7F6F3 0%,rgba(247,246,243,.96) 42%,rgba(247,246,243,.76) 55%,rgba(247,246,243,.32) 64%,transparent 68%), linear-gradient(0deg,#F7F6F3 0%,rgba(231,229,225,.55) 2.5%,transparent 7%,transparent 93%,rgba(231,229,225,.55) 97.5%,#F7F6F3 100%), linear-gradient(270deg,#F7F6F3 0%,rgba(247,246,243,.7) 2%,rgba(231,229,225,.3) 5%,transparent 9%);
}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
  z-index: 1;
  top: 16px;
  right: 24px;
  height: calc(100% - 32px);
}
@media (max-width: 767px) {
  #page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
    top: auto;
    right: auto;
    width: calc(100% - 32px) !important;
    height: calc(100% - 32px);
    margin: 16px auto;
  }
}


/* Bring the full photo closer to the copy while keeping it on the right. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
  right: 100px;
}
@media (max-width: 767px) {
  #page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
    right: auto;
  }
}


/* Match the reference layout: the full photo sits beside the copy; fades stay outside it. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after {
  z-index: 0;
  background: linear-gradient(90deg,#F7F6F3 0%,#F7F6F3 38%,rgba(247,246,243,.94) 44%,rgba(239,237,231,.78) 50%,rgba(229,226,219,.4) 55%,transparent 59%), linear-gradient(270deg,#F7F6F3 0%,rgba(247,246,243,.76) 4%,rgba(231,229,225,.28) 10%,transparent 14%);
}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
  z-index: 1;
  top: 0;
  right: 155px;
  height: 100%;
}


/* Feather only the photo's left edge into the slide background; keep the door clear. */
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 17%,#000 40%,#000 100%);
  mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 17%,#000 40%,#000 100%);
}


/* Keep the door composition compact and centered on wide screens. */
@media (min-width:1200px) {
  #page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout {max-width:1200px;margin:0 auto;}
  #page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy {width:720px!important;padding:0 0 0 32px!important;}
  #page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img {right:160px;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 10%,#000 28%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.18) 10%,#000 28%,#000 100%);}
}


/* Mobile door slide: readable copy and a complete centered photo. */
@media(max-width:767px){
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]){height:680px;min-height:680px;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout{height:680px;width:100%;max-width:none;margin:0;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{width:100%!important;height:230px;padding:24px 20px!important;transform:none;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy h2{font-size:clamp(15px,5vw,24px)!important;line-height:1.45!important;max-width:100%;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy p{font-size:15px!important;line-height:1.5!important;margin-top:14px!important;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo{top:230px;bottom:auto;right:0;width:100%;height:450px;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img{position:absolute;top:15px;left:20px;right:auto;width:calc(100% - 40px)!important;height:420px;max-width:none;margin:0;object-fit:contain;object-position:center;-webkit-mask-image:none;mask-image:none;}
#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo:after{background:none;}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-prev{left:4px;}
#page-1 .ag-three-slides:has(.slick-current img[src*="artglass-swing-door-slider.jpg"]) .slick-next{right:4px;}
}


/* Third slide and consistent typography across the home slider. */
#page-1 .ag-three-slides .ag-slide-copy h1,#page-1 .ag-three-slides .ag-slide-copy h2{font:700 38px/1.35 "DejaVu Sans",sans-serif!important;text-transform:none;}
#page-1 .ag-three-slides .ag-slide-copy p{font:400 19px/1.5 "DejaVu Sans",sans-serif!important;}
#page-1 .ag-three-slides .ag-offer-slide{background:#F3EEE7!important;overflow:hidden;}
#page-1 .ag-three-slides .ag-offer-slide:before{display:none!important;}
#page-1 .ag-three-slides .ag-offer-slide .ag-split-layout{position:relative;max-width:1200px;margin:0 auto;overflow:hidden;background:#F3EEE7;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy{position:relative;z-index:2;width:720px!important;height:100%;padding:0 0 0 32px!important;transform:translateY(4%);box-sizing:border-box;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy h2{max-width:620px;color:#26343B;margin:0 0 22px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy p{max-width:620px;color:#26343B;margin:0 0 24px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo{position:absolute;z-index:1;top:0;right:0;width:100%;height:100%;display:block;background:transparent;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo img{position:absolute;z-index:1;top:0;right:160px;width:auto!important;height:100%;max-width:none;object-fit:contain;margin:0;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 88%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 88%,transparent 100%);}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,#F3EEE7 35%,#E5D8C6 52%,transparent 64%),linear-gradient(270deg,#F3EEE7 0%,#DCCEBB 14%,transparent 30%);}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-arrow{background:transparent!important;border-radius:0;width:28px;height:44px;}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-prev{left:28px;}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-next{right:28px;}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-prev:before{content:"‹";font:300 38px/1 "DejaVu Sans",sans-serif;color:#6C7375;opacity:1;}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-next:before{content:"›";font:300 38px/1 "DejaVu Sans",sans-serif;color:#6C7375;opacity:1;}
#page-1 .ag-three-slides .ag-offer-slide.slick-current .ag-split-layout:after{content:"";position:absolute;z-index:4;pointer-events:none;left:50%;bottom:34px;width:56px;height:8px;transform:translateX(-50%);background:radial-gradient(circle at 5px 4px,#B9BFC1 0 3.5px,transparent 4px),radial-gradient(circle at 28px 4px,#B9BFC1 0 3.5px,transparent 4px),radial-gradient(circle at 51px 4px,#638D9F 0 3.5px,transparent 4px);}
@media(min-width:768px) and (max-width:1199px){
#page-1 .ag-three-slides .ag-offer-slide,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]){height:760px;min-height:760px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-split-layout,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout{height:760px;max-width:none;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{width:100%!important;height:310px;padding:32px max(32px,8vw)!important;transform:none;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo{top:310px;bottom:auto;height:450px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo img,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img{left:20px;right:auto;top:15px;width:calc(100% - 40px)!important;height:420px;object-position:center;-webkit-mask-image:none;mask-image:none;}
}
@media(max-width:767px){
#page-1 .ag-three-slides .ag-slide-copy h1,#page-1 .ag-three-slides .ag-slide-copy h2,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy h2{font-size:clamp(15px,5vw,24px)!important;line-height:1.45!important;}
#page-1 .ag-three-slides .ag-slide-copy p,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy p{font-size:15px!important;line-height:1.5!important;}
#page-1 .ag-three-slides .ag-offer-slide{height:760px;min-height:760px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-split-layout{height:760px;width:100%;max-width:none;margin:0;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy{width:100%!important;height:310px;padding:24px 20px!important;transform:none;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy h2{margin:0 0 14px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy p{margin:0 0 18px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-subscribe-links{gap:8px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo{top:310px;bottom:auto;right:0;width:100%;height:450px;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo img{position:absolute;top:15px;left:20px;right:auto;width:calc(100% - 40px)!important;height:420px;max-width:none;margin:0;object-fit:contain;object-position:center;-webkit-mask-image:none;mask-image:none;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo:after{background:none;}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-prev{left:4px;}
#page-1 .ag-three-slides:has(.slick-current.ag-offer-slide) .slick-next{right:4px;}
}


/* More breathing room; one-line offer headline on desktop. */
@media(min-width:768px){
#page-1 .ag-three-slides .ag-slide-copy h1,#page-1 .ag-three-slides .ag-slide-copy h2,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy h2{font-size:clamp(26px,2.2vw,34px)!important;line-height:1.35!important;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy h2{white-space:nowrap;max-width:none;}
}
@media(min-width:1200px){
#page-1 .ag-three-slides .ag-offer-slide .ag-split-layout,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-split-layout{width:calc(100% - 120px);max-width:1320px;margin:0 auto;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-copy{width:calc(100% - 513px)!important;padding:0!important;}
#page-1 .ag-three-slides .ag-offer-slide .ag-slide-photo img,#page-1 .ag-three-slides .ag-split-slide:has(.ag-slide-photo img[src*="artglass-swing-door-slider.jpg"]) .ag-slide-photo img{right:0;}
}

/* Approved wide door — second slide */
#page-1 .ag-three-slides .ag-wall-slide{position:relative;height:650px;min-height:650px;overflow:hidden;background:#d2d0cd!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:left center;margin:0}
#page-1 .ag-three-slides .ag-wall-slide:before{display:block!important;content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(38,52,59,.02) 0%,rgba(38,52,59,.08) 55%,rgba(38,52,59,.48) 68%,rgba(38,52,59,.60) 100%)!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy{position:absolute!important;z-index:2;left:66.3%;top:50%;transform:translateY(-50%);width:30.5%;max-width:none;padding:0!important;margin:0!important;text-align:left;color:#fff}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy h2{font-family:"DejaVu Sans",sans-serif!important;font-size:clamp(22px,1.775vw,34px)!important;line-height:1.47!important;font-weight:700!important;color:#fff!important;margin:0 0 32px!important;white-space:normal!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy p{font-family:"DejaVu Sans",sans-serif!important;font-size:clamp(14px,.992vw,19px)!important;line-height:1.5!important;color:#fff!important;margin:0!important;max-width:none!important}
@media(max-width:767px){
#page-1 .ag-three-slides .ag-wall-slide{height:calc(330px + 42.85vw)!important;min-height:500px!important;background:#52616a!important}
#page-1 .ag-three-slides .ag-wall-slide:before{display:none!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo{position:relative;display:block;width:100%;height:auto;object-fit:contain}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy{position:relative!important;left:auto;top:auto;transform:none;width:100%;padding:32px 24px!important;text-align:center;box-sizing:border-box}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy h2{font-size:clamp(15px,5vw,24px)!important;line-height:1.45!important;margin:0 0 24px!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy p{font-size:15px!important;line-height:1.5!important}
}

/* Centered second photograph with soft lateral edges */
@media(min-width:768px){
#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo{left:50%;right:auto;top:0;bottom:auto;transform:translateX(-50%);height:100%;width:auto;max-width:none;object-fit:contain;object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%)}
}

/* First slide: soft lateral transitions matching the second slide */
@media(min-width:768px){
#page-1 .ag-three-slides .ag-stairs-slide:after{content:"";display:block;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#9fa9ad 0%,rgba(159,169,173,0) 16%,rgba(159,169,173,0) 84%,#c3c8c8 100%)}
}

/* Shared photograph edge treatment for slides one and two */
#page-1 .ag-three-slides .ag-stairs-photo{display:none}
@media(min-width:768px){
#page-1 .ag-three-slides .ag-stairs-slide{background:#d2d0cd!important;overflow:hidden}
#page-1 .ag-three-slides .ag-stairs-slide:after{display:none!important}
#page-1 .ag-three-slides .ag-stairs-slide:before{z-index:1;pointer-events:none}
#page-1 .ag-three-slides .ag-stairs-slide .ag-stairs-photo,#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo{display:block;position:absolute;left:50%;right:auto;top:0;bottom:auto;transform:translateX(-50%);height:100%;width:auto;max-width:none;object-fit:contain;object-position:center;margin:0;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 16%,#000 84%,transparent 100%)}
}

/* Third slide: approved warm landscape, 2026-10-24 */
#page-1 .ag-three-slides .ag-warm-slide{position:relative;overflow:hidden;background:#69513e!important}
#page-1 .ag-three-slides .ag-warm-slide .ag-warm-photo{position:absolute;left:50%;top:0;transform:translateX(-50%);height:100%;width:auto;max-width:none;object-fit:contain;margin:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent)}
#page-1 .ag-three-slides .ag-warm-slide:before{display:block!important;z-index:1;background:linear-gradient(90deg,rgba(44,31,22,.82),rgba(44,31,22,.65) 34%,rgba(44,31,22,.08) 66%,rgba(44,31,22,.04))!important}
#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy{position:absolute;z-index:2;top:50%;transform:translateY(-50%);left:7%;width:86%;max-width:none;margin:0;padding:0}
#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy h2{font:700 clamp(22px,1.775vw,34px)/1.47 "DejaVu Sans",sans-serif!important;color:#fff!important;white-space:nowrap;margin:0 0 24px!important}
#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy p{font:400 clamp(14px,.992vw,19px)/1.5 "DejaVu Sans",sans-serif!important;color:#fff!important;margin:0 0 32px!important}
#page-1 .ag-three-slides .ag-warm-slide .ag-subscribe-links a{font-family:"DejaVu Sans",sans-serif!important}
@media(max-width:767px){
#page-1 .ag-three-slides .ag-warm-slide{height:calc(350px + 56.28vw)!important;min-height:530px!important;background:#69513e!important}
#page-1 .ag-three-slides .ag-warm-slide .ag-warm-photo{display:block;position:relative;left:auto;top:auto;transform:none;width:100%;height:auto;mask-image:none;-webkit-mask-image:none}
#page-1 .ag-three-slides .ag-warm-slide:before{display:none!important}
#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy{position:relative;left:auto;top:auto;transform:none;width:100%;padding:28px 24px;box-sizing:border-box;text-align:center}
#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy h2{font-size:clamp(15px,5vw,24px)!important;line-height:1.45!important;white-space:normal;margin-bottom:20px!important;text-align:center}
#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy p{font-size:15px!important;margin-bottom:24px!important;text-align:center}
#page-1 .ag-three-slides .ag-warm-slide .ag-subscribe-links{justify-content:center}
}

/* Equal photographs in homepage introduction */
#page-1 .region-2 .ag-intro-photo .image{width:100%;aspect-ratio:3 / 4;overflow:hidden}
#page-1 .region-2 .ag-intro-photo .image img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;margin:0}
@media(min-width:992px){#page-1 .region-2 .ag-intro-photo{width:29.16666667%}}

/* All mobile hero slides follow the original first slide layout */
@media(max-width:767px){
#page-1 .ag-three-slides .ag-wall-slide,#page-1 .ag-three-slides .ag-warm-slide{height:760px!important;min-height:760px!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo,#page-1 .ag-three-slides .ag-warm-slide .ag-warm-photo{display:block;position:absolute;inset:0;left:0;top:0;width:100%;height:100%;max-width:none;transform:none;object-fit:cover;object-position:center center;margin:0;mask-image:none;-webkit-mask-image:none}
#page-1 .ag-three-slides .ag-wall-slide:before,#page-1 .ag-three-slides .ag-warm-slide:before{content:"";display:block!important;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(38,52,59,.53),rgba(38,52,59,.22) 58%,rgba(38,52,59,.03))!important}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy{position:absolute!important;z-index:2;left:32px;right:32px;top:50%;width:auto;max-width:none;transform:translateY(-50%);padding:0!important;margin:0!important;text-align:left}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy h2,#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy h2{font-family:"DejaVu Sans",sans-serif!important;font-size:clamp(15px,5vw,24px)!important;line-height:1.45!important;font-weight:700!important;color:#fff!important;white-space:normal!important;text-align:left!important;margin:0 0 20px!important;text-shadow:0 1px 10px #0007}
#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy p,#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy p{font-family:"DejaVu Sans",sans-serif!important;font-size:15px!important;line-height:1.5!important;color:#fff!important;text-align:left!important;margin:0 0 18px!important;text-shadow:0 1px 10px #0007}
#page-1 .ag-three-slides .ag-warm-slide .ag-subscribe-links{justify-content:flex-start}
}

@media(max-width:767px){.ag-floating-messengers{right:12px!important;bottom:12px!important;flex-direction:row!important;gap:8px!important}.ag-floating-messengers svg{width:44px;height:44px}}

@media(max-width:767px){#page-1 .ag-three-slides .ag-stairs-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy{top:min(50%,max(200px,calc(50svh - 40px)))!important}}

/* Mobile framing keeps the whole door and partition visible */
@media(max-width:767px){
#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo,#page-1 .ag-three-slides .ag-warm-slide .ag-warm-photo{height:500px;bottom:auto;-webkit-mask-image:linear-gradient(#000 85%,transparent 100%);mask-image:linear-gradient(#000 85%,transparent 100%)}
#page-1 .ag-three-slides .ag-wall-slide .ag-wall-photo{object-position:56% center}
#page-1 .ag-three-slides .ag-warm-slide .ag-warm-photo{object-position:46% center}
#page-1 .ag-three-slides .ag-stairs-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-wall-slide .ag-slide-copy,#page-1 .ag-three-slides .ag-warm-slide .ag-slide-copy{top:auto!important;bottom:32px;transform:none}
#page-1 .ag-three-slides .ag-wall-slide{background:#52616a!important}
#page-1 .ag-three-slides .ag-wall-slide:before,#page-1 .ag-three-slides .ag-warm-slide:before{background:linear-gradient(180deg,rgba(38,52,59,.05) 0%,rgba(38,52,59,.10) 48%,rgba(38,52,59,.45) 72%,rgba(38,52,59,.60) 100%)!important}
}

/* Homepage shower card: approved project photograph */
#page-1 .region-4 .glass-design-1{background-color:#ad9982;background-image:linear-gradient(rgba(38,52,59,.24),rgba(38,52,59,.30)),url("https://steklo37.ru/wp-content/uploads/2026/10/exec-b1815dc0-f14f-4237-a18e-6d24307dedbe.png");background-size:100% 100%,contain;background-position:center,center;background-repeat:no-repeat}

/* Shower photograph fills the product card edge to edge */
#page-1 .region-4 .glass-design-1{background-size:100% 100%,cover;background-position:center,center}
