/*
Theme Name: art-net-theme-html
Theme URI: https://html6.com.ru
Author: html6.com.ru
Author URI: https://html6.com.ru
Description: Тема-оболочка для контент-секций.
Version: 1.0

*/

body {
    font-family: 'Roboto';
    font-size: 14px;
    font-weight: 400;
}

section,
header,
footer,
main {
	position: relative;
}
main {
	margin-top: 180px; /* подстрой по высоте шапки */
  }
img {
	max-width: 100%;
}

p:last-child {
	margin-bottom: 0;
}

blockquote, q {
    padding-left: 10px;
    border-left: 2px solid #eee;
}

table {
	width: 100%;
}

table td, table th {
	padding: 10px 10px;
    border: 1px solid #c7c7c7;
}

table tr:nth-child(odd) td {
	background: #f1f1f1;
}



table tr:nth-child(even) td {
	background: #dadada;
}

/* SCROLL TO TOP */
.art_net_theme-scroll-to-top {
	width: 50px;
	height: 50px;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	position: fixed;
	bottom: 150px;
	right: 20px;
	display: none;
	z-index: 999;
	background-color: #44b2fe;
	transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	transition: transform 0.3s, -webkit-transform 0.3s;
	overflow: hidden;
}
.art_net_theme-scroll-to-top:before, .art_net_theme-scroll-to-top:after {
	content: '';
	position: absolute;
	display: block;
	top: 15px;
	background-color: #fff;
	height: 20px;
	width: 5px;
}
.art_net_theme-scroll-to-top:before {
	-webkit-transform: rotate(-45deg);
	      transform: rotate(-45deg);
	left: 28px;
	box-shadow: -8px 14px 0px 8px #1ba1fe;
}
.art_net_theme-scroll-to-top:after {
	-webkit-transform: rotate(45deg);
	      transform: rotate(45deg);
	right: 28px;
}
.art_net_theme-scroll-to-top:focus {
	outline: none;
}

/* CONTENT IMAGE */

img.alignleft {
    float: left;
    margin: 15px;
}

img.alignright {
    float: right;
    margin: 15px;
}

img.aligncenter {
    display: block;
    margin: 15px auto;
}

/* HEADERS SECTIONS */

.art_net_theme_header-section {
    text-align: center;
}

.art_net_theme_section-overtitle,
.art_net_theme_section-overtitle * {
    font-size: 24px;
    color: #0BBBF8;
    line-height: 30px;
}

.art_net_theme_section-title h2 {
    font-size: 35px;
    text-transform: uppercase;
    line-height: 60px;
    font-weight: bold;
    color: #313131;
}

.art_net_theme_section-subtitle,
.art_net_theme_section-subtitle * {
    font-size: 15px;
    color: #777777;
    line-height: 27px;
}

.art_net_theme_header-section div * {
    margin: 0;
    padding: 0;
}

.art_net_theme_section-title-separator {
    text-align: center;
    margin: 10px auto 23px;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: #fff;
	color: #000;
	margin: 0;
  }
  
  .modal-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	z-index: 1000;
  }
  
  .modal-content {
	background: white;
	padding: 40px 30px;
	width: 90%;
	max-width: 600px;
	border-radius: 12px;
	position: relative;
	max-height: 95vh;
	overflow-y: auto;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
  
  .modal-content h2 {
	font-size: 28px;
	text-align: center;
	margin-bottom: 10px;
  }
  
  .modal-content p {
	font-size: 16px;
	text-align: center;
	margin-bottom: 20px;
  }
  
  .modal-content p em {
	font-style: italic;
	color: #aa8844; /* тёплый золотистый оттенок */
  }
  
  form label {
	display: block;
	font-weight: 600;
	margin-top: 20px;
	font-size: 16px;
  }
  
  form input,
  form textarea,
  form select {
	width: 100%;
	padding: 12px 16px;
	margin-top: 8px;
	border: 1px solid #ccc;
	border-radius: 10px;
	font-size: 14px;
	box-sizing: border-box;
	background-color: #f8f8f8;
  }
  
  form textarea {
	min-height: 80px;
	resize: vertical;
  }
  
  form small {
	display: block;
	font-size: 12px;
	color: #555;
	margin-top: 5px;
  }
  
  form input[type="checkbox"] {
	width: auto;
	margin-right: 8px;
  }
  
  button[type="submit"] {
	width: 100%;
	margin-top: 30px;
	padding: 14px;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
  }
  
  button[type="submit"]:hover {
	background-color: #333;
  }
  
  .close-button {
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 28px;
	cursor: pointer;
	font-weight: bold;
	color: #666;
  }
  
  .close-button:hover {
	color: #000;
  }
  
  button.mybtn {
	display: inline-block;
	background: #f87206;
	color: #fff;
	cursor: pointer;
    margin-top: 40px;
    font-size: 14px;
	letter-spacing: 1px;
	line-height: 24px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	border: 2px solid transparent;
	padding: 13px 40px;
	border-radius: 5px;
	transition: all .5s;
	text-decoration: none;
  }

button.mybtn:hover {
	background: #fff;
	color: #f87206;
}

@media (max-width: 600px) {
	button.mybtn {
	  font-size: 0.8rem;
	  padding: 10px 5vw;
	}
  }
  .center-btn-wrapper {
	text-align: center;
  }
  
  .contact-list {
	list-style: none;
	padding-left: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
  }
  
  .contact-list li {
	margin-bottom: 6px;
  }
  
  .contact-list a {
	color: #f87206;
	text-decoration: none;
  }
  
  .social-icons {
	margin-top: 20px;
	display: flex;
	gap: 15px;
  }
  
  .social-icons img {
	width: 32px;
	height: 32px;
	transition: transform 0.3s ease;
  }
  
  .social-icons a:hover img {
	transform: scale(1.1);
  }
  .main-link {
	text-decoration: none;
	font-size: 24px; /* размер имени */
	font-weight: bold;
	color: #000;
	display: inline-block;
  }
  
  .main-link .subtitle {
	display: block;
	font-size: 16px; /* уменьшенный шрифт для подзаголовка */
	font-weight: normal;
	color: #555;
	margin-top: 4px;
  }
  .impressum-block h5.impressum-toggle {
	font-size: 18px;
	font-weight: 600;
	color: #f87206;
	margin-bottom: 15px;
  }
  
  .impressum-block .impressum-content {
	font-size: 14px;
	color: #333;
	line-height: 1.6;
  }
  .menu-button-highlight {
	background-color: #f87206;
	color: #fff;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 10px;
	border: none;
	margin-top: 15px;
	text-transform: uppercase;
	display: inline-block;
	transition: background 0.3s ease;
  }
  .menu-button-highlight:hover {
	background-color: #fff;
	color: #f87206;
	border: 2px solid #f87206;
  }
  
  .mobile-only {
	display: none;
  }
  
  @media screen and (max-width: 767px) {
	.ant006_header-logo {
	  width: 100%;
	  text-align: center;
	  margin-bottom: 10px;
	}
  
	.ant006_header-toggle {
	  position: absolute;
	  top: 20px;
	  right: 15px;
	}
  
	.menu-button-highlight.mobile-only {
	  display: block;
	  width: 100%;
	  text-align: center;
	  margin: 20px auto 0 auto;
	  max-width: 300px;
	}
  
	nav.ant006_header-container {
	  display: none;
	}
  }
  
  .consultation-block {
    background-color: #f2f2f2;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
  }

  .consultation-block h3 {
    margin-top: 0;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .consultation-block p {
    margin-bottom: 10px;
  }

  .consultation-btn {
    display: none;
    background-color: #d4af7f;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
  }

  .consultation-block.active .consultation-btn {
    display: inline-block;
    margin-top: 10px;
  }

  .consultation-content {
    display: none;
  }

  .consultation-block.active .consultation-content {
    display: block;
  }

  @media (min-width: 768px) {
    .consultation-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }

    .consultation-block:hover .consultation-btn {
      display: inline-block;
    }

    .consultation-block .consultation-content {
      display: block;
    }
  }