/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue';
    line-height: 1.6;
    color: #333;
    background-color: #EEEFF2;
}

.container {
    width: 100%;
    max-width: 1568px;
    margin: 0 auto;
    padding: 0;
}

.download-link {
    color: #195476;
    text-decoration: underline;
}

.download-link:hover {
    text-decoration: none;
}

/* Header styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

h1 {
    font-family: 'Barlow Condensed';
    font-weight: 400;
    font-style: normal;
    line-height: 1;
}

.sub1 {
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
}

.logo a {
    font-family: 'Graphik LC', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #195476;
}

.main-footer .logo a {
    color: #fff;
}

.main-footer .logo + p {
    font-family: 'Helvetica Neue';
    font-weight: 200;
    margin-top: 1.5rem;
    width: 290px;
}

.main-footer .container {
    padding: 0;
}

.main-nav ul {
    display: flex;
    column-gap: 20px;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: #195476;
    font-weight: 500;
}

.main-nav a:hover {
    color: #14415e;
}

.header-actions {
    display: flex;
    align-items: center;
}

.contact-button, .catalog-button {
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
}

.header-actions a:last-of-type {
    margin-left: 10px;
}

.contact-button {
    background-color: #195476;
    color: white;
}

.global-local .contact-button {
    border: 1px solid #fff;
}

.catalog-button {
    position: relative;
    padding-right: 2rem;
    background-color: #fff;
    border: 1px solid #195476;
    color: #195476;
    transition: background-color .3s ease, color .3s ease;
}

.catalog-button::after {
    content: '↓';
    position: absolute;
    right: 1rem;
    top: 45%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #195476;
    transition: color .3s ease;
}

.catalog-button:hover::after {
    color: #fff;
}

.catalog-button:hover, .hero-button:hover {
    border: 1px solid #fff;
    background-color: #195476;
    transition: background-color 0.3s ease;
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
}

/* Hero section */
.hero-section {
    margin-top: 52px;
    padding: 52px 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 35%;
    padding: 20px 0;
}

.hero-text h1 {
    font-family: 'Barlow Condensed';
    font-size: 5.75rem;
    font-weight: 400;
    line-height: 1;
    color: #195476;
    margin-bottom: 3.75rem;
}

.hero-text h2 {
    font-family: 'Barlow Condensed';
    font-size: 1.5rem;
    margin-bottom: 3.75rem;
    color: #59839B;
}

.chains-section h2 {
    font-family: 'Barlow Condensed';
    font-size: 1.5rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: #59839B;
    text-align: center;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 3.75rem;
    color: #195476;
}

.hero-button {
    display: inline-block;
    padding: 12px 25px;
    color: #195476;
    text-decoration: none;
    border: 1px solid #195476;
    border-radius: 10px;
    font-weight: bold;
}

.hero-slider {
    flex: 1;
    min-width: 60%;
    position: relative;
}

.slider-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
}

.slider-prev, .slider-next {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    border: none;
}

.slider-prev::before {
    content: url('/images/slider-prev.svg');
}

.slider-next::before {
    content: url('/images/slider-next.svg');
}

.slider-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 30px;
    padding: 5px;
    background-color: #EEEFF2;
    border-radius: 44px;
    max-width: min-content;
}

.slider-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dot.active {
    background-color: #195476;
}

/* Brands section */
.brands-section {
    padding: 0;
}

.brands-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: carousel-scroll 20s linear infinite;
}

.brand-item {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    transition: filter 0.3s ease;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.container.tabs-section {
    margin-top: 4.5rem;
}

/* Stats section */
.stats-section {
    margin-top: 4.5rem;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stats-header-left {
    flex: 0 0 75%;
    text-align: left;
    line-height: 1;
}

.tabs-section .stats-header-left {
    flex: 0 0 75%;
    line-height: 1;
}

.stats-header-left h2 {
    font-family: 'Barlow Condensed';
    font-weight: 400;
    font-size: 5.75rem;
    color: #195476;
    margin: 0;
}

.stats-header-right {
    flex: 0 0 25%;
    align-self: flex-end;
    text-align: right;
}

.tabs-section .stats-header-right {
    flex: 0 0 25%;
    align-self: flex-end;
}

.stats-header-right p {
    font-size: 1.25rem;
    color: #195476;
    line-height: 1.1;
    margin: 0;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.stat-item {
    flex: 1;
    text-align: left;
    line-height: 1;
    padding: 1.5rem;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chains-section .stat-item {
    background-color: #195476;
}

.chains-section .stat-item h4, .chains-section .stat-item p {
    color: #fff;
}

.chains-section .stat-item h4 {
    font-family: 'Graphik LC', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    margin-bottom: 10px;
}

.chains-section .stat-item p {
    font-family: 'Helvetica Neue';
    font-weight: 100;
    font-size: 1rem;
    line-height: 1.15;
}

.p-center {
    font-family: 'Graphik LC', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    color: #195476;
    line-height: 1;
    margin: 2rem 0;
    text-align: center;
}

.chains-section .header-actions :is(.contact-button, .catalog-button) {
    font-weight: 300;
}

.chains-section .header-actions {
    justify-content: center;
}

.chains-section .header-actions .catalog-button {
    padding-right: 15px;
}

.chains-section .catalog-button::after {
    content: none;
}

.stat-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.stat-icon img {
    max-height: 50px;
    width: auto;
}

.stat-item h3 {
    font-family: 'Barlow Condensed';
    font-size: 5.75rem;
    font-weight: 500;
    color: #195476;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.25rem;
    font-weight: 400;
    color: #195476;
    line-height: 1.1;
    margin: 0;
}

/* Стили для сообщений формы */
#form-message {
    margin: 15px 0;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: none;
}

#form-message.loading {
    background-color: #e8f4fd;
    color: #0c5460;
    border: 1px solid #b8daff;
    display: block;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #0056b3;
}

.contact-form button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.form-notice {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    line-height: 1.4;
}

/* Стили для невалидных полей */
input:invalid, textarea:invalid {
    border-color: #195476 !important;
}

input:valid, textarea:valid {
    border-color: #28a745 !important;
}

/* Responsive styles for stats section */
@media (max-width: 992px) {
    .stats-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .stats-header-left,
    .stats-header-right {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {

  .mobile-menu-container {
    display: none;
  }
 
  .mobile-menu-container.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 100;
    padding: 100px 20px 20px;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 100;
  }

  .main-nav ul, .header-actions {
    flex-direction: column;
    row-gap: 1rem;
    text-align: center;
  }

  .main-nav.mobile-open ul {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .main-nav.mobile-open a {
    color: #195476;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
  }

  .logo {
    z-index: 102;
    position: relative;
  }

  .header-actions.mobile-open {
    flex-direction: column;
    gap: 20px;
  }

  /* Анимация гамбургера в крестик */
  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .mobile-menu-toggle span {
    transition: all 0.3s ease;
    background-color: #195476;
  }
}

/* Responsive styles for stats section */
@media (max-width: 992px) {
    .stats-container {
        flex-direction: column;
    }
    
    .stats-left {
        flex: 0 0 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .stats-right {
        flex: 0 0 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 45%;
        margin: 0 10px 20px;
    }
}

@media (max-width: 768px) {
    .stats-right {
        flex-direction: column;
    }
    
    .stat-item {
        flex: 0 0 100%;
        margin: 0 0 20px;
        width: 100%;
    }
}

/* Supermarkets section */
.supermarkets-section, .chains-section {
    margin-top: 3.75rem;
}

.supermarkets-section h1, .chains-section h1 {
    font-size: 5.75rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #195476;
    text-align: center;
}

.supermarkets-section p {
    font-family: 'Helvetica Neue';
    font-size: 1.25rem;
    line-height: 1;
    text-align: center;
    color: #195476;
    max-width: 800px;
    margin: 0 auto 20px;
}

.supermarkets-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
}

.supermarket-item {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.supermarket-item img {
    max-width: 100%;
    height: auto;
    transition: filter 0.3s ease;
}

/* Contact section */
.contact-section {
    margin-top: 3.75rem;
    padding: 3rem;
    border-radius: 0;
    background-color: #195476;
}

.contact-section h2 {
    font-family: 'Barlow Condensed';
    font-size: 5.75rem;
    font-weight: 400;
    line-height: 1;
    color: #EEEFF2;
    text-align: left;
    margin-bottom: 2.5rem;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    font-weight: 400;
}

.contact-content > * {
    flex: 1 1 calc(50% - 40px);
    box-sizing: border-box;
}

.contact-info {
    flex: 1;
}

.office-info, .contact-details {
    font-family: 'Barlow Condensed';
    font-weight: 400;
    color: #EEEFF2;
    border-left: 1px solid;
    padding-left: 1.5rem;
}

.office-info h3.sub1, .contact-details h3.sub1 {
    font-family: 'Barlow Condensed';
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    color: #BACCD6;
    margin-bottom: 2rem;
}

.sub2 {
    font-family: 'Helvetica Neue';
    font-weight: 400;
    font-size: 1rem;
    color: #EEEFF2;
}

.office-info h3, .contact-details h3 {
    font-family: 'Barlow Condensed';
    font-weight: 400;
    font-size: 3.25rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #195476;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-form {
    padding: 24px;
    background-color: #fff;
    border-radius: 16px;
}

.contact-form h3 {
    font-family: 'Barlow Condensed';
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    color: #195476;
    margin-bottom: 1.25rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form button {
    font-family: 'Helvetica Neue';
    font-size: 18px;
    font-weight: 400;
    padding: 12px 25px;
    background-color: #195476;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover, .contact-button:hover {
    background-color: #14415e;
}

.form-notice {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #195476B2;
    line-height: 1.5;
}

.partners-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.partners-map {
    border-radius: 16px;
    overflow: hidden;
}

.partners-map > iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tabs section */
.tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 44px;
    background-color: #195476;
    border-radius: 20px;
}

.tabs-block {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tabs-itself, .nestle-block {
    flex: 1 1 50%;
}

.tab-content {
    display: none;
    padding: 5rem 0;
}

.tabs-content > .tab-content > h3 {
    font-family: 'Barlow Condensed';
    font-weight: 400;
    font-size: 4.5rem;
    line-height: 1.1;
    color: #fff;
}

.tabs-content > .tab-content > p {
    font-family: 'Helvetica Neue';
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.1;
    color: #fff;
    margin-top: 1rem;
}

#tab1:checked ~ .tabs-content #content1,
#tab2:checked ~ .tabs-content #content2,
#tab3:checked ~ .tabs-content #content3,
#tab4:checked ~ .tabs-content #content4 {
    display: block;
}

.tabs-itself input[type="radio"] {
    display: none;
}

.tabs-itself label {
    font-family: 'Orbitron';
    font-weight: 500;
    font-size: 1.35rem;
    display: inline-block;
    padding: 12px 20px;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 0;
    border-radius: 12px;
    color: #8CAABB;
    transition: all 0.3s ease;
}

.tabs-itself input[type="radio"]:checked + label {
    background-color: #477691;
    border-radius: 12px;
    color: #fff;
}

.tabs-itself label:hover {
    background-color: #477691;
}

#tab1:checked ~ label[for="tab1"],
#tab2:checked ~ label[for="tab2"],
#tab3:checked ~ label[for="tab3"],
#tab4:checked ~ label[for="tab4"] {
    background-color: #477691;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
}

.nestle-block {
    border-radius: 20px;
    overflow: hidden;
}

.nestle-block img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* Адаптивность - на мобильных устройствах блоки друг под другом */
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
    }
    
    .tabs-block,
    .nestle-block {
        flex: 1 1 100%;
        min-width: auto;
    }
}

/* FAQ section */
.faq-container {
  display: flex;
  max-width: 1568px;
  margin: 40px auto;
  gap: 30px;
}

.quest-answs {
    font-size: 5.75rem;
    color: #195476;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Desktop */
@media (min-width: 768px) {
  .slider-controls {
    padding: 0;
  }

  .slider-prev {
    margin-left: -3rem;
  }

  .slider-next {
    margin-right: -3rem;
  }

  .faq-container {
    flex-direction: row;
  }

  .faq-title {
    display: none;
  }

  .faq-questions, .faq-answers {
    flex: 1 1 50%;
    font-family: 'Barlow Condensed';
    font-weight: 400;
  }

  .faq-answers {
    background: white;
    border-radius: 12px;
    padding: 2.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .faq-container {
    flex-direction: column;
  }

  .faq-questions {
    width: 100%;
    margin-bottom: 20px;
  }

  .faq-answers {
    width: 100%;
    margin-top: 0;
  }
}

.faq-title {
  font-family: 'Barlow Condensed';
  font-size: 1.5rem;
  color: #1a5b8e;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.faq-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #1a5b8e;
}

.faq-list {
  list-style: none;
  padding: 0;
}

.faq-item {
  font-family: 'Barlow Condensed';
  cursor: pointer;
  position: relative;
  padding-left: 20px;
  font-size: 1.5rem;
  color: #999;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.faq-item:hover {
  color: #1a5b8e;
}

.faq-item:hover::before {
  background-color: #1a5b8e;
}

.faq-item.active {
  font-family: 'Barlow Condensed';
  font-size: 3.25rem;
  line-height: 1;
  color: #1a5b8e;
  font-weight: 500;
}

.faq-item.active::before {
  background-color: #1a5b8e;
  opacity: 1;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 2.75rem;
  background-color: #d0d5da;
  opacity: 0.5;
  z-index: 1;
  border-radius: 5px;
}

.faq-answers {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 2.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-placeholder {
  margin-bottom: 20px;
}

.placeholder-text {
  font-family: 'Barlow Condensed';
  color: #5E889F;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.answer-content {
  margin-top: 16px;
}

.answer-question {
  font-family: 'Barlow Condensed';
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  color: #1a5b8e;
  margin-bottom: 2.25rem;
}

.answer-text {
  font-family: 'Helvetica Neue';
  font-size: 1.25rem;
  line-height: 1.1;
  color: #195476;
  margin-bottom: 1.5rem;
}

.contact-block {
  position: absolute;
  bottom: 2.75rem;
  border-top: 1px solid #195476;
  padding-top: 16px;
  width: 85%;
}

.contact-title {
  font-family: 'Barlow Condensed';
  font-weight: 400;
  font-size: 2rem;
  color: #1a5b8e;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: end;
  column-gap: 12px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.phone-item::before {
  content: url('/images/phone-icon.svg');
}

.email-item::before {
  content: url('/images/email-icon.svg');
}

.contact-text {
  font-size: 1.35rem;
  color: #1a5b8e;
}

/* Footer styles */
.main-footer {
    background-color: #195476;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    font-family: 'Barlow Condensed';
    
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-section h4 {
    font-size: 1.5rem;
    font-weight: 400;
}

:is(.footer-section, .footer-bottom) ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

:is(.footer-section, .footer-bottom) :is(a, li) {
    color: #ddd;
    text-decoration: none;
}

:is(.footer-section, .footer-bottom) a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    flex: 0;
    min-width: fit-content;
}

.quick-links, .services, .contact-info {
    flex: 0;
    min-width: fit-content;
}

.site-rules {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

/* Responsive styles */
@media (max-width: 768px) {

.main-header {
    padding: 0 3.5%;
}

.hero-section {
    margin-top: 3rem;
    padding: 3rem 3.5%;
}

.stats-section {
    margin-top: 3rem;
    padding: 0 3.5%;
}

.hero-text h1, .hero-text h2, .hero-text p {
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 20px;
}

.nestle-block {
    border-radius: 20px;
    overflow: hidden;
}

.nestle-block img {
    width: 100%;
    height: 331px;
    border-radius: 20px;
    object-fit: cover;
}

.tabs-container {
    padding: 4.5%;
}

.tab-content {
    padding: 1rem 0;
}

.tabs-itself label {
    font-size: 20px;
}

.container.tabs-section {
    margin-top: 48px;
    padding: 0 3.5%;
}

.office-info h3, .contact-details h3 {
    font-size: 34px;
}

.contact-form h3 {
    font-size: 24px;
}

.contact-form button {
    font-size: 16px;
    padding: 20px;
}

.form-notice.form-notice {
    font-size: 14px;
    line-height: 1.1;
    margin-top: 24px;
}

.contact-section {
    padding: 4.5%;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
}

.slider-prev, .slider-next {
    background-color: transparent;
}

.office-info, .contact-details {
    padding-left: 3.5%;
}

.hero-text {
    order: 1;
}

.hero-text h1, .stats-header-left h2, .supermarkets-section h1, .chains-section h1, .contact-section h2, .quest-answs {
    font-size: 48px;
    text-align: left;
}

.tabs-content > .tab-content > h3 {
    font-size: 40px;
}

.tabs-itself label, .tabs-content > .tab-content > p, .office-info h3.sub1, .contact-details h3.sub1 {
    font-size: 20px;
}

.faq-item.active, .answer-question {
    font-size: 34px;
}

.contact-content {
    gap: 32px;
}

.partners-map > iframe {
    height: 464px;
    object-fit: cover;
    border-radius: 16px;
}

.main-footer {
    padding: 24px 3.5% 24px;
}

.footer-content {
    flex-direction: column;
}

.footer-bottom {
    flex-direction: column;
    row-gap: 24px;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.site-rules {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-menu-container.mobile-open :is(.contact-button, .catalog-button) {
    width: 100%;
}

.header-actions a:last-of-type {
    margin-left: 0;
}

.sub2 {
    line-height: 1.3;
}

.contact-block {
    position: static;
    border-top: 1px solid #195476;
    padding-top: 16px;
    width: 85%;
}

.contact-title {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 1rem;
}

.faq-container {
    margin: 0px auto 24px;
    padding: 0 4.5%;
}

.quest-answs {
    padding: 0 4.5%;
}

.placeholder-text {
    font-size: 20px;
    line-height: 1;
}

.faq-questions {
    margin-bottom: 0;
}

.faq-title {
    display: none;
}

.faq-answers {
    padding: 4% 4.5% 3.5%;
    display: none;
}

.faq-answers-mobile {
    padding: 4% 4.5% 3.5%;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.answer-question {
    margin-bottom: 24px;
}

.tabs-block {
    flex-direction: column;
    row-gap: 1.25rem;
}
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content, .faq-container, .contact-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-slider, .faq-items, .faq-answers {
        width: 100%;
    }
    
    .brand-item {
        width: 150px;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    .supermarket-item {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .partner-item {
        flex: 0 0 calc(25% - 15px);
    }

    .supermarkets-grid {
        flex-wrap: wrap;
    }
}

@media (min-width: 769px) {
    h1 {
        font-size: 92px;
    }
    
    .mobile-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 40px;
  }

  .main-nav {
    display: flex;
    flex-grow: 1;
    justify-content: center;
  }

  .main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
  }

  .mobile-menu-toggle {
    display: none;
  }

    .hero-content, .faq-container {
        flex-direction: row;
        justify-content: space-between;
        column-gap: 5%;
    }
}

@media (max-width: 480px) {
    .supermarket-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .partner-item {
        flex: 0 0 calc(33.333% - 10px);
    }
}

