/* Основные стили */
:root {
    --primary-color: #8b7355; /* Оливковый */
    --secondary-color: #4b3832; /* Темно-коричневый */
    --accent-color: #a8947a; /* Светло-оливковый */
    --text-dark: #333;
    --text-light: #f5f5f5;
    --white: #fff;
    --black: #000;
    --bg-gradient: linear-gradient(135deg, #a8947a, #8b7355, #4b3832);
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    overflow-x: hidden;
  }
  
  h1,
  h2,
  h3,
  h4 {
    font-family: 'Lora', serif;
    font-weight: 700;
    line-height: 1.2;
  }
  
  p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--secondary-color);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
  }
  
  .call-to-action-btn {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
  }
  
  .call-to-action-btn:hover {
    background: transparent;
    color: var(--primary-color);
  }
  
  .pricing-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
  }
  
  .pricing-btn:hover {
    background: var(--primary-color);
  }
  
  .secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white);
  }
  
  /* Навигация */
  .main-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }
  
  .site-logo a {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
  }
  
  .site-logo a i {
    margin-right: 10px;
    color: var(--secondary-color);
  }
  
  .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
  }
  
  .nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
  }
  
  .nav-menu a:hover {
    color: var(--primary-color);
  }
  
  .menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
  }
  
  /* Главный блок */
  .hero-section {
    background: var(--bg-gradient);
    color: var(--text-light);
    padding: 10rem 0 5rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 4rem;
    padding: 0 20px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
  }
  
  .hero-image {
    max-width: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
  }
  
  .stat-label {
    font-size: 1rem;
    opacity: 0.8;
  }
  
  /* Общие стили для секций */
  section {
    padding: 20px 0;
  }
  
  .section-subtitle {
    text-align: center;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  
  /* Секция "О нас" */
  .about-section {
    background: var(--white);
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
  }
  
  .about-qualities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .quality-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
  }
  
  .quality-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
  }
  
  .about-image {
    flex: 1;
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Секция "Услуги" */
  .services-section {
    background: var(--bg-gradient);
    color: var(--text-light);
    text-align: center;
  }
  
  .services-header {
    margin-bottom: 4rem;
  }
  
  .services-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 3rem 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }
  
  .service-icon i {
    font-size: 3rem;
    color: var(--accent-color);
  }
  
  .service-icon span {
    font-size: 1.2rem;
    font-weight: 500;
  }
  
  .services-image {
    margin-top: 6rem;
    text-align: center;
  }
  
  .services-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Секция "Методы" */
  .methods-section {
    text-align: center;
  }
  
  .methods-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
  }
  
  .methods-section p {
    max-width: 700px;
    margin: 0 auto 4rem;
  }
  
  .methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .method-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
  }
  
  .method-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .method-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  .method-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--secondary-color);
  }
  
  .method-card p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
  }
  
  /* Секция "Цены" */
  .pricing-section {
    background: #f8f8f8;
    text-align: center;
  }
  
  .pricing-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
  }
  
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
  }
  
  .pricing-card {
    background: var(--white);
    border-radius: 10px;
    padding: 3rem 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .pricing-card.featured {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  .pricing-card.featured .price-info .currency,
  .pricing-card.featured .price-info .amount {
    color: var(--white);
  }
  
  .pricing-card.featured .pricing-btn {
    background: var(--white);
    color: var(--primary-color);
  }
  
  .pricing-card.featured .pricing-btn:hover {
    background: var(--accent-color);
    color: var(--white);
  }
  
  .pricing-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
  }
  
  .pricing-card.featured h3 {
    color: var(--white);
  }
  
  .price-info {
    margin: 2rem 0;
  }
  
  .price-info .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 5px;
    color: var(--secondary-color);
  }
  
  .price-info .amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
  }
  
  .price-info .period {
    display: block;
    opacity: 0.7;
  }
  
  .pricing-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
  }
  
  .pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
  }
  
  .pricing-features li {
    margin-bottom: 10px;
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
  }
  
  .pricing-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
  }
  
  .pricing-card.featured .pricing-features li::before {
    color: var(--white);
  }
  
  /* Секция "Блог" */
  .blog-section {
    text-align: center;
  }
  
  .blog-header {
    margin-bottom: 4rem;
  }
  
  .blog-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
  }
  
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .blog-post {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .blog-post:hover {
    transform: translateY(-10px);
  }
  
  .blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
  }
  
  .blog-content {
    padding: 1.5rem;
    text-align: left;
  }
  
  .blog-content time {
    font-size: 0.9rem;
    color: #777;
  }
  
  .blog-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0.5rem 0;
  }
  
  .blog-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
  }
  
  .read-more {
    font-weight: 500;
    color: var(--primary-color);
  }
  
  /* Секция "Контакты" */
  .contact-section {
    background: var(--bg-gradient);
    color: var(--text-light);
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
  }
  
  .contact-info h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
  }
  
  .contact-info p {
    opacity: 0.9;
  }
  
  .contact-methods {
    margin-top: 2rem;
  }
  
  .contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .contact-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 50%;
  }
  
  .contact-icon i {
    font-size: 2rem;
    color: var(--accent-color);
  }
  
  .contact-details h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--white);
  }
  
  .contact-details p {
    margin: 0;
    opacity: 0.8;
  }
  
  .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .contact-form textarea {
    resize: vertical;
  }
  
  .submit-btn {
    width: 100%;
    background: var(--accent-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  .submit-btn:hover {
    background: var(--white);
  }
  
  .error-message {
    color: #ffcccc;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
  }
  
  /* Футер */
  .main-footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 4rem 0 2rem;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .footer-logo a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
  }
  
  .footer-logo a i {
    color: var(--accent-color);
    margin-right: 10px;
  }
  
  .footer-nav ul,
  .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-nav li,
  .footer-legal li {
    margin-bottom: 10px;
  }
  
  .footer-nav a,
  .footer-legal a {
    color: var(--text-light);
    opacity: 0.8;
  }
  
  .footer-nav a:hover,
  .footer-legal a:hover {
    opacity: 1;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom p {
    opacity: 0.7;
    margin: 0;
  }
  
  /* Всплывающее окно о файлах cookie */
  #cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    display: none;
    z-index: 1000;
  }
  
  #cookie-popup a {
    color: var(--accent-color);
    text-decoration: underline;
  }
  
  #accept-cookies-btn {
    background: var(--accent-color);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
  }
  
  /* Стили для страниц "Политика/Условия" */
  .legal-page {
    padding-top: 8rem;
  }
  
  .legal-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .legal-header h1 {
    font-size: 3rem;
    color: var(--secondary-color);
  }
  
  .legal-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 3rem;
    margin-bottom: 1rem;
  }
  
  .legal-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .legal-content p {
    margin-bottom: 1.5rem;
  }
  
  .legal-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 2rem;
  }
  
  .legal-content li {
    margin-bottom: 10px;
  }
  
  .cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 3rem;
    background: #f8f8f8;
  }
  
  .cookie-table th,
  .cookie-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
  }
  
  .cookie-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 500;
  }
  
  /* Стили для страницы "Спасибо" */
  .thank-you-page {
    padding: 10rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .thank-you-content {
    max-width: 600px;
    padding: 3rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
  }
  
  .thank-you-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
  }
  
  .thank-you-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
  }
  
  .thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* Адаптивный дизайн */
  @media (max-width: 768px) {
    .hero-content,
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  
    .about-image,
    .contact-info {
      text-align: center;
    }
  
    .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      background: var(--white);
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .about-text h2,
    .services-header h2,
    .methods-section h2,
    .pricing-header h2,
    .blog-header h2,
    .contact-info h2 {
      font-size: 2rem;
    }
  
    .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-nav,
    .footer-legal {
      width: 100%;
    }
  
    .footer-nav ul,
    .footer-legal ul {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .thank-you-actions {
      flex-direction: column;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }