:root {
  /* --pico-font-family: "Lora", serif; */
  /* --pico-color: #c9cfdb; */
  --pico-line-height: 1.4;
}


body {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  /* background-color: rgb(26 28 33); */
  /* background-color: #0a0a03; */
  overflow-x: hidden;
}
h1,h2,h3,h4,h5{
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;

  
}

main.container {
  padding-top: 0;
  max-width: 980px
}
body>header.container {
  max-width: 980px
}

#main img  {
    border: 5px solid #ebebeb;
    border-radius: 20px;
}

*{
  transition: 0.3s all ease-in-out;
}

[data-aos] {
  opacity: 0 !important;
  transition-property: transform, opacity !important;
  transition-timing-function: ease-out !important;
  transition-duration: 0.8s !important;
  will-change: transform, opacity !important;
}
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
}



.full-width {
  width: 100vw;
  /* 100% от ширины окна */
  position: relative;
  /* чтобы не сдвигался при скролле */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* background-color: #222; */
  /* для наглядности */
  /* padding: 1rem 1.1rem; */
  display: flex;
  justify-content: center
}

.full-width img {
  /* max-width: 1920px; */
  max-height: 80vh;
}

a:link,
a:visited {
  color: var(--pico-ins-color);
}

.logo {
  /* filter: invert(1); */
}

.logo img {
  width: 500px;
  max-width: 100%;
}

body>header {
  display: flex;
  margin-top: 40px;
}

nav>ul {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: auto !important;
}

nav>ul li {
  margin-left: auto
}

body>header>* {
  flex: 1 1 50%;
}
@media (max-width: 768px) {
body > header{
  /* text-align: center */
}
}
@media (min-width: 768px) {
body > header p{
  max-width: 30em;
}
}

.fly-header {
  width: auto;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  background: #0a0a03;
  border-radius: 270px;
  padding: 10px 30px 10px 30px;
}

.fly-header>* {
  flex: unset;
}

.fly-header .logo img {
  width: 290px;
  max-width: 100%;
}

.fly-header hgroup {
  margin-bottom: 0
}

.text-block {
  max-width: 46em;
}

.gradient-text {
  background: linear-gradient(90deg, #f9eab2,
      /* нежно-розовый */
      #d6e6fd,
      /* небесно-голубой */
      #ebd6f6
      /* пастельный зелёный */
    );
  background: linear-gradient(90deg, #f1d97a,
      /* нежно-розовый */
      #6e95cd,
      /* небесно-голубой */
      #cf98eb
      /* пастельный зелёный */
    );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery a:after{
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'><path d='M32 16C20 16 10.7 26 8 32C10.7 38 20 48 32 48C44 48 53.3 38 56 32C53.3 26 44 16 32 16Z' stroke='black' stroke-width='1' fill='none' opacity='0.1'/><circle cx='32' cy='32' r='6' stroke='black' stroke-width='1' fill='none'  opacity='0.1'/></svg>") no-repeat center center;
  background-size: contain;
  content: ' ';
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  position: absolute;
  opacity: 0.9;
}
.gallery a{
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgb(0 0 0 / 10%);
    position: relative;
    overflow: hidden;
    position: relative
}

.gallery a img {
  max-width: 200px;
  /* border: 2px solid #ccc; */
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery a img:hover,
.gallery  a:hover::after {
  transform: scale(1.05);
  border-color: #999;
}


.responsive-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

@media (max-width: 768px) {

  .responsive-table th,
  .responsive-table td {
    font-size: 14px;
    padding: 6px;
  }
}


.price-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .price-cards {
    justify-content: center;
  }
}

.price-card {
  background-size: cover;
  background-position: center;
  color: white;
  width: 290px;
  padding: 20px;
  border-radius: 20px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); */
  /* box-shadow: 0 10px 25px rgb(0 0 0 / 10%); */
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.45); */
  /* background: rgb(255 251 239 / 45%); */
  background: rgb(255 254 253 / 95%);
  z-index: 0;
}

.price-card-content {
  position: relative;
  z-index: 1;
}

.price-card h4 {
  margin: 0 0 10px;
  font-size: 20px;
}

.price-card p {
  margin: 0;
  font-size: 16px;
}

.price-card-grow{
  flex-grow: 1;
  max-width: 620px;
}

.bg-cornflowerblue{
  background-color: cornflowerblue;
  margin: auto;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.contact-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #222;
  background: rgb(255 254 253 / 95%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease-in-out;
  z-index: 1;
}

.contact-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgb(255 251 239 / 45%);
  z-index: -1;
  transition: background 0.3s ease;
}
.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  z-index: 1;
  display: block;
}
.contact-btn.telegram svg{
  width: 18px;
  height: 18px;
}
.contact-btn.whatsapp svg{
  width: 19px;
  height: 19px;
}


.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon {
  width: auto;
  height: 20px;
  flex-shrink: 0;
}

.payment-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-right: 15px;
}

.payment-icons img {
  height: 26px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
  flex-shrink: 1;
}

.payment-icons img:hover {
  transform: scale(1.3);
}
