.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 40px;
  }
  
  .card-border{
    padding: 20px;
    border: 1px solid #f0ad2f;
  }
  
  .cardd {
    padding: 15px;
    border: 1px solid #f0ad2f;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }
  
  .cardd:hover {
    transform: translateY(-5px);
  }
  
  .cardd img {
    width: 100%;
    object-fit: cover;
  }
  
  .cardd h3 {
  
    color:#000;
  
  }
  
  .card p {
    font-size: 14px;
    margin: 0 16px 16px;
    flex-grow: 1;
    color: #555;
  }
  
  .card button {
    margin: 0 16px 16px;
    padding: 10px;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s ease;
  }
  
  .card button:hover {
    background-color: #005fa3;
  }
  
  
  
  table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  thead {
    background-color: #f0ad2f;
    color: white;
    font-weight: bold;
    text-align: center;
  }
  th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 23px;
  }
  tbody tr:nth-child(even) {
    background-color: #fdf4e3;
  }
  tbody tr:hover {
    background-color: #fce9c7;
  }
  .note {
    margin-top: 15px;
    font-style: italic;
    background-color: #fff8e1;
    padding: 10px;
    border-left: 5px solid #f0ad2f;
  }
  
  
  .price-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .price-card {
    /* background-color: #fff8f0; */
    background: transparent;
    border: 1px solid #f4a300;
    padding: 16px 20px;
    box-shadow: 2.5px 25px 145px -40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  
  .card-number {
    background-color: #f4a300;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }
  
  .number-p{
    color:#000;
    font-size: 20px;
  }
  
  .btnn{
      display: inline-block;
      vertical-align: top;
      font-size: 13px;
      font-weight: 700;
      line-height: 17px;
      text-transform: uppercase;
      padding: 0 10px;
      letter-spacing: 0.6px;
  }
  
  .btnn p{
    color:#fff;
  }
  
  .wrap-rev{
    width: 80px;
    display: flex
  ;
    height: 80px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #f4a300;
    margin: 0 auto;
  }
  /* подсветка при наведении */
.wrap-rev:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(244, 163, 0, 0.8);
}

/* "пульсация", чтобы привлекало внимание */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 163, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(244, 163, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 163, 0, 0);
    }
}

.wrap-rev {
    animation: pulse 2s infinite;
}
  .mob{
    height: 60px;
    width: 60px;
  }
  
  
  #scrollToTop {
    position: fixed;
    top: 90%;
    left:50%;
    transform: translateY(-50%);
    z-index: 9999;
  
    width: 50px;
    height: 50px;
    background-color: #000; /* черный фон */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
  
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
  
  }
  
  #scrollToTop:hover {
    background-color: #333;
  }
  
  
  @media (max-width: 550px) {
    #scrollToTop{
      left: 45%;
    }
    .card-container {
      grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
      
    }
    .btn-big {
      font-size: 18px;
    }
  }
  
  
  #foto{
    padding: 50px 0 100px 0;
    background-image: url("../imgk/line-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  
  .work-gallery {
    display: flex;
    flex-direction: column;
  /*   gap: 30px; */
    max-width: 1200px;
    margin: 0 auto;
   
   
  }
  
  .work-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  /*   gap: 20px; */
    align-items: stretch;
  }
  
  
  .work-block {
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .work-block.image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  .work-block-text {
    position: relative;
    padding: 15px;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .work-block-text::before{
    content: "";
    height: 100%;
    width: 100%;
    background-color: #f4a300;
    position: absolute;
    top: 0;
    z-index: -5;
  }
  
  .work-block-text p {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
  }
  
  
  /* Адаптив */
  @media (max-width: 768px) {
    .work-row {
      grid-template-columns: 1fr;
    }
    .work-row.reverse{
      display: flex;
      flex-direction: column-reverse;
    }
  }
  .block-footer{
    display: flex; justify-content: center; align-items: center;
  }
  
  .block-footer-mob{
    display: none; flex-direction: column;justify-content: center; align-items: center;
  }
  
  @media (max-width: 768px) {
    .block-footer-mob{
      display: flex;
    }
    .block-footer{
      display: none;
    }
  }
  
  
  
  .popupp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  /* Само модальное окно */
  .popupp {
    background: #fff;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin: 10% auto;
  }
  
  /* Закрыть */
  .close-popupp {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Форма */
  .popupp form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .popupp input,
  .popupp textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
  }
  
  .popupp button[type="submit"] {
    background: linear-gradient(to right, #eaa50e, #d98c05);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  
  .well-drilling {
    padding: 50px 0;
  }
  
  .well-drilling .wrapper {
    display: flex;
    align-items: center;
    
    flex-wrap: wrap; /* на маленьких экранах в колонку */
  }
  
  .well-drilling__image img {
    width: 40%;
  
  }
  
  .well-drilling__image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .well-drilling__content {
    flex: 1;
    /* min-width: 300px; */
  }
  
  .well-drilling__content h2 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 5px;
    color:#fff;
  }
  
  .well-drilling__content h3 {
    font-size: 25px;
    font-weight: 400;
    margin: 0 0 15px;
     color:#f1ad11;
     padding: 0px;
  }
  
  .separator {
    display: block;
    width: 50px;
    height: 2px;
    background: #37b6db;
    margin-bottom: 20px;
  }
  
  .well-drilling__content p {
    font-size: 25px;

    color: #fff;
    line-height: 1.6;
  }
  
  .well-drilling__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .well-drilling__links a {
    text-decoration: none;
    color: #f1ad11;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
  }
  
  .well-drilling__links a::before {
    content: '›';
    margin-right: 5px;
    color: #f1ad11;
  }
  
  .well-drilling__links a:hover {
    color:white;
  }
  
  .type-asseni{
    padding: 100px 0 50px 0;
    background-image: url(../imgk/line-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  /* Адаптив */
  @media (max-width: 992px) {
    .well-drilling .container {
      flex-direction: column;
      text-align: center;
    }
    .separator {
      margin: 0 auto 20px;
    }
    .well-drilling__links {
      justify-content: center;
    }
  }
  
  
  @media (max-width: 768px) {
    .well-drilling__image img {
      
      display: none;
    }
  
    .well-drilling__content {
      text-align: center;
  
  }
  
  .well-drilling__content h2 {
    font-size: 40px;
  
  }
  
  .well-drilling__content p {
    font-size: 15px;
    margin-bottom: 0px;
    padding: 0px;
    
  
  }
  
  .well-drilling__links {
    margin-top: 10px;
    gap: 10px;
  }
  
  .asseni{
    padding-top: 0px;
  }
  .type-asseni{
    padding: 50px 0;
  }
  .asseni-title{
    padding-bottom: 50px;
  }
  }
  
  
  .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease-out;
  }
  
  .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
      height: fit-content;
  }
  
  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }
  .delay-5 { transition-delay: 0.5s; }
  .delay-6 { transition-delay: 0.6s; }
  .delay-7 { transition-delay: 0.7s; }
  
  .container-sidebar{
    width: 100%;
    display: flex;
    gap:20px;
  }
  
  .sidebar {
    border: 1px solid #ddd;
    padding: 0;
    width: 30%;
  }
  .sidebar button {
    display: block;
    width: 100%;
    padding: 25px 15px;
    background: none;
    border: none;
    text-align: left;
    font-size: 20px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    transition: 0.3s;
    color: #000;
    font-family: "Akrobat", sans-serif;
  
  }
  .sidebar button.active{
    color: #fff;
  }
.sidebar button.active {
    background: #f1ad11;
    color: #fff;
  }
  /* Контент */
  .contenttt {
    width: 65%;
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
  }
  .contenttt img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }
  /* Адаптив */
  
  
  
  .burenie-asseni{
    padding: 100px 0;
  }
  
  .asseni-title-bur
  {
    padding: 20px 25px 50px 25px;
  }
  
  
  @media (max-width: 768px) {
    .container-sidebar {
        flex-direction: column;
    }
    .sidebar {
      width: 100%;
    }
    .contenttt {
      width: 100%;
    }
    .box-callbak.bur-item {
      top: 400px;
    }
    .asseni-title-bur{
      padding: 50px 25px 50px 25px;
    }
  }
  
  .faq{
    padding: 20px 0 100px 0;
  }
  .asseni-title-faq{
    padding: 50px 25px 50px 25px;
  }
  
  .accordion {
    width: 80%;
    margin: auto;
  }
  
  .accordion-item {
    background: white;
    border: 1px solid #eee;
    
    margin-bottom: 10px;
    overflow: hidden;
  }
  
  .accordion-header {
    background: white;
    padding: 20px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
  }
  
  .accordion-header.active {
    background: #f1ad11;
    color: #fff;
  }
  
  .accordion-content {
    display: none;
    padding: 20px;
    background: #f5f5f5;
    font-size: 21px;
  }
  
  .icon {
    font-size: 18px;
    color: #000;
  }
  
  @media (max-width: 768px) {
    .faq{
      padding: 20px 0 0 0;
    }
    .accordion {
      width: 100%;
      margin: auto;
    }
  }


  .water-section {
    text-align: center;
    padding: 40px 20px;
  }
  
  .water-section h2 {
    font-size: 28px;
    margin-bottom: 5px;
  }
  
  
  .wells {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .well {
    flex: 1 1 250px;
    max-width: 300px;
    position: relative;
  }
  
  .depth {
    display: block;
    font-size: 60px;
    color: #f19611;
    font-weight: bold;
    margin-bottom: 10px;
    position: absolute;
    top: -38px;
    z-index: -10;
  }
  
  .well-img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
  }
  
  .info-blocks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
  }
  
  .info-card {
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border-radius: 10px;
    flex: 1 1 250px;
    max-width: 400px;
    text-align: left;
  }
  
  .info-card h4 {
    margin-bottom: 15px;
  }
  
  .info-card ul {
    padding-left: 20px;
  }
  
  .info-card li {
    margin-bottom: 8px;
  }

  .well h3,  .well p {
    text-align: center;
  }
  
  @media (max-width: 768px) {
    .wells {
      flex-direction: column;
      align-items: center;
    }
  }


  .burenie-title{
    text-align: center;
    padding-top: 100px;
  }

  .burenie-subtitle{
    text-align: center;
    color: #777;
    margin-bottom: 40px;
    font-size: 23px;
    line-height: 27px;
    color: #656565;
    padding: 15px 0 15px 0;
    font-weight: 400;
  }

  .header-logo{
    display: block;
    width: 100%;
  }

  .header-logo img{
    height: 90px;
  }


  @media (max-width: 768px) {
    .header-logo img{
      height: 70px;
    }

  }


  .list-wrapper {
    display: flex;
    gap: 40px; /* расстояние между колонками */
    flex-wrap: wrap; /* чтобы на маленьких экранах колонки вставали друг под друга */
  }
  .list-wrapper ul {
    color:#fff;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1; /* чтобы колонки были одинаковой ширины */
  }
  .list-wrapper li {
    display: flex;
    padding-left: 35px;
    margin-bottom: 15px;
    position: relative;
    justify-content: start;
    text-align: start;
  }
  .list-wrapper i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #f19611; /* фирменный цвет */
  }


  @media (max-width: 768px) {
    .list-wrapper {
      flex-direction: column; /* колонки в один столбец */
      gap: 20px; /* можно уменьшить расстояние */
    }
    .well-drilling {
      padding: 20px 0;
    }
  }



.region {
  padding: 40px 20px;
  background-color: #f9f9f9;
}


.regions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.regions-list a {
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: background-color 0.3s, color 0.3s;
}

.regions-list a:hover {
  background-color: #f4a300;
  color: #fff;
}

/* Планшеты и мобильные — грид */
@media (max-width: 1024px) {
  .regions-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .regions-list a {
    flex: none;
    padding: 6px 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .regions-list a {
    padding: 4px 6px;
    font-size: 0.85rem;
  }
}