* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .navbar {
    background: #f8f8f8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
  }
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
  }
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
  }
  .nav-links {
    list-style: none;
    display: flex;
  }
  .nav-links li + li {
    margin-left: 1.5rem;
  }
  .nav-links a {
    text-decoration: none;
    color: #333;
    padding-bottom: 0.2rem;
    transition: color 0.3s;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: #b3571e;
    border-bottom: 2px solid #b3571e;
  }

  .hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    width: 100%;
  }
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnim 15s infinite;
  }
  .slide1 { background-image: url('../images/hero1.webp'); animation-delay: 0s; }
  .slide2 { background-image: url('../images/hero2.webp'); animation-delay: 5s; }
  .slide3 { background-image: url('../images/hero3.webp'); animation-delay: 10s; }
  @keyframes slideAnim {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    30%  { opacity: 1; }
    35%  { opacity: 0; }
    100% { opacity: 0; }
  }
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  }
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .btn {
    display: inline-block;
    background: #b3571e;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
  }
  .btn:hover {
    background: #8f4517;
  }

  .specials h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  .special-item {
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
  }
  .special-item img {
    width: 100%;
    display: block;
  }
  .special-item h3 {
    margin: 1rem 0 0.5rem;
  }
  .special-item p {
    padding: 0 1rem 1rem;
  }
  .special-item:hover {
    transform: scale(1.03);
  }

  .about h1,
  .menu h1,
  .contact h1 {
    margin: 2rem 0 1rem;
    text-align: center;
  }
  .team-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }
  .team-member {
    text-align: center;
  }
  .team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
  }

  .menu-list {
    list-style: none;
    margin-bottom: 2rem;
  }
  .menu-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ccc;
  }

  .contact-info p {
    margin-bottom: 0.5rem;
  }
  .contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
  }
  .contact-form label {
    font-weight: bold;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
  .contact-form button {
    width: 150px;
    justify-self: start;
  }

  .footer {
    width: 100%;
    background: #333;
    color: #eee;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
  }

  .hours h2 {
    text-align: center;
    margin: 2rem 0 1rem;
  }
  .hours-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .events h2 {
    text-align: center;
    margin: 2rem 0 1rem;
  }
  .event-item {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
  }
  .btn-small {
    display: inline-block;
    margin-top: 0.5rem;
    background: #b3571e;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
  }
  .btn-small:hover {
    background: #8f4517;
  }

  .testimonials h2 {
    text-align: center;
    margin: 2rem 0 1rem;
  }
  .testi-carousel {
    position: relative;
    overflow: hidden;
    height: 120px;
  }
  .testi-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: testiAnim 12s infinite;
    text-align: center;
    font-style: italic;
  }
  .testi-slide span {
    display: block;
    margin-top: 0.5rem;
    font-weight: bold;
  }
  .testi-slide:nth-child(1) { animation-delay: 0s; }
  .testi-slide:nth-child(2) { animation-delay: 4s; }
  .testi-slide:nth-child(3) { animation-delay: 8s; }
  @keyframes testiAnim {
    0%,30%   { opacity: 0; }
    35%,65%  { opacity: 1; }
    70%,100% { opacity: 0; }
  }

  .newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: #f5f5f5;
    padding: 2rem 1rem;
    text-align: center;
    margin: 2rem 0;
  }
  .newsletter-form {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .newsletter-form input {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 250px;
  }
  .newsletter-form button {
    padding: 0.7rem 1.5rem;
    border: none;
    cursor: pointer;
  }

  .gallery h2 {
    text-align: center;
    margin: 2rem 0 1rem;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .gallery-grid img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }

  .philosophy h2 {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    font-size: 2rem;
    color: #b3571e;
  }
  .philosophy p {
    max-width: 800px;
    margin: 0.8rem auto;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: center;
    color: #444;
  }

  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(51, 51, 51, 0.95);
    color: #fff;
    font-size: 0.95rem;
    z-index: 9999;
    display: none; /* по умолчанию скрыт, покажем через JS */
  }
  #cookie-banner .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  #cookie-banner p {
    margin: 0;
    flex: 1 1 auto;
    line-height: 1.4;
  }
  #cookie-banner a {
    color: #b3571e;
    text-decoration: underline;
  }
  #cookie-banner button {
    background: #b3571e;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: 1rem;
    transition: background 0.3s;
  }
  #cookie-banner button:hover {
    background: #8f4517;
  }

  .footer p a {
    color: #eee;
    margin: 0 0.5rem;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.2s;
  }
  .footer p a:hover {
    border-color: #eee;
  }

  .container.privacy,
  .container.terms {
    padding: 3rem 1rem;
    background: #fff;
    color: #333;
  }
  .container.privacy h1,
  .container.terms h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #b3571e;
  }
  .container.privacy h2,
  .container.terms h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #444;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.3rem;
  }
  .container.privacy h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
    color: #555;
  }
  .container.privacy p,
  .container.terms p {
    max-width: 800px;
    margin: 0.6rem auto;
    line-height: 1.7;
    font-size: 1rem;
  }
  .container.privacy a,
  .container.terms a {
    color: #b3571e;
    text-decoration: none;
    border-bottom: 1px dashed #b3571e;
    transition: opacity 0.2s;
  }
  .container.privacy a:hover,
  .container.terms a:hover {
    opacity: 0.8;
  }

  .text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
  }
  .text-block-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }
  .text-block-content h2 {
    color: #b3571e;
    margin-bottom: 1rem;
  }
  .text-block-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .goals h2 {
    text-align: center;
    margin: 2.5rem 0 1rem;
    color: #b3571e;
  }
  .goals-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
  }
  .goals-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  .goals-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #b3571e;
  }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 2rem 0 4rem;
  }
  .value-item {
    text-align: center;
  }
  .value-item img {
    width: 60px;
    margin-bottom: 0.8rem;
  }
  .value-item h3 {
    color: #444;
    margin-bottom: 0.5rem;
  }
  .value-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
  }

  @media (max-width: 1000px) {
    .text-block {
        display: flex;
        flex-direction: column;
    }

    p {
        font-size: 12px !important;
    }

    h1 {
        font-size: 20px !important;
    }

    h2 {
        font-style: 15px !important;
    }

    h3 {
        font-size: 15px !important;
    }

    strong {
        font-size: 12px !important;
    }

    div {
        font-size: 12px !important;
    }

    a {
        font-size: 12px !important;
    }

    .nav-links {
        flex-direction: column;
        justify-content: space-around;
        align-items: end;
        gap: 5px;
    }

    .newsletter-form {
        flex-direction: column;
    }
  }