


.faq-section{
margin-top:50px;
}

.faq-item{
background:#f8f8f8;
border-left:4px solid #0077cc;
padding:20px;
margin-bottom:15px;
border-radius:8px;
}

.faq-item h3{
margin-top:0;
color:#005fa3;
}








.back-home{
    max-width:850px;
    margin:20px auto 0;
    padding:0 40px;
}

.back-home a{
    display:inline-block;
    text-decoration:none;
    color:#005fa3;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

.back-home a:hover{
    color:#e02020;
    transform:translateX(-3px);
}




.photo-gallery{
display:flex;
justify-content:center;
gap:15px;
margin-bottom:30px;
flex-wrap:wrap;
}

.photo-gallery img{
width:220px;
height:300px;
object-fit:cover;
border-radius:10px;
box-shadow:0 2px 10px rgba(0,0,0,.15);
transition:.3s;
}

.photo-gallery img:hover{
transform:scale(1.03);
}


.photo-gallery img{
    width:220px;
    height:300px;
}




.blog-section{
margin:50px 0;
}

.blog-section h2{
text-align:center;
margin-bottom:30px;
}

.blog-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.blog-card{
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.blog-card img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}

.blog-card h3{
padding:15px;
margin:0;
}

.blog-card p{
padding:0 15px 15px;
}

.blog-card a{
display:inline-block;
padding:0 15px 15px;
font-weight:bold;
text-decoration:none;
}






.centered { text-align: center; }


.text-centered {
    text-align: center;
 font-size: 16px;        /* размер текста */
  font-weight: 700;       /* толщина (400 normal, 500 medium, 700 bold) */

}






/* ===== ОСНОВА ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  background: #f4f6f8;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== ГОРОД ===== */
.city {
  text-align: center;
  padding: 8px;
  font-size: 18px;
}

/* ===== НАВИГАЦИЯ ===== */
.main-nav {
  background: #0072ff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

/* ===== МЕНЮ ===== */
#nav-check {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  background: #fff;
  height: 3px;
  width: 26px;
  margin: 4px 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.2);
}

.nav-phone a {
  background: #ffcc00;
  color: #000;
  font-weight: 700;
  border-radius: 20px;
}

/* ===== МОБИЛЬНО ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0072ff;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #nav-check:checked ~ .nav-menu {
    max-height: 400px;
  }
}

/* ===== КОНТЕНТ ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 16px;
}

.hero {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.hero h1 {
  margin-top: 0;
}

.content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr;
  }
}

.post,
.sidebar {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
}

/* ===== ТАБЛИЦА ===== */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

th {
  background: #0072ff;
  color: #fff;
}

/* ===== ПОДВАЛ ===== */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* ===== КНОПКА ЗВОНКА ===== */
.phone-button{
    position: fixed;
    left: 70px;
    bottom: 90px;
    transform: translate(-50%, -50%);
    background:#e02020;
    border-radius:50%;
    width:55px;
    height:55px;
    color:#fff;
    text-align:center;
    line-height:55px;
    font-size:30px;
    z-index:9999;
    box-shadow:
      0 0 0 0 rgba(255,0,0,.6),
      0 0 0 0 rgba(255,153,0,.5),
      0 0 0 0 rgba(0,180,255,.4);
    animation:wave3 3s infinite;
}

.phone-button i{
    color:#fff;
    display:inline-block;
    animation:phone-vibrate 1.5s infinite;
    transform-origin:50% 50%;
}




/* Волна №1 */
.phone-button::before{
    content:"";
    position:absolute;
    inset:-10px;
    border:4px solid #ff0000;
    border-radius:50%;
    animation:wave1 3s infinite;
}

/* Волна №2 */
.phone-button::after{
    content:"";
    position:absolute;
    inset:-10px;
    border:4px solid #ff9900;
    border-radius:50%;
    animation:wave2 3s infinite;
}

/* Волна №1 */
.phone-button::before{
    content:"";
    position:absolute;
    inset:-10px;
    border:4px solid #ff0000;
    border-radius:50%;
    animation:wave1 3s infinite;
}

/* Волна №2 */
.phone-button::after{
    content:"";
    position:absolute;
    inset:-10px;
    border:4px solid #ff9900;
    border-radius:50%;
    animation:wave2 3s infinite;
}





@keyframes wave3{
    0%{
        box-shadow:
        0 0 0 0 rgba(255,0,0,.7),
        0 0 0 0 rgba(255,153,0,.6),
        0 0 0 0 rgba(0,180,255,.5);
    }

    70%{
        box-shadow:
        0 0 0 25px rgba(255,0,0,0),
        0 0 0 45px rgba(255,153,0,0),
        0 0 0 65px rgba(0,180,255,0);
    }

    100%{
        box-shadow:
        0 0 0 0 rgba(255,0,0,0),
        0 0 0 0 rgba(255,153,0,0),
        0 0 0 0 rgba(0,180,255,0);
    }
}

@keyframes phone-vibrate {

    0%,100%{
        transform:rotate(0deg);
    }

    5%{
        transform:rotate(-12deg);
    }

    10%{
        transform:rotate(12deg);
    }

    15%{
        transform:rotate(-10deg);
    }

    20%{
        transform:rotate(10deg);
    }

    25%{
        transform:rotate(-6deg);
    }

    30%{
        transform:rotate(6deg);
    }

    35%{
        transform:rotate(0deg);
    }

    100%{
        transform:rotate(0deg);
    }
}


