/* Reset default styles and set up a clean layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    height: 100%;
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #fff6e5 0%, #fffaf0 50%, #fff5e6 100%) fixed;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
  }
  
  /* Header */
  header {
    background: #e1ccb3;
    padding: 10px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(225, 204, 179, 0.3);
  }
  
  header .container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 5px 0;
    gap: 20px;
    flex-wrap: nowrap;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }
  
  .header-phone {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
  }
  
  .header-phone:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
  }
  
  .header-phone i {
    font-size: 1.2em;
    margin-right: 10px;
    color: #ff6600;
  }
  
  .header-phone .phone-number {
    font-weight: 700;
    font-size: 1.05em;
    margin-right: 6px;
  }
  
  .header-phone .phone-label {
    font-size: 0.9em;
    opacity: 0.9;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 10px;
  }
  
  .header-menu-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
    background: #ff6600;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .header-menu-btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
    color: #fff;
  }
  
  .header-menu-btn i {
    font-size: 1em;
  }
  
  .logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-right: 20px;
  }
  
  nav {
    flex-shrink: 0;
    min-width: 0;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
  }
  
  nav ul li a:hover {
    color: #ff6600;
  }
  
  nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6600;
    transition: width 0.3s ease;
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  .cta-button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .cta-button:hover {
    background-color: #e55b00;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/background.jpg') center/cover no-repeat;
    background-color: #333;
    text-align: center;
    padding: 120px 20px 150px;
    color: white;
    position: relative;
    margin-top: 90px;
  }
  
  .hero::after {
    display: none;
  }
  
  .hero .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
  }
  
  .hero p {
    font-size: 1.4em;
    margin: 20px 0;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
  }
  
  .hero .cta-button {
    font-size: 1.2em;
    padding: 15px 35px;
    margin-top: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 5px;
    background-color: #e3a240e6;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
  }
  
  .hero .cta-button:hover {
    background-color: #c8912e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .hero-actions {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  
  .hero-action-btn {
    background: #e3a240e6;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-family: inherit;
  }
  
  .hero-action-btn:hover {
    background: #c8912e;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }
  
  /* Services */
  .services {
    background: linear-gradient(135deg, rgba(255, 240, 230, 0.97) 0%, rgba(255, 245, 235, 0.97) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .services h2 {
    margin-bottom: 50px;
    font-size: 2.2em;
    color: #333;
  }
  
  .service-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .service-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    backdrop-filter: blur(5px);
  }
  
  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-item i {
    color: #ff6600;
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  
  .service-item h3 {
    color: #333;
    font-size: 1.4em;
    margin: 15px 0;
  }
  
  .service-item p {
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
  }
  
  /* Footer */
  footer {
    background: linear-gradient(135deg, #333333 0%, #444444 100%);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }
  
  .social-links a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
  }
  
  .social-links a:hover {
    color: #ff6600;
  }
  
  /* About Section */
  .about {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 246, 229, 0.97) 0%, rgba(255, 250, 240, 0.97) 100%);
    position: relative;
    z-index: 1;
  }
  
  .about p {
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.6;
    text-align: center;
  }
  
  .about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Contact Form */
  .contact {
    background: linear-gradient(135deg, rgba(255, 246, 229, 0.97) 0%, rgba(255, 250, 240, 0.97) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 1;
  }
  
  .contact .container {
    max-width: 800px;
  }
  
  .contact h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(221, 221, 221, 0.8);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #ff6600;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.1);
  }
  
  .form-group textarea {
    height: 150px;
    resize: vertical;
  }
  
  .submit-button {
    background-color: #ff6600;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .submit-button:hover {
    background-color: #e55b00;
  }
  
  /* Contact Info */
  .contact-info {
    margin-top: 20px;
  }
  
  .contact-info p {
    margin: 10px 0;
  }
  
  .contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .contact-info a:hover {
    color: #ff6600;
  }
  
  /* Testimonials */
  .testimonials {
    background: linear-gradient(135deg, rgba(255, 240, 230, 0.97) 0%, rgba(255, 245, 235, 0.97) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 1;
  }
  
  .testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .testimonial-list {
    overflow: hidden;
    position: relative;
  }
  
  .testimonial-item {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    position: relative;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
  }
  
  .testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
  }
  
  .testimonial-item p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 15px;
  }
  
  .testimonial-item span {
    color: #666;
    display: block;
    text-align: right;
    font-weight: 500;
  }
  
  .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .slider-button:hover {
    background: #ff6600;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .slider-button.prev {
    left: 0;
  }
  
  .slider-button.next {
    right: 0;
  }
  
  /* How It Works */
  .how-it-works {
    background: linear-gradient(135deg, rgba(255, 246, 229, 0.97) 0%, rgba(255, 250, 240, 0.97) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 1;
  }
  
  .how-it-works ol {
    max-width: 800px;
    margin: 30px auto;
    padding-left: 20px;
  }
  
  .how-it-works li {
    margin: 15px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  /* Section Headers */
  section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
  }
  
  section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff6600, #ff8533);
    border-radius: 2px;
  }
  
  /* Before and After Section */
  .before-after {
    background: linear-gradient(135deg, rgba(255, 240, 230, 0.97) 0%, rgba(255, 245, 235, 0.97) 100%);
    padding: 80px 0;
    position: relative;
    z-index: 1;
  }
  
  .before-after .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .before, .after {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .before h3, .after h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
  }
  
  .before h3::after, .after h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #ff6600, #ff8533);
    border-radius: 2px;
  }
  
  .before-list, .after-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
  }
  
  .before-item, .after-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .before-item:hover, .after-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .before-item i, .after-item i {
    font-size: 1.4em;
    margin-right: 15px;
    color: #ff6600;
    min-width: 25px;
  }
  
  .before {
    border-left: 4px solid #ff9999;
  }
  
  .after {
    border-left: 4px solid #66cc99;
  }
  
  .before-item {
    border: 1px solid rgba(255, 153, 153, 0.2);
  }
  
  .after-item {
    border: 1px solid rgba(102, 204, 153, 0.2);
  }
  
  /* Contact Form */
  .consent-group {
    margin: 20px 0;
  }
  
  .consent-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9em;
    line-height: 1.4;
    color: #666;
  }
  
  .consent-label input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
  }
  
  .consent-label span {
    display: inline-block;
  }
  
  .consent-label a {
    color: #ff6600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  .consent-label a:hover {
    color: #e55b00;
    border-bottom-color: #e55b00;
  }
  
  /* Legal Information */
  .legal-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
  }
  
  .legal-info p {
    margin: 10px 0;
    line-height: 1.5;
  }
  
  .disclaimer {
    font-style: italic;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    header .container {
      flex-direction: column;
      gap: 15px;
      padding: 10px 0;
    }
  
    .header-left {
      gap: 15px;
    }
  
    .header-phone {
      padding: 6px 12px;
    }
  
    .header-phone .phone-number {
      font-size: 1.1em;
    }
  
    .header-phone .phone-label {
      display: none;
    }
  
    .logo {
      height: 60px;
      margin-right: 0;
      margin-bottom: 5px;
    }
  
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .service-item {
      min-width: 100%;
      margin: 0 0 20px 0;
    }
  
    .services h2 {
      font-size: 1.8em;
      margin-bottom: 30px;
    }
  
    .hero {
      padding: 120px 20px;
    }
  
    .hero h1 {
      font-size: 2rem;
      padding: 12px 20px;
    }
  
    .hero p {
      font-size: 1.1rem;
      padding: 8px 15px;
    }
  
    .hero .cta-button {
      padding: 12px 25px;
      font-size: 1.1em;
    }
  
    .form-group input,
    .form-group textarea {
      font-size: 14px;
    }
  
    .submit-button {
      width: 100%;
    }
  
    .before-list, .after-list {
      grid-template-columns: 1fr;
      gap: 15px;
    }
  
    .before-item, .after-item {
      padding: 12px 15px;
    }
  
    .before h3, .after h3 {
      font-size: 1.4em;
      margin-bottom: 20px;
    }
  
    .before-item i, .after-item i {
      font-size: 1.2em;
      margin-right: 12px;
    }
  
    .legal-info {
      font-size: 11px;
      margin-top: 20px;
      padding-top: 15px;
    }
  
    .consent-label {
      font-size: 13px;
    }
  
    .testimonial-slider {
      padding: 0 30px;
    }
    
    .slider-button {
      width: 35px;
      height: 35px;
    }
    
    .testimonial-item {
      padding: 20px;
    }
    
    .testimonial-item p {
      font-size: 1em;
    }
  }

.client-login-btn:hover {
  background-color: #e55b00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

.client-login-btn i {
  font-size: 0.9em;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to { opacity: 0; }
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
  color: #ff6600;
  background-color: rgba(255, 102, 0, 0.1);
}

.modal-tabs {
  display: flex;
  border-bottom: 2px solid #e1ccb3;
  background-color: #f8f8f8;
  border-radius: 15px 15px 0 0;
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: #ff6600;
  background-color: rgba(255, 102, 0, 0.05);
}

.tab-btn.active {
  color: #ff6600;
  border-bottom-color: #ff6600;
  background-color: white;
}

.tab-content {
  display: none;
  padding: 30px;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  margin-bottom: 25px;
  color: #333;
  font-size: 1.8em;
  text-align: center;
}

.tab-content .form-group {
  margin-bottom: 20px;
}

.tab-content .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 0.95em;
}

.tab-content .form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1ccb3;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
}

.tab-content .form-group input:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  cursor: pointer;
}

.checkbox-label span {
  user-select: none;
}

.tab-content .submit-button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  font-size: 1.1em;
}

.error-message {
  color: #dc3545;
  font-size: 0.9em;
  margin-top: 10px;
  padding: 10px;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 5px;
  border-left: 3px solid #dc3545;
  display: none;
}

.error-message.show {
  display: block;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .tab-content {
    padding: 20px;
  }
  
  .client-login-btn {
    padding: 6px 15px;
    font-size: 0.85em;
  }
  
  .client-login-btn span {
    display: none;
  }
}

/* Client Login Button - в стиле навигации */
nav ul li button.client-login-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

nav ul li button.client-login-btn:hover {
  background-color: #e55b00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

nav ul li button.client-login-btn i {
  font-size: 0.9em;
}

nav ul li button.client-login-btn::after {
  display: none;
}


nav ul li button {
  margin: 0;
  padding: 0;
}

/* Исправление стилей кнопки - переопределение padding */
nav ul li button.client-login-btn {
  padding: 8px 14px !important;
  margin: 0 !important;
  white-space: nowrap;
}

/* Password validation hints */
.password-hint {
  margin-top: 5px;
  margin-bottom: 10px;
}

.password-hint small {
  display: block;
  font-size: 0.85em;
  transition: color 0.3s ease;
}

.password-hint .text-muted {
  color: #666;
}

.password-hint .text-warning {
  color: #ff9800;
  font-weight: 600;
}

.password-hint .text-success {
  color: #28a745;
  font-weight: 600;
}

.password-hint .text-danger {
  color: #dc3545;
  font-weight: 600;
}
