<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Title");
?>
  
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: #fff;
  }
  
 .num__call {
  font-size: 18px;
  padding-top: 15px;
  color: #E31E24;
 }

 .num__call2 {
  font-size: 18px;
 }
  
  .contact-blocks {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-wrap: wrap;
  }
  
  .contact-card {
    flex: 1 1 200px;
    text-align: center;
  }

  .contact__text {
    display: flex;
  }

  .icon__text {
    width: 25px;
    height: 25px;
    text-align: left;
    margin-right: 6px;
  }


  .setting__text {
    display: block;
  }

  .textp {
    padding-left: 20px;
  } 
  
  .contact-card .circle {
    width: 80px;
    height: 80px;
    margin: 10px auto;
    border-radius: 50%;
    background: #fff;
  }

  .img-social {
    width: 25px;
    height: 25px;
    margin-top: 15px;
    margin-right: 10px;
  }
  
  .columns {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
  }
  
  .columns > div {
    flex: 1;
  }
  
  /* Основные стили */
.contacts-container {
  width: 100%;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.contacts-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.contacts-header {
  text-align: left;
  padding: 15px;
  font-size: 18px;
  background-color: #ffffff;
  color: #333;
}

.contact-cell {
  vertical-align: top;
  padding: 15px;
  border: 1px solid #eaeaea;
  width: 50%;
}

.department-name {
  display: block;
  margin-bottom: 10px;
  color: #2c3e50;
  font-size: 16px;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.contact-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.contact-link {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .contacts-table {
    display: block;
  }
  
  .contacts-table thead,
  .contacts-table tbody,
  .contacts-table tr,
  .contacts-table td {
    display: block;
    width: 100%;
  }
  
  .contacts-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .contact-cell {
    padding: 12px;
    border: none;
    border-bottom: 1px solid #eaeaea;
  }
  
  .contact-cell:last-child {
    border-bottom: none;
  }
  
  .contacts-header {
    text-align: center;
    font-size: 16px;
  }
  
  .department-name {
    font-size: 15px;
  }
  
  .contact-link {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact-cell {
    padding: 10px;
  }
  
  .department-name {
    font-size: 14px;
  }
  
  .contact-info {
    flex-wrap: wrap;
  }
  
  .contact-icon {
    width: 14px;
    height: 14px;
  }
}

  /*  */
  .contact-phone {
    margin-top: 10px;
  }
  
  a[href^="tel:"] {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
  }
  
  a[href^="tel:"]:hover {
    color: #0066cc;
  }
  
  @media (max-width: 768px) {
    .contact-blocks {
      display: flex;
      align-items: flex-start;
      flex-wrap: wrap;
      height: 100%;
      gap: 30px;
    }
  
    .columns {
      flex-direction: column;
      gap: 20px;
    }
  

    .contact-card .circle {
      width: 40px;
      height: 40px;
    }

    table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
    }

    .social-img {
      display: flex;
      flex-direction: row;
    }
  
    .title__contact {
      font-size: 18px;
    }

    .contact__subtext {
      padding-left: 15px;
      font-size: 14px;
    }



    .table__th,
    .table__td {
      padding: 8px;
    }
  
    .contact-card {
      display: flex;
      width: 100%;
      min-width: 150px;
      max-width: 200px;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .contact__text {
      flex-direction: row;
      align-items: flex-start;
      margin-top: 15px;
    }
  
    .img-social {
      margin-top: 5px;
    }
  
    .setting__text p {
      margin: 2px 0;
    }
  
    .num__call, .num__call2 {
      padding-left: 20px;
      font-size: 16px;
    }
  
    h3 {
      font-size: 20px;
    }
  
    p, a {
      font-size: 16px;
    }
  }<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>