* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.icon, .benefit-icon, .info-icon {
    filter: grayscale(100%);
}

header nav ul li a {
  font-size: 19px;
}

.author {
  font-size: 10px;
  color: #999;
  font-style: italic;
}

.author-link {
  color: #666;
  text-decoration: none;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 1px;
  transition: all 0.3s ease;
  font-style: italic;
}

.author-link:hover {
  color: #0088cc;
  border-bottom-color: #0088cc;
  border-bottom-style: solid;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 20%),
    radial-gradient(circle at 85% 30%, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 25%),
    linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      45deg,
      rgba(0, 144, 255, 0.03) 0px,
      rgba(0, 144, 255, 0.03) 1px,
      transparent 1px,
      transparent 11px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 144, 255, 0.03) 0px,
      rgba(0, 144, 255, 0.03) 1px,
      transparent 1px,
      transparent 11px
    );
  pointer-events: none;
  z-index: -1;
}

/* ===== HEADER STYLES ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  padding-top: 20px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-bottom: -20px;
  margin-top: -10px;
}

/* Logo Styles */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0px;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-image {
  height: 80px;
  width: auto;
}

.logo-text {
  text-align: center;
  margin-top: 5px;
}

.logo-line-1 {
  font-size: 15px;
  font-weight: 100;
  letter-spacing: 1.5px;
  color: black;
  line-height: 1.2;
}

.logo-line-2 {
  font-size: 16px;
  font-weight: 100;
  letter-spacing: 4px;
  color: black;
  line-height: 1.2;
  margin-top: 2px;
}

.logo-divider {
  width: 100%;
  height: 1px;
  background: black;
  margin: 2px 0;
}

.logo-name {
  text-decoration: none;
  cursor: pointer;
  color: black;
}

.logo-name:visited {
  color: black;
}

/* Header Center */
.header-center {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #111;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 18px;
  white-space: nowrap;
}

.header-phone:hover {
  color: #0090ff;
}

.work-hours {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

/* Buttons */
.callback-button {
  background: linear-gradient(135deg, #0090ff 0%, #0066cc 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.callback-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 144, 255, 0.4);
}

.portfolio-button {
  background: transparent;
  color: #0090ff;
  border: 2px solid #0090ff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.portfolio-button:hover {
  background: #0090ff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.3);
}

/* Navigation */
nav {
  width: 100%;
  margin-top: -10px;
  margin-left: 150px;
  max-width: 1100px;
}

nav ul {
  display: flex;
  justify-content: space-between; /* Равномерное распределение по всей ширине */
  align-items: center;
  list-style: none;
  padding: 0 20px; /* Отступы слева и справа */
  gap: 10px; /* Уменьшаем промежутки между пунктами */
  flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
  width: 100%;
}

nav ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #111;
  transition: 0.3s;
  padding: 8px 0;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0090ff;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #0090ff;
}

nav ul li a:hover::after {
  width: 100%;
}

/* ===== QUALITY SECTION ===== */
.quality-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
}

.quality-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quality-content {
  position: relative;
  z-index: 2;
}

.quality-subtitle {
  font-size: 18px;
  color: #0090ff;
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.quality-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.quality-description {
  font-size: 18px;
  line-height: 1.6;
  color: #4d4d4d;
  margin-bottom: 30px;
}

.consultation-form {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.consultation-button {
  background: linear-gradient(135deg, #0090ff 0%, #0066cc 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 144, 255, 0.3);
}

.consultation-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.4);
}

.quality-note {
  font-size: 14px;
  color: #666;
}

/* Quality Images */
.quality-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quality-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.quality-image:hover {
  transform: translateY(-5px);
}

.quality-image:first-child {
  grid-column: 1 / -1;
  height: 250px;
}

.quality-image:nth-child(2),
.quality-image:nth-child(3) {
  height: 200px;
}

.quality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
  color: #0090ff;
  font-size: 16px;
  font-weight: 500;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  background: #1b1d22;
  color: #fff;
  padding: 80px 40px;
  text-align: center;
}

.benefits h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.benefits .subtitle {
  color: #ccc;
  margin-bottom: 50px;
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #252830;
  padding: 30px 20px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* ===== CONTACTS SECTION ===== */
.contacts {
  background: #111318;
  color: #fff;
  padding: 70px 40px;
  text-align: center;
}

.contacts h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-item {
  background: #252830;
  padding: 20px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 250px;
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.contact-item .icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0090ff;
}

/* ===== WORKS GALLERY ===== */
.works-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.work-card {
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.work-card:active {
  transform: translateY(-5px);
  transition: transform 0.1s ease;
}

.card-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.work-card:hover .card-bg {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 20px 20px;
  color: white;
  transform: translateY(70px);
  transition: transform 0.3s ease;
  text-align: center;
}

.work-card:hover .card-overlay {
  transform: translateY(0);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  text-align: center;
  word-wrap: break-word;
}

.card-description {
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: center;
}

.work-card:hover .card-description {
  opacity: 1;
}

.card-button {
  background: transparent;
  color: #0090ff;
  border: 2px solid #0090ff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  z-index: 10;
}

.card-button:hover {
  background: #0090ff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 255, 249, 0.95) 100%);
  padding: 40px 40px 20px;
  backdrop-filter: blur(10px);
  margin-top: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-left {
  max-width: 280px;
}

.footer-left .logo {
  margin-bottom: 15px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  text-align: center;
}

.footer-columns {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #000000;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
  transition: 0.3s;
  padding: 4px 0;
  display: block;
  position: relative;
}

.footer-column ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #0090ff;
  transition: width 0.3s ease;
}

.footer-column ul li a:hover {
  color: #0090ff;
}

.footer-column ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #666;
  border-top: 1px solid rgba(0, 144, 255, 0.2);
  padding-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== FLOATING BUTTON ===== */
.floating-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.main-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0090ff 0%, #0066cc 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 144, 255, 0.4);
  transition: all 0.3s ease;
}

.main-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 144, 255, 0.6);
}

.action-buttons {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 15px;
}
.maxapp {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.action-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.action-button:hover {
  transform: scale(1.1) translateY(0);
}

.telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}

.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.callback {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.action-button span {
  position: absolute;
  right: 60px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-button:hover span {
  opacity: 1;
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.close-button:hover {
  color: #333;
}

.modal h3 {
  margin-bottom: 20px;
  text-align: center;
  color: #0090ff;
}

.modal-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.4;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0090ff;
  box-shadow: 0 0 0 2px rgba(0, 144, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

input::placeholder,
textarea::placeholder {
  color: #999;
  font-size: 14px;
}

.optional {
  color: #999;
  font-size: 12px;
  font-weight: normal;
}

.submit-button {
  background: transparent;
  color: #0090ff;
  border: 2px solid #0090ff;
  padding: 15px 30px;
  border-radius: 8px;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-button:hover {
  background: #0090ff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.3);
}

/* Checkbox Styles */
.checkbox-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  max-width: 400px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkbox-group:focus-within {
  border-color: #0090ff;
  box-shadow: 0 0 0 2px rgba(0, 144, 255, 0.1);
}

.checkbox-group input[type="checkbox"] {
  margin: 3px 12px 0 0;
  min-width: 18px;
  height: 18px;
  accent-color: #0090ff;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 12px;
  line-height: 1.4;
  color: #666;
  cursor: pointer;
  margin: 0;
  text-align: left;
}

.privacy-link {
  color: #0090ff;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.privacy-link:hover {
  color: #0066cc;
  text-decoration: underline;
}

.error-message {
  color: #ff4757 !important;
  font-size: 12px !important;
  margin-top: 5px !important;
  text-align: center;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: #000;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1240px) {
  .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .header-top {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }  
  .header-center {
    order: 3;
    margin-top: 0;
  }
  
  .header-contacts {
    align-items: center;
  }
  
  .quality-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .quality-images {
    order: -1;
  }
  
  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }
  
  nav {
    display: none;
    width: 100%;
    margin-top: 15px;
    margin-left: 0px;
  }
  
  nav.active {
    display: block;
    animation: slideDown 0.3s ease;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  nav ul li a {
    display: block;
    padding: 12px 15px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }
  
  nav ul li a:hover {
    background-color: #f0f9ff;
    color: #0090ff;
  }
  
  nav ul li a::after {
    display: none;
  }
  
  .works-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .work-card {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 1240px) {
  header {
    padding: 15px 20px;
    padding-bottom: 24px;
  } 
  .logo-divider {
    width: 100%;
    height: 0.5px;
  }  
  .header-top {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .logo {
    padding-left: 0;
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .header-center {
    order: 2;
    width: 100%;
    margin-top: 0;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .header-contacts {
    align-items: center;
    text-align: center;
    order: 1;
  }
  
  .portfolio-button {
    order: 2;
    width: 100%;
  }
  
  .mobile-menu-toggle {
    order: 3;
    position: absolute;
    top: 20px;
    right: 20px;
  } 
  nav {
    margin-left: 0px;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .quality-section {
    padding: 60px 20px;
  }
  
  .quality-title {
    font-size: 32px;
  }
  
  .consultation-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .consultation-button,
  .portfolio-button {
    width: 100%;
    text-align: center;
  }
  
  .footer-columns {
    gap: 30px;
  }
  
  footer {
    padding: 30px 20px 15px;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .checkbox-group {
    padding: 12px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .checkbox-group input[type="checkbox"] {
    margin: 0 0 10px 0;
  }
  
  .checkbox-label {
    text-align: center;
    font-size: 11px;
  }
  
  .privacy-link {
    white-space: normal;
  }
  
  textarea {
    min-height: 70px;
    font-size: 16px;
  }
  
  .optional {
    font-size: 11px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-left {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .footer-left .logo {
    padding-left: 0;
  }
  
  .footer-columns {
    justify-content: center;
    gap: 40px;
  }
  
  .footer-column {
    text-align: center;
  }  
}

/* Small Mobile */
@media (max-width: 480px) {
  .header-top {
    gap: 20px;
  }
  
  .logo-image {
    height: 60px;
  }
  
  .header-phone {
    font-size: 16px;
  }
  
  .work-hours {
    font-size: 12px;
  }
  
  .portfolio-button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .mobile-menu-toggle {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .consultation-form {
    gap: 10px;
  }
  
  .consultation-button,
  .portfolio-button {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .checkbox-label {
    font-size: 10px;
  }
  
  .checkbox-group {
    padding: 10px;
  }
  .footer-columns {
    gap: 30px;
    flex-direction: column;
  }
  
  .footer-column {
    width: 100%;
  }  

  nav {
    margin-left: 0px;
  }
}

/* Very Small Mobile */
@media (max-width: 360px) {
  .checkbox-label {
    font-size: 10px;
  }
  
  .checkbox-group {
    padding: 10px;
  }
  nav {
    margin-left: 0px;
  }  
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ===== COOKIES NOTICE ===== */
.cookies-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #252830 0%, #1b1d22 100%);
  color: white;
  padding: 20px 30px;
  z-index: 9999;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
  display: none;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookies-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookies-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.cookies-text p {
  margin: 0;
  color: #e0e0e0;
}

.cookies-text strong {
  color: white;
  font-weight: 600;
}

.cookies-link {
  color: #0090ff;
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.cookies-link:hover {
  color: #66b8ff;
  border-bottom-color: #66b8ff;
}

.cookies-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookies-button {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.cookies-button.accept {
  background: linear-gradient(135deg, #0090ff 0%, #0066cc 100%);
  color: white;
}

.cookies-button.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 144, 255, 0.4);
  background: linear-gradient(135deg, #0090ff 0%, #0080ff 100%);
}

.cookies-button.reject {
  background: transparent;
  color: #999;
  border-color: #666;
}

.cookies-button.reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border-color: #999;
}

/* Адаптивность для уведомления о cookies */
@media (max-width: 768px) {
  .cookies-notice {
    padding: 15px 20px;
  }
  
  .cookies-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cookies-text {
    font-size: 13px;
  }
  
  .cookies-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookies-button {
    padding: 10px 20px;
    flex: 1;
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .cookies-notice {
    padding: 12px 15px;
  }
  
  .cookies-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cookies-button {
    max-width: 100%;
    width: 100%;
  }
}
/* Дополнительные исправления для очень маленьких экранов */
@media (max-width: 360px) {
  .works-container {
    padding: 0 10px;
  }
  
  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    justify-items: center;
  }
  
  .work-card {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-description {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .card-button {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .card-overlay {
    padding: 20px 15px 15px;
    transform: translateY(60px);
  }
}