body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #ffffff;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: clamp(640px, 80vw, 1200px);
  padding: 0 20px;
  box-sizing: border-box;
}

/* Блок интро (верхняя часть страницы) */
.intro {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 10px;
  box-sizing: border-box;
}

/* Левая часть — фото */
.intro-left {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 400px;
  display: flex;
  justify-content: center;
  margin: 20px;
  max-width: 100%;
}

.intro-left img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Правая часть — текст */
.intro-right {
  flex: 1 1 400px;
  padding: 50px 40px;
  box-sizing: border-box;
}

.intro-right h1 {
  font-size: 40px;
  font-weight: 750;
  margin-bottom: 10px;
}

.intro-right h2 {
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 35px;
  color: gray;
}

.intro-right p {
  font-size: 20px;
  font-weight: normal;
  margin: 5px 0;
}

.intro-right a {
  outline: none;
  text-decoration: none;
  padding: 2px 1px 0;
  margin-top: 20px;
  display: inline-block;
  color: #63DE05;
  font-family: Arial, Helvetica, sans-serif;
  font-size: larger;
  font-weight: bolder;
  position: relative;
  padding-right: 25px;
}

.intro-right a::after {
  content: "→";
  position: absolute;
  right: 0;
  transform: translateY(-10%);
  transition: transform 0.3s ease;
}

.intro-right a:link {
  color: #437a16;
}

.intro-right a:hover::after {
  transform: translate(5px, -10%);
}

/* ====== Блок с описанием ====== */
.about {  
  font-size: 25px;
  font-family: 'Manrope', Arial, sans-serif;
  letter-spacing: 0.7px;
  word-spacing: 0.5px;
  color: #000000;
  line-height: 1.6;
  margin-top: -1px;
  height: auto;
  background-color: #ffffff;
}

.abouts{
  padding: 90px 20px 45px;
  margin: 0 auto;
  font-weight: 300;
  max-width: 1200px;
  box-sizing: border-box;
}

.abouts p{
  margin: 0 auto;
  max-width: 760px;
  font-weight: 300;
  opacity: 0.8;
  color: #0f0000;
}

/* ====== Кнопка приглашения ====== */
.blog{
  padding: 90px 0;
  width: auto;
  box-sizing: border-box;
  white-space: normal;
}

.blog1 {
  background-color: #1f5bff;
  color: white;
  text-align: center;
}

.blog a {
  color: white;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  display: block;
  padding: 55px 90px;
  position: relative;
  box-sizing: border-box;
}

.blog a::after {
  display: inline-block;
  content: " →";
  padding-left: 10px;
  position: absolute;
  transform: translateY(-25%);
  font-size: 50px;
  font-weight: bold;
}

/* ===== Текстовый блок ===== */
.work {
  font-size: 20px;
  font-weight: 300;
  font-family: 'Manrope', Arial, sans-serif;
  text-align: left;
  line-height: 1.5;
}

.works {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.works p{
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
}

.works ul {
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  list-style-position: inside;
  margin-bottom: 90px;
}

.works li {
  position: relative;
  padding-left: 0;
}

.works li::marker {
  font-size: 15px;
  text-align: center;
  position: absolute;
  left: 0;
}

/* ===== Виды услуг ===== */
.services {
  font-family: 'Manrope', Arial, sans-serif;
  background-color: #f2f2f2;
  padding: 100px 0;
  text-align: center;
}

.services p {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.services ul {
  font-weight: 300;
  list-style: none;
  margin: 0 auto;
  max-width: 700px;
  text-align: left;
  padding: 0 20px;
  box-sizing: border-box;
}

.services li {
  position: relative;
  font-size: 20px;
  color: #111;
  margin-bottom: 18px;
  padding-left: 50px;
  line-height: 1.7;
}

.services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #368c17;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Стоимость консультации ===== */
.price {
  font-family: 'Manrope', Arial, sans-serif;
  background-color: #fff;
  text-align: center;
  padding: 100px 0;
}

.price h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.price > p {
  font-size: 18px;
  color: #555;
  margin-bottom: 60px;
  padding: 0 20px;
}

.price-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.price-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 40px 30px;
  flex: 1 1 300px;
  max-width: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.price-card p {
  font-size: 18px;
  color: #555;
  margin: 10px 0;
}

.price-card h4 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin: 20px 0 25px;
}

.btn.green {
  display: inline-block;
  background-color: #368c17;
  color: #fff;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn.green:hover {
  background-color: #256b25;
}

.reviews {
  font-family: 'Manrope', Arial, sans-serif;
  background-color: #ffffff;
  padding: 80px 0;
}

.reviews-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-title {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.review-message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

/* Отзывы слева */
.left-aligned {
  justify-content: flex-start;
}

.left-aligned .message-avatar {
  margin-right: 20px;
  margin-left: 0;
}

.left-aligned .message-bubble::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid rgb(255, 255, 255);
}

.left-aligned .message-bubble::after {
  content: '';
  position: absolute;
  left: -13px;
  top: 19px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-right: 13px solid #ffffff;
  z-index: -1;
}

/* Отзывы справа */
.right-aligned {
  justify-content: flex-end;
}

.right-aligned .message-avatar {
  margin-left: 20px;
  margin-right: 0;
  order: 2;
}

.right-aligned .message-bubble {
  order: 1;
}

.right-aligned .message-bubble::before {
  content: '';
  position: absolute;
  right: -12px;
  left: auto;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid rgb(255, 255, 255);
  border-right: none;
}

.right-aligned .message-bubble::after {
  content: '';
  position: absolute;
  right: -13px;
  left: auto;
  top: 19px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 13px solid #ffffff;
  border-right: none;
  z-index: -1;
}

.message-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-bubble {
  background: white;
  border-radius: 20px;
  padding: 25px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  position: relative;
  max-width: 600px;
  flex: 1;
}

.message-header {
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.reviewer-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.message-content {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.message-content p {
  margin: 0 0 15px 0;
}

.message-content p:last-child {
  margin-bottom: 0;
}

footer {
  background: #f2f2f2;
  text-align: center;
  padding: 60px 20px;
  font-family: 'Manrope', Arial, sans-serif;
  letter-spacing: -0.5px;
}

.footer-container {
  max-width: 500px;
  margin: 0 auto;
}

.footer-contact-text {
  font-size: 15px;
  color: #111;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.4;
}

.contact-info {
  margin-bottom: 35px;
}

.phone-number {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.name {
  font-size: 30px;
  color: #111;
  margin: 5%;
}

.btn.tg {
  background: #368c17;
  color: white;
  text-decoration: none;
  padding: 16px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(54, 140, 23, 0.3);
  width: 50px;
  height: 50px;
}

.btn.tg:hover {
  background: #368c17;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 140, 23, 0.4);
}

.tg-icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}
.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 14px;
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Планшеты и небольшие ноутбуки (768px - 1024px) */
@media (max-width: 1024px) {
  .intro {
    margin: 40px auto;
  }
  
  .intro-right {
    padding: 30px 25px;
  }
  
  .intro-right h1 {
    font-size: 34px;
  }
  
  .abouts, .works {
    padding-left: 100px;
    padding-right: 100px;
  }
  
  .services ul {
    margin-left: 0;
  }
}

/* Планшеты (768px и меньше) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .intro {
    margin: 30px auto;
    padding: 15px;
  }
  
  .intro-left, .intro-right {
    flex-basis: 100%;
    margin: 10px 0;
  }
  
  .intro-right {
    padding: 20px 15px;
  }
  
  .intro-right h1 {
    font-size: 28px;
  }
  
  .intro-right h2 {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .intro-right p {
    font-size: 18px;
  }
  
  .intro-right a {
    font-size: 18px;
  }
  
  .about {
    font-size: 22px;
  }
  
  .abouts {
    padding: 60px 20px 30px;
  }
  
  .abouts p {
    width: 100%;
  }
  
  .blog {
    padding: 60px 0;
  }
  
  .blog a {
    font-size: 24px;
    padding: 40px 20px;
  }
  
  .blog a::after {
    font-size: 60px;
    transform: translateY(-35%);
  }
  
  .work {
    font-size: 18px;
  }
  
  .works p, .works ul {
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .services {
    padding: 70px 0;
  }
  
  .services p {
    font-size: 32px;
  }
  
  .services li {
    font-size: 18px;
    padding-left: 40px;
  }
  
  .services li::before {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  
  .price {
    padding: 70px 0;
  }
  
  .price h2 {
    font-size: 30px;
  }
  
  .price > p {
    font-size: 16px;
  }
  
  .price-card {
    padding: 30px 20px;
  }
  
  .price-card h4 {
    font-size: 28px;
  }
  
  .reviews {
    padding: 70px 0;
  }
  
  .reviews h2 {
    font-size: 30px;
    margin-bottom: 40px;
  }
  
  .review {
    padding: 30px 25px;
    margin: 0 20px 60px;
  }
  
  .review::before {
    left: -50px;
    width: 70px;
    height: 70px;
  }
}

/* Мобильные устройства (480px и меньше) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .intro {
    margin: 20px auto;
    border-radius: 8px;
  }
  
  .intro-right h1 {
    font-size: 24px;
  }
  
  .intro-right p {
    font-size: 16px;
  }
  
  .intro-right a {
    font-size: 16px;
  }
  
  .about {
    font-size: 20px;
  }
  
  .abouts {
    padding: 40px 15px 20px;
  }
  
  .blog {
    padding: 40px 0;
  }
  
  .blog a {
    font-size: 20px;
    padding: 30px 20px;
    font-size: 20px;      
    padding: 25px 50px;    
    white-space: normal;
  }
  
  .blog a::after {
    font-size: 60px;
    font-size: 35px;       
    transform: translateY(-25%);
  }
  
  .work {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .works {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .works p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
  }

  .works ul {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
  }

  .works li {
    padding-left: 0 !important;
  }
  
  .services {
    padding: 50px 0;
  }
  
  .services p {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .services li {
    font-size: 16px;
    padding-left: 35px;
    margin-bottom: 15px;
  }
  
  .services li::before {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
  
  .price {
    padding: 50px 0;
  }
  
  .price h2 {
    font-size: 26px;
  }
  
  .price > p {
    font-size: 15px;
    margin-bottom: 40px;
  }
  
  .price-container {
    gap: 25px;
  }
  
  .price-card {
    padding: 25px 15px;
  }
  
  .price-card h3 {
    font-size: 20px;
  }
  
  .price-card p {
    font-size: 16px;
  }
  
  .price-card h4 {
    font-size: 24px;
    margin: 15px 0 20px;
  }
  
  .btn.green {
    font-size: 14px;
    padding: 10px 20px;
  }
  
  
  .reviews {
    padding: 40px 0;
  }

  .reviews-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .review-message {
    margin-bottom: 25px;
  }

  .message-avatar {
    width: 45px;
    height: 45px;
  }

  .message-bubble {
    padding: 15px 18px;
    border-radius: 14px;
  }

  .left-aligned .message-bubble::before,
  .right-aligned .message-bubble::before {
    top: 15px;
    border-top-width: 8px;
    border-bottom-width: 8px;
  }

  .left-aligned .message-bubble::before {
    left: -8px;
    border-right-width: 8px;
  }

  .right-aligned .message-bubble::before {
    right: -8px;
    border-left-width: 8px;
  }

  .reviewer-name {
    font-size: 14px;
  }

  .message-content {
    font-size: 13px;
    line-height: 1.4;
  }
  .phone-number {
    font-size: 22px;
  }

  .name {
    font-size: 18px;
    margin: 2% 0;
  }

  .btn.tg {
    width: 34px;
    height: 34px;
    padding: 8px;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(54,140,23,0.25);
  }

  .tg-icon {
    width: 20px;
    height: 20px;
  }

  .footer-contact-text {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 11px;
    padding-top: 12px;
    margin-top: 12px;
  }
}

/* Очень маленькие экраны (320px и меньше) */
@media (max-width: 320px) {
  .intro-right h1 {
    font-size: 22px;
  }
  
  .blog a {
    font-size: 18px;
    padding: 25px 10px;
  }
  
  .services p {
    font-size: 22px;
  }
  
  .price h2 {
    font-size: 22px;
  }
}