:root {
  --bg: #ffffff;
  --surface: #eaeaea;
  --surface-alt: #FFF7DF;
  --card-bg: #ffffff;
  --text: #000000;
  --text-dim: #444444;
  --text-muted: #666666;
  --text-soft: #888888;
  --border: #cccccc;
  --divider: #e5e5e5;
  --footer-line: #000000;
  --input-bg: #ffffff;
  --accent: #FFBF00;
  --accent-hover: #ffa700;
  --accent-secondary: #D5BA86;
}

html[data-theme=dark] {
  --bg: #1a1a1a;
  --surface: #2b2b2b;
  --surface-alt: #3a3428;
  --card-bg: #242424;
  --text: #f0f0f0;
  --text-dim: #cfcfcf;
  --text-muted: #aaaaaa;
  --text-soft: #999999;
  --border: #444444;
  --divider: #3a3a3a;
  --footer-line: #555555;
  --input-bg: #1f1f1f;
  --accent: #FFBF00;
  --accent-hover: #ffcc33;
  --accent-secondary: #b89a68;
}

html,
body {
  padding: 0;
  margin: 0;
  width: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  transition: background 0.25s ease, color 0.25s ease;
}

* {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  vertical-align: top;
}

.wall_mount {
  position: absolute;
  right: 0;
  top: 90vh;
  width: 20vh;
  will-change: transform;
}
.wall_mount svg {
  display: block;
  width: 100%;
  height: auto;
}
.wall_mount .wall_mount_bg_layer {
  transition: opacity 0.6s ease;
}

a {
  color: var(--text);
  text-decoration: none;
}

.wsize {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

.wsize2 {
  width: 100%;
  padding-left: 100px;
  padding-right: 100px;
}

header {
  padding: 25px 0 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  display: block;
  width: 200px;
  color: var(--text);
}
header .logo svg {
  display: block;
  width: 100%;
  height: auto;
}
header .burger {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
header .burger span {
  background: var(--text);
}
header nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.theme_toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.theme_toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}
.theme_toggle .icon_moon {
  display: none;
}
.theme_toggle:hover {
  transform: scale(1.06);
}

html[data-theme=dark] .theme_toggle .icon_sun {
  display: none;
}
html[data-theme=dark] .theme_toggle .icon_moon {
  display: block;
}

.big_banner_zone {
  display: grid;
  gap: 35px;
  margin: 0 auto;
  grid-template-columns: 1.3fr 1fr;
}
.big_banner_zone .left_side {
  min-height: 600px;
  max-height: 86vh !important;
  position: relative;
}
.big_banner_zone .left_side img {
  width: 100%;
  height: auto;
}
.big_banner_zone .left_side .hummer {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 1/1;
  max-height: 86vh !important;
  display: block;
  color: var(--bg);
  transition: color 0.25s ease;
}
.big_banner_zone .left_side .bammer_image {
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  max-height: 86vh !important;
  aspect-ratio: 1/1;
}
.big_banner_zone .left_side .bammer_image .bammer_photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.big_banner_zone .left_side .bammer_image .brick_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.big_banner_zone .left_side .bammer_image .brick {
  position: absolute;
  opacity: 1;
  background-size: cover;
  transition: opacity 0.3s ease;
}
.big_banner_zone .left_side .bammer_image .brick.off {
  opacity: 0;
}
.big_banner_zone .left_side .words {
  z-index: 3;
  right: 0;
  position: absolute;
  bottom: 100px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}
.big_banner_zone .left_side .words h1 {
  font-size: 3vw;
  padding: 30px;
}
.big_banner_zone .left_side .words h2 {
  font-size: 1.3vw;
}
.big_banner_zone .left_side .words h1,
.big_banner_zone .left_side .words h2 {
  margin: 0;
  display: inline-block;
  background: var(--card-bg);
  padding: 10px;
  font-weight: lighter;
}
.big_banner_zone .right_side {
  max-height: 86vh !important;
}
.big_banner_zone .right_side .info_zone {
  position: absolute;
  bottom: 0;
}
.big_banner_zone .right_side .info_zone .txt {
  max-width: 500px;
}
.big_banner_zone .right_side {
  position: relative;
  padding-right: 100px !important;
}
.big_banner_zone .right_side .call_to_action {
  gap: 25px;
  display: grid;
  margin-top: 40px;
  max-width: 500px;
  grid-template-columns: 1fr 1fr;
}
.big_banner_zone .right_side .call_to_action a {
  padding: 15px 25px;
  text-align: center;
  max-width: 240px;
  color: #000;
  background: var(--accent);
}
.big_banner_zone .right_side .call_to_action a.contactus {
  background: var(--accent-secondary);
}
.big_banner_zone .right_side .images {
  max-width: 500px;
  gap: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.big_banner_zone .right_side .images img {
  display: flex;
  align-self: flex-start;
  max-width: 240px;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.big_banner_zone .right_side .number {
  font-size: 160%;
  font-weight: lighter;
  text-align: right;
}

.button {
  padding: 15px 25px !important;
  text-align: center;
  max-width: 240px;
  color: #000;
  transition: 0.2s;
  cursor: pointer;
  background: var(--accent) !important;
}
.button:hover {
  background: var(--accent-hover) !important;
}
.button {
  border: none;
}

#stats .stat_grid {
  display: flex;
  gap: 40px;
  padding: 40px 0;
}
#stats .stat_grid .stat b {
  display: block;
  font-size: 200%;
  font-weight: lighter;
}

#cheshid {
  margin-top: 100px;
}
#cheshid h3 {
  position: relative;
}
#cheshid h3:before {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--text-dim);
  position: absolute;
  left: -120px;
  top: 20px;
}
#cheshid h3 {
  font-size: 200%;
  margin: 0;
  font-weight: bold;
}
#cheshid h4 {
  font-weight: lighter;
  margin: 0;
}
#cheshid .cheshid_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 500px;
  margin-top: 50px;
  margin-bottom: 50px;
}
#cheshid .cheshid_grid a.stone_item {
  display: block;
}
#cheshid .cheshid_grid a.stone_item img {
  border: 1px solid var(--border);
  width: 230px;
  height: 230px;
}
#cheshid .cheshid_grid a.stone_item img:hover {
  color: #0097BC;
}

#stones_page {
  margin-top: 60px;
  margin-bottom: 100px;
}
#stones_page h1 {
  font-size: 200%;
  margin: 0 0 40px 0;
  font-weight: bold;
}
#stones_page .stones_full_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}
#stones_page .stones_full_grid .stone_item {
  display: block;
}
#stones_page .stones_full_grid .stone_item img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--border);
}
#stones_page .stones_full_grid .stone_item .stone_name {
  display: block;
  margin-top: 10px;
  text-align: center;
}
#stones_page .stones_full_grid .stone_item:hover img {
  border-color: #0097BC;
}

#about_page {
  margin-top: 60px;
}
#about_page h1 {
  font-size: 200%;
  margin: 0 0 30px 0;
  font-weight: bold;
}
#about_page .about_intro {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}
#about_page .about_photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 900px;
  margin-bottom: 60px;
}
#about_page .about_photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
}
#about_page .about_block {
  margin-bottom: 60px;
  max-width: 900px;
}
#about_page .about_block h3 {
  position: relative;
  font-size: 160%;
  margin: 0 0 15px 0;
  font-weight: bold;
}
#about_page .about_block h3:before {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--text-dim);
  position: absolute;
  left: -120px;
  top: 16px;
}
#about_page .about_block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
}
#about_page .about_block .button {
  display: inline-block;
}
#about_page .about_tags {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#about_page .about_tags li {
  padding: 10px 18px;
  border: 1px solid var(--border);
  font-size: 14px;
}
#about_page .about_points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 40px;
  margin-top: 25px;
}
#about_page .about_points .about_point b {
  display: block;
  margin-bottom: 6px;
}
#about_page .about_points .about_point span {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dim);
}
#about_page .about_photos_wide {
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0 10px 0;
}
#about_page .about_stones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 25px 0 30px 0;
}
#about_page .about_stones .stone_item {
  display: block;
}
#about_page .about_stones .stone_item img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--border);
}
#about_page .about_stones .stone_item .stone_name {
  display: block;
  margin-top: 10px;
  text-align: center;
}

#projects_page {
  margin-top: 60px;
  margin-bottom: 100px;
}
#projects_page h1 {
  font-size: 200%;
  margin: 0 0 40px 0;
  font-weight: bold;
}
#projects_page .project_block {
  margin-bottom: 70px;
  scroll-margin-top: 30px;
}
#projects_page .project_block h2 {
  font-size: 150%;
  margin: 0 0 10px 0;
  font-weight: bold;
}
#projects_page .project_info {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
  color: var(--text-soft);
  font-size: 14px;
}
#projects_page .project_description {
  max-width: 900px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 30px 0;
}
#projects_page .project_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
#projects_page .project_gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--border);
}
#projects_page .project_divider {
  height: 1px;
  background: var(--divider);
  margin: 70px 0;
}
#projects_page .project_divider:last-child {
  display: none;
}

#services {
  margin-top: 100px;
}
#services h3 {
  position: relative;
}
#services h3:before {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--text-dim);
  position: absolute;
  left: -120px;
  top: 20px;
}
#services h3 {
  font-size: 200%;
  margin: 0;
  font-weight: bold;
}
#services h4 {
  font-weight: lighter;
  margin: 0;
}
#services .serv_grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
}
#services .serv_grid .line1,
#services .serv_grid .line2 {
  display: flex;
  gap: 6px;
}
#services .serv_grid .line1 span,
#services .serv_grid .line2 span {
  min-width: 100px;
  padding: 10px 24px;
  background: var(--surface);
}
#services .serv_grid .line1 span.item_light,
#services .serv_grid .line2 span.item_light {
  background: var(--surface-alt);
}
#services .serv_grid .line1 {
  margin-left: 60px;
}

#projects .projects_grid {
  margin-top: 30px;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 760px;
}
#projects .projects_grid a.project_item {
  display: block;
}
#projects .projects_grid a.project_item img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--border);
}
#projects .projects_grid a.project_item .project_name {
  display: block;
  margin-top: 10px;
}
#projects .projects_grid a.project_item:hover img {
  border-color: #0097BC;
}
#projects {
  margin-top: 100px;
}
#projects h3 {
  position: relative;
}
#projects h3:before {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--text-dim);
  position: absolute;
  left: -120px;
  top: 20px;
}
#projects h3 {
  font-size: 200%;
  margin: 0;
  font-weight: bold;
}
#projects h4 {
  font-weight: lighter;
  margin: 0;
}

#contacts {
  margin-top: 100px;
}
#contacts h4 {
  position: relative;
}
#contacts h4:before {
  content: "";
  width: 100px;
  height: 2px;
  background: var(--text-dim);
  position: absolute;
  left: -120px;
  top: 20px;
}
#contacts h4 {
  font-size: 160%;
  margin: 0;
  font-weight: bold;
}
#contacts .contact_form img {
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}
#contacts .contact_form .change_image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: opacity 0.25s;
}
#contacts .contact_form .change_image.fading {
  opacity: 0;
}
#contacts .contact_form form input, #contacts .contact_form form select, #contacts .contact_form form textarea {
  border: none;
  padding: 10px;
  background: var(--input-bg);
  color: var(--text);
}
#contacts .contact_form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#contacts .contact_form form .gr4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#contacts .contact_form form textarea {
  height: 230px;
  width: 100%;
}
#contacts .contact_form form .hp_field {
  position: absolute;
  left: -9999px;
}
#contacts .contact_form form .form_status {
  font-size: 14px;
}
#contacts .contact_form form .form_status.ok {
  color: #2e8b57;
}
#contacts .contact_form form .form_status.error {
  color: #c0392b;
}
#contacts .contact_form {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  grid-template-columns: 1fr 400px;
}
#contacts .contact_form b {
  display: block;
  margin-bottom: 20px;
  font-weight: lighter;
}
#contacts .contact_form {
  padding: 40px;
  margin: 30px 0;
  border-radius: 40px;
  background: var(--surface);
}

footer {
  display: block;
  text-align: center;
  margin-top: 100px;
}
footer .line {
  height: 3px;
  display: block;
  margin: 0 auto 70px;
  background: var(--footer-line);
  width: 80%;
  max-width: 1000px;
}
footer .footer_content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 70px;
  font-size: 20px;
  margin-bottom: 70px;
}
footer .footer_content b {
  font-weight: 700;
}
footer .footer_texts {
  max-width: 1600px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.4;
}
footer .footer_texts p {
  margin: 0 0 20px 0;
}
footer .footer_texts p:last-child {
  margin-bottom: 0;
}
footer .copyright {
  margin-top: 100px;
  padding-bottom: 40px;
  font-size: 13px;
}

.project_gallery img,
.about_photos img {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox .lightbox_img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 10px 20px;
  opacity: 0.8;
}
.lightbox button:hover {
  opacity: 1;
}
.lightbox .lightbox_close {
  top: 10px;
  right: 10px;
  font-size: 40px;
}
.lightbox .lightbox_prev,
.lightbox .lightbox_next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
}
.lightbox .lightbox_prev {
  left: 5px;
}
.lightbox .lightbox_next {
  right: 5px;
}
.lightbox .lightbox_count {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.map_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map_link svg {
  flex-shrink: 0;
  color: var(--accent);
}

@media (min-width: 1400px) {
  .wall_mount {
    width: 30vh;
  }
}
@media (max-width: 1000px) {
  .wsize2 {
    padding-left: 40px;
    padding-right: 40px;
  }
  header {
    padding: 20px 0;
  }
  header .logo {
    width: 150px;
  }
  header nav ul {
    gap: 16px;
    font-size: 90%;
  }
  footer {
    margin-top: 70px;
  }
  footer .footer_content {
    gap: 15px 40px;
    font-size: 18px;
  }
  footer .footer_texts {
    font-size: 14px;
  }
  #stones_page .stones_full_grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
  #projects_page .project_gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  #about_page .about_block h3:before {
    display: none;
  }
  #contacts h4:before {
    display: none;
  }
  #contacts .contact_form {
    grid-template-columns: 1fr;
  }
  #contacts .contact_form img {
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  .wsize2 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .theme_toggle {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
  .theme_toggle svg {
    width: 17px;
    height: 17px;
  }
  header {
    position: relative;
    padding: 18px 0;
  }
  header .logo {
    width: 110px;
  }
  header .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 20px;
  }
  header .burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
  }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--divider);
    z-index: 10;
  }
  header nav ul {
    flex-direction: column;
    gap: 0;
  }
  header nav li {
    border-top: 1px solid var(--divider);
  }
  header nav li:first-child {
    border-top: none;
  }
  header nav li a {
    display: block;
    padding: 14px 0;
  }
  header.nav-open nav {
    display: block;
  }
  footer {
    margin-top: 50px;
  }
  footer .line {
    margin-bottom: 40px;
  }
  footer .footer_content {
    gap: 12px 20px;
    font-size: 15px;
    margin-bottom: 40px;
  }
  footer .footer_texts {
    font-size: 13px;
  }
  footer .copyright {
    margin-top: 50px;
  }
  #stones_page {
    margin-top: 30px;
  }
  #stones_page h1 {
    font-size: 150%;
    margin-bottom: 25px;
  }
  #stones_page .stones_full_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  #projects_page {
    margin-top: 30px;
  }
  #projects_page h1 {
    font-size: 150%;
    margin-bottom: 25px;
  }
  #projects_page .project_block h2 {
    font-size: 130%;
  }
  #projects_page .project_info {
    gap: 15px;
    flex-wrap: wrap;
  }
  #projects_page .project_gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  #projects_page .project_divider {
    margin: 40px 0;
  }
  #about_page {
    margin-top: 30px;
  }
  #about_page h1 {
    font-size: 150%;
  }
  #about_page .about_photos {
    grid-template-columns: 1fr;
  }
  #about_page .about_points {
    grid-template-columns: 1fr;
  }
  #about_page .about_photos_wide,
  #about_page .about_stones {
    grid-template-columns: repeat(2, 1fr);
  }
  #contacts {
    margin-top: 60px;
  }
  #contacts h4 {
    font-size: 120%;
  }
  #contacts .contact_form {
    padding: 20px;
    gap: 20px;
    margin: 20px 0;
  }
  #contacts .contact_form form .gr4 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1000px) {
  .wall_mount {
    display: none;
  }
  .big_banner_zone {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .big_banner_zone .left_side {
    min-height: 0;
    max-height: none !important;
  }
  .big_banner_zone .left_side .words {
    bottom: 40px;
  }
  .big_banner_zone .left_side .words h1 {
    font-size: 5vw;
    padding: 20px;
  }
  .big_banner_zone .left_side .words h2 {
    font-size: 2.4vw;
  }
  .big_banner_zone .right_side {
    max-height: none !important;
    padding: 0 40px !important;
  }
  .big_banner_zone .right_side .number {
    text-align: left;
    margin-bottom: 20px;
  }
  .big_banner_zone .right_side .info_zone {
    position: static;
  }
  .big_banner_zone .right_side .info_zone .txt,
  .big_banner_zone .right_side .info_zone .images,
  .big_banner_zone .right_side .info_zone .call_to_action {
    max-width: none;
  }
  #cheshid,
  #services,
  #projects {
    margin-top: 70px;
  }
  #cheshid h3:before,
  #services h3:before,
  #projects h3:before {
    display: none;
  }
  #cheshid .cheshid_grid {
    max-width: none;
    gap: 20px;
  }
  #cheshid .cheshid_grid a.stone_item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
  }
  #services .serv_grid .line1 {
    margin-left: 0;
  }
  #projects .projects_grid {
    max-width: none;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .big_banner_zone {
    gap: 20px;
  }
  .big_banner_zone .left_side .words {
    bottom: 15px;
  }
  .big_banner_zone .left_side .words h1 {
    font-size: 22px;
    padding: 12px;
  }
  .big_banner_zone .left_side .words h2 {
    font-size: 13px;
    padding: 8px 12px;
  }
  .big_banner_zone .right_side {
    padding: 0 20px !important;
  }
  .big_banner_zone .right_side .number {
    font-size: 130%;
  }
  .big_banner_zone .right_side .images {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .big_banner_zone .right_side .images img {
    max-width: none;
  }
  .big_banner_zone .right_side .call_to_action {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 25px;
  }
  .big_banner_zone .right_side .call_to_action a {
    max-width: none;
  }
  #stats .stat_grid {
    gap: 30px;
    padding: 30px 0 0;
  }
  #cheshid,
  #services,
  #projects {
    margin-top: 50px;
  }
  #cheshid h3,
  #services h3,
  #projects h3 {
    font-size: 150%;
  }
  #cheshid .cheshid_grid,
  #projects .projects_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 30px;
  }
  #services .serv_grid .line1,
  #services .serv_grid .line2 {
    flex-direction: column;
  }
  #services .serv_grid .line1 span.item,
  #services .serv_grid .line2 span.item {
    display: none;
  }
  .button {
    display: block;
    max-width: none;
  }
}
@media (max-width: 1000px) {
  #contacts .contact_form .change_image {
    max-width: 360px;
  }
  footer {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 500px) {
  html,
  body {
    overflow-x: clip;
  }
  img {
    max-width: 100%;
  }
  #contacts .contact_form {
    border-radius: 20px;
  }
  #contacts .contact_form form input,
  #contacts .contact_form form select,
  #contacts .contact_form form textarea {
    font-size: 16px;
    width: 100%;
  }
  #contacts .contact_form form textarea {
    height: 160px;
  }
  #contacts .contact_form .change_image {
    display: none;
  }
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  #about_page .about_block h3 {
    font-size: 130%;
  }
  #about_page .about_tags li {
    padding: 8px 14px;
    font-size: 13px;
  }
  .lightbox .lightbox_img {
    max-width: 100vw;
    max-height: 80vh;
  }
  .lightbox .lightbox_prev,
  .lightbox .lightbox_next {
    top: auto;
    bottom: 5px;
    transform: none;
    font-size: 44px;
  }
  .lightbox .lightbox_count {
    bottom: 22px;
  }
}
@media (max-width: 1000px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    box-shadow: 0 1px 0 var(--divider);
    transition: background 0.25s ease;
  }
}
@media (max-width: 500px) {
  header {
    position: sticky;
    padding: 12px 20px;
  }
  header nav {
    max-height: 80vh;
    overflow-y: auto;
    padding: 0 20px;
  }
}
