*{
  margin: 0;
  padding: 0;
}
html{
  scroll-behavior: smooth;
}

body{
        min-height: 100vh;
    display: flex;
    flex-direction: column;
  font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
  background-image: radial-gradient(circle farthest-corner at 50% 50%, #ebeff6, #f4f4f4);
}
:root {
  --lg-bg-color: rgba(255, 255, 255, 0.25);
  --lg-highlight: rgba(255, 255, 255, 0.75);
  --lg-text: #ffffff;
  --lg-red: #fb4268;
  --lg-grey: #444739;
}

body .bg {
  position: absolute; /* было relative - измени на absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* было 100vh - измени на 100% */
  max-height: none; /* убери ограничение */
  overflow: hidden;
  z-index: 1; /* добавь - чтобы было позади glass-container */
}
body .bg .aur_cont {
  margin: -50px auto 0;
  display: table;
  height: auto;
}
body .bg .aur_cont .aur {
  transform: skew(-0.06turn, 18deg);
  display: block;
  width: 0;
  min-height: 250px;
  float: left;
  margin-left: 100px;
  border-radius: 5% 52% 30px 20px;
  opacity: 1;
}
body .bg .aur_cont .aur.aur_1 {
  box-shadow: #4bff8b 0px 0px 100px 40px;
  margin-top: 2px;
  animation: topup 7031ms infinite linear;
}
body .bg .aur_cont .aur.aur_2 {
  box-shadow: #4b718c 0px 0px 100px 40px;
  margin-top: 27px;
  animation: topup 10359ms infinite linear;
}
body .bg .aur_cont .aur.aur_3 {
  box-shadow: #4bb044 0px 0px 100px 40px;
  margin-top: 27px;
  animation: topup 5515ms infinite linear;
}
body .bg .aur_cont .aur.aur_4 {
  box-shadow: #4bd4ff 0px 0px 100px 40px;
  margin-top: -30px;
  animation: topup 11580ms infinite linear;
}
body .bg .aur_cont .aur.aur_5 {
  box-shadow: #4bffa6 0px 0px 100px 40px;
  margin-top: 0px;
  animation: topup 6773ms infinite linear;
}
body .bg .aur_cont .aur.aur_6 {
  box-shadow: #4b724a 0px 0px 100px 40px;
  margin-top: 45px;
  animation: topup 8622ms infinite linear;
}
body .bg .aur_cont .aur.aur_7 {
  box-shadow: #4bb044 0px 0px 100px 40px;
  margin-top: 0px;
  animation: topup 11510ms infinite linear;
}
body .bg .aur_cont .aur.aur_8 {
  box-shadow: #4be56f 0px 0px 100px 40px;
  margin-top: 5px;
  animation: topup 10258ms infinite linear;
}
body .bg .aur_cont .aur.aur_9 {
  box-shadow: #4bb7ff 0px 0px 100px 40px;
  margin-top: 9px;
  animation: topup 12160ms infinite linear;
}
body .bg .aur_cont .aur.aur_10 {
  box-shadow: #4bffff 0px 0px 100px 40px;
  margin-top: -27px;
  animation: topup 12931ms infinite linear;
}
@keyframes drift {
  from {
    transform: rotate(0deg);
  }
  from {
    transform: rotate(360deg);
  }
}
@keyframes topup {
  0%, 100% {
    transform: translatey(0px);
    opacity: 0;
  }
  50% {
    transform: translatey(150px);
    opacity: 0.1;
  }
  25%, 75% {
    opacity: 1;
  }
}
@keyframes northern {
  0% {
    transform: translate(5%, -2%);
  }
  25% {
    transform: translate(10%, 7%);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: translate(7%, -2%);
  }
  85% {
    transform: translate(6%, 3%) rotate(12deg);
  }
  100% {
    transform: none;
  }
}


@keyframes bg-move {
  from {
    background-position: center center;
  }
  to {
    background-position: center top;
  }
}
.container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}



.container--inline {
  display: flex;
  flex-direction: row;
}
.glass-container {
  position: relative;
  display: flex;
  z-index: 2;
  align-items: center;
  background: transparent;
  border-radius: 2rem;
  overflow: hidden;
  flex: 1 1 auto;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  color: var(--lg-text);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}
.header-plate{
  position: relative;
  background: #000000;
  padding-top: 1rem;
  padding-bottom: 1rem;
  overflow: hidden;
  height: 5rem;
  border-radius: 4rem;
}
.glass-container--rounded {
  border-radius: 3rem;
}
.glass-container--large {
  flex: 1 1 auto;
}
.glass-container--medium {
  flex: 1 1 auto;
}
.glass-container--small {
  max-width: 33rem;
  margin-left: auto;
  margin-right: auto;
}
.glass-filter,
.glass-overlay,
.glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.glass-filter {
  z-index: 0;
  backdrop-filter: blur(4px);
  filter: url(#lensFilter) saturate(120%) brightness(1.15);
}
.glass-overlay {
  z-index: 1;
  background: var(--lg-bg-color);
}
.glass-specular {
  z-index: 2;
  box-shadow: inset 1px 1px 0 var(--lg-highlight),
  inset 0 0 5px var(--lg-highlight);
}
.glass-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-around;
  padding: 12px;
  gap: 1rem;
  flex-wrap: wrap;
}
.glass-content__link {
  margin-bottom: -1px;
  margin-top: 6px;
  transition: transform 0.2s ease-out;

  img {
    width: 78px;
  }

  &:hover {
    transform: scale(1.1);
  }

  &:active {
    transform: scale(0.95);
  }
}

.navigation {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: center;
  font-weight: bold;
  align-items: center;
  gap: 2rem;
  width: 100%;
  list-style: none;
  padding: 1rem;
}
.navigation li a {
  text-decoration: none;
  color: var(--lg-text);
}


/* Превью */
.image-zoom {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.image-zoom summary {
  cursor: zoom-in;
  list-style: none;
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 118, 223, 0.1);
  border-radius: 0.5rem;
}

.image-zoom summary::-webkit-details-marker,
.image-zoom summary::marker {
  display: none;
}

.image-zoom summary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  transition: transform 0.2s;
}

.image-zoom summary img:hover {
  transform: scale(1.05);
}

/* Fullsize - теперь будет в body */
.image-fullsize {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.image-fullsize[data-zoom="fit"] img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
}

.image-fullsize[data-zoom="full"] {
  align-items: flex-start;
  justify-content: flex-start;
  overflow: auto;
}

.image-fullsize[data-zoom="full"] img {
  max-width: none;
  width: auto;
  height: auto;
  border-radius: 8px;
  cursor: zoom-out;
  display: block;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-btn:hover {
  background: rgba(255, 68, 68, 0.9);
  transform: scale(1.1);
}

.section {
  border-radius: 10px;
  background-color: #e8e8e8;
  padding: 2rem;
  margin: 1rem;
}
/* Основная анимация секции */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Анимация шапки */
.header-plate {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.header-plate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Анимация для контейнера tabs - теперь отдельно */
.tabs {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.tabs.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Анимация для каждого таба */
.tab {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.tabs.visible .tab:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.tabs.visible .tab:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.35s;
}

.tabs.visible .tab:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

/* Анимация для group-table */
.group-table {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.group-table.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Анимация таблиц внутри */
.group-table table {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.group-table.visible .price-list {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.group-table.visible .dop {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.35s;
}

/* Анимация для s2-grp */
.s2-grp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}

.s2-grp.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Анимация для s2-grp-2 (альбом) */
.s2-grp-2 {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.s2-grp-2.visible {
  opacity: 1;
  transform: scale(1);
}

/* Анимация отдельных фото */
.s2-grp-2 .image-zoom {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.s2-grp-2.visible .image-zoom:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.s2-grp-2.visible .image-zoom:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.s2-grp-2.visible .image-zoom:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.s2-grp-2.visible .image-zoom:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}
.group-table {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
caption {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1.5rem;
  background: linear-gradient(135deg, #0076DF 0%, #0056b3 100%);
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
}
thead th {
  background: #f8f9fa;
  color: #0076DF;
  font-weight: 600;
  padding: 1.2rem;
  text-align: center;
  font-size: 1.1rem;
  border-bottom: 3px solid #0076DF;
}
tbody th {
  font-size: 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}
tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}
tbody tr:nth-child(even) {
  background-color: #ffffff;
}
tbody tr:hover {
  background-color: #e3f2fd;
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 118, 223, 0.2);
}
tbody tr:hover th {
  color: #0076DF;
}
tbody tr:first-child th {
  font-size: 1.1rem;
  font-weight: bold;
  color: #0076DF;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}
.price-list {
  flex: 2;
  min-width: 500px;
}
.dop {
  flex: 1;
  min-width: 300px;
}
.dop tbody th {
  text-align: left;
}
.dop tbody th:last-child {
  text-align: right;
  font-weight: bold;
  color: #0076DF;
}

main{
    flex: 1;
}

.container-1 {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.header-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.grouped-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.section-1, .section-2{
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  /*backdrop-filter: blur(10px);*/
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 3rem;
  margin: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: visible;
  opacity: 0;
}
.section-1::before, .section-2::before{
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: auto;
  height: auto;
  background: radial-gradient(circle, rgba(0, 118, 223, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.section-1 > * {
  position: relative;
  z-index: 1;
}
.section-1 h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #000000;
  margin: 0;
  text-align: left;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.section-1 h2, .section-2 h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #0076DF;
  margin: 0;
  text-align: left;
  line-height: 1.6;
}
#more, #uslugi{
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: clamp(1rem, 3vw, 2rem);
  flex: 1;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
#more::after {
  content: "\2193";
  display: block;
  font-size: 2rem;
  color: #0076DF;
  margin: 0 0 0 0;
  animation: arrow-bounce 2s ease-in-out infinite;
}
@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
section-2 h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #0076DF;
  margin: 0;
  text-align: center;
}
.img-wrapper {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
img-wrapper::before {
  content: '';
  position: absolute;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 118, 223, 0.1) 0%, rgba(0, 168, 255, 0.1) 100%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}
.globus {
  width: 100%;
  height: auto;
  max-width: 450px;
  filter: drop-shadow(0 10px 30px rgba(0, 118, 223, 0.2));
  animation: float 6s ease-in-out infinite;
}
.logo{
  display: inline-block;
  transform: rotate(-45deg);
  font-size: 10rem;
  font-style: italic;
}
.section-1 p, .s2-grp, .s2-grp-2 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-align: center;
  color: #333;
  margin: 0;
  line-height: 1.8;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(0, 118, 223, 0.1);
}
/* Анимация плавающего изображения */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Анимация пульсации фона */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.section-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}
.tab {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 2rem;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 118, 223, 0.2);
}

.tab h3 {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #0076DF 0%, #00a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  margin: 0;
}

.tab > ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab > ul li {
  padding: 0.8rem;
  padding-left: 2.5rem;
  background: rgba(0, 118, 223, 0.05);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center; /* Центрирует содержимое */
}

.tab > ul li::before {
  content: '✦';
  position: absolute;
  left: 1rem;
  top: 50%; /* Центрирует по вертикали */
  transform: translateY(-50%); /* Точное центрирование */
  color: #0076DF;
  font-size: 1.2rem;
  line-height: 1; /* Убирает лишнее пространство вокруг символа */
}

.tab > ul li:hover {
  background: rgba(0, 118, 223, 0.1);
  padding-left: 3rem;
}
.btn-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}
.btn-consultaciya{
  padding: 1rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #0076DF;
  background-color: #ffffff;
  border: solid 1px #0076DF;
  border-radius: 3rem;
}
.btn-consultaciya:hover{
  background: #0076DF;
  color: #ffffff;
}
.btn-zvonok{
  background: #0076DF;
  color: #ffffff;
  padding: 1rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  border: solid 1px #0076DF;
  border-radius: 3rem;
}
.btn-zvonok:hover{
  background: #0065bd;
  color: #ffffff;
}
.section-2 p{
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  text-align: center;
}


.contacts-text {
  margin-top: 20px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 2rem;
  border: 1px solid #ddd;
  animation: slideDown 0.3s ease-out;
}

.contacts-text h3 {
  margin-top: 0;
  color: #333;
}

.contacts-text ul li a {
  margin: 10px 0;
  color: #555;
}
.contacts-text ul{
  list-style: none;
}

.close-contacts {
  margin-top: 15px;
  padding: 8px 16px;
  background: #ffffff;
  color: #0065bd;
  border: solid 1px  #0065bd;
  border-radius: 2rem;
  cursor: pointer;
}

.close-contacts:hover {
  background: #0065bd;
  color: #ffffff;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.icon{
  cursor: pointer;
  transition: transform 0.2s, opacity 0.3s;
}
.icon:hover{
  transform: scale(1.1);
  opacity: 0.8;
}
.icon:active{
  transform: scale(0.95);
}
.icon-telegram{
  color: #0088cc;
}
.icon-phone{
  color: #34c759;
}
.icon-mail{
  color: #0088cc;
}
.icon-vk{
  color: #0088cc;
}
.album {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
footer {
  background-color: rgb(29, 29, 31);
  padding: 1rem;
  display: flex;
  gap: 3rem;
  border-radius: 1rem 1rem 0rem 0rem;
}
footer a {
  text-decoration: none;
  color: #0076DF;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
footer ul li a{
  color: rgba(255, 255, 255, 0.56);
}
footer ul li a:hover{
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}
.aurora-text {
  -webkit-text-stroke: 0.5px #393939;
  background: linear-gradient(90deg,
  #4bff8b 0%,
  #4bd4ff 25%,
  #4bb044 50%,
  #4be56f 75%,
  #4bffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aurora-shift 8s ease-in-out infinite;
  font-weight: bold;
  display: inline;
}

@keyframes aurora-shift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.modal {
  display: none;

  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
  z-index: 2;
  animation: slideDown 0.3s;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}
.modal-content textarea {
  resize: vertical; /* Только по вертикали */
  max-height: 300px; /* Максимальная высота */
  min-height: 100px; /* Минимальная высота */
}
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #000;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
}

/* Стилизация формы */
.modal-content .wpcf7-form {
  margin-top: 20px;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 14px;
}

.modal-content input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 15px 0;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: 0.3s;
}

.modal-content input[type="submit"]:hover {
  background-color: #45a049;
}
/* Обертка для полей с отступом под ошибки */
.modal-content .wpcf7-form-control-wrap {
  position: relative;
  display: block;
  margin-bottom: 25px; /* Отступ под ошибку */
}

/* Предупреждения под полями */
.modal-content .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 3px;
  font-size: 12px;
  color: #dc3232;
  width: 100%;
}

/* Общие предупреждения формы наверх */
.modal-content .wpcf7-response-output {
  order: -1;
  margin-bottom: 20px;
  margin-top: 0;
}

.modal-content .wpcf7-form {
  display: flex;
  flex-direction: column;
}

/* Убрать дефолтные отступы у полей */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content textarea {
  margin: 0;
}

/* Спиннер по центру */
.modal-content .wpcf7-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.modal-content .wpcf7-submit {
  position: relative;
}

/* Красивое уведомление об успехе */
.success-notification {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #66ea78 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: top 0.5s ease;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
}

.success-notification.show {
  top: 30px;
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}
.success-text {
  flex: 1;
}

/* ============================================
   МЕДИА-ЗАПРОСЫ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
   ============================================ */

/* Планшеты и маленькие ноутбуки */
@media screen and (max-width: 1024px) {
  .section {
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .tabs {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .group-table {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .price-list, .dop {
    min-width: 100%;
  }
}

/* Планшеты в портретной ориентации */
@media screen and (max-width: 768px) {
  /* Хедер */
  .header-plate {
    height: auto;
    padding: 0.5rem;
  }

  .glass-specular, .glass-overlay{
    border-radius: 3rem;
  }
  .navigation {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .navigation li {
    width: 100%;
    text-align: center;
  }

  /* Секция 1 */
  .header-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .logo {
    font-size: 6rem;
  }

  .section-1 h1 {
    font-size: 2rem;
    text-align: center;
  }

  .section-1 h2 {
    font-size: 1.1rem;
    text-align: center;
  }

  .section-1 p {
    font-size: 1rem;
    padding: 1rem;
  }

  /* Табы */
  .tabs {
    padding: 0.5rem;
  }

  .tab {
    padding: 1rem;
  }

  .tab h3 {
    font-size: 1.2rem;
  }

  .tab > ul li {
    padding: 0.6rem;
    padding-left: 2rem;
    font-size: 0.9rem;
  }

  /* Таблицы */
  table {
    font-size: 0.85rem;
  }

  caption {
    font-size: 1.3rem;
    padding: 1rem;
  }

  thead th {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  tbody th {
    padding: 0.6rem 1rem;
  }

  /* Кнопки */
  .btn-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .btn-consultaciya,
  .btn-zvonok {
    width: 100%;
    font-size: 1.1rem;
  }

  /* Контакты */
  .contacts {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .icon svg {
    width: 35px;
    height: 35px;
  }

  /* Альбом */
  .album {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
  }

  /* Футер */
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-bottom: 1rem;
  }

  footer ul {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }

  .success-notification {
    width: 90%;
    max-width: calc(100% - 40px);
    padding: 15px 20px;
    font-size: 14px;
  }

  .success-notification.show {
    top: 20px; /* Меньший отступ сверху на мобильных */
  }

  .success-icon {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

}


/* Мобильные телефоны */
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .section-1, .section-2 {
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 16px;
  }

  /* Хедер */
  .header-plate {
    border-radius: 2rem;
  }

  .glass-container {
    border-radius: 1rem;
  }

  .navigation {
    font-size: 0.85rem;
    gap: 0.3rem;
  }

  /* Лого */
  .logo {
    font-size: 4rem;
  }

  /* Заголовки */
  .section-1 h1 {
    font-size: 1.5rem;
  }

  .section-1 h2,
  .section-2 h2 {
    font-size: 1rem;
  }

  #more, #uslugi {
    font-size: 1.3rem;
  }

  /* Параграфы */
  .section-1 p,
  .s2-grp,
  .s2-grp-2 {
    font-size: 0.9rem;
    padding: 1rem;
    border-radius: 12px;
  }

  /* Табы */
  .tab {
    padding: 0.75rem;
    border-radius: 12px;
  }

  .tab h3 {
    font-size: 1.1rem;
  }

  .tab > ul {
    gap: 0.5rem;
  }

  .tab > ul li {
    padding: 0.5rem;
    padding-left: 1.8rem;
    font-size: 0.85rem;
  }

  .tab > ul li::before {
    left: 0.6rem;
    font-size: 1rem;
  }

  /* Таблицы */
  .group-table {
    padding: 0.5rem;
  }

  table {
    font-size: 0.75rem;
  }

  caption {
    font-size: 1.1rem;
    padding: 0.75rem;
  }

  thead th {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  tbody th {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
  }

  tbody tr:first-child th {
    font-size: 0.8rem;
    padding: 1rem 0.5rem;
  }

  /* Кнопки */
  .btn-consultaciya,
  .btn-zvonok {
    font-size: 1rem;
    padding: 0.8rem;
  }

  /* Контакты */
  .contacts {
    gap: 1rem;
  }

  .icon svg {
    width: 30px;
    height: 30px;
  }

  /* Альбом */
  .album {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Модальное окно с изображением */
  .image-fullsize {
    padding: 0.5rem;
  }

  .image-fullsize[data-zoom="fit"] img {
    max-width: 100%;
    max-height: 80vh;
  }

  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }

  /* Футер */
  footer {
    padding: 0.75rem;
    border-radius: 0.5rem 0.5rem 0 0;
  }

  footer ul {
    font-size: 0.85rem;
  }
}

/* Очень маленькие экраны */
@media screen and (max-width: 360px) {
  .section-1 h1 {
    font-size: 1.3rem;
  }

  .logo {
    font-size: 3rem;
  }

  .btn-consultaciya,
  .btn-zvonok {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  table {
    font-size: 0.7rem;
  }
}