/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

input:focus {
    outline: none;
}

h2 {
    font-family: "Actay Wide", sans-serif;
    font-size: 52px;
    letter-spacing: -0.02em;
    color: #0b0c0e;
}

h3 {
    font-family: "Actay Wide", sans-serif;
    font-size: 32px;
    letter-spacing: -0.02em;
    color: #0b0c0e;
    margin-bottom: 1em;
}

h3:last-child {
    margin-bottom: 0;
}

/* Базовые стили для параграфов */
p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

.wp-block-button__link {
    font-family: "Actay Wide", sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #fff;
    background: #4778f5;
    padding: 16px 24px;
    width: 153px;
    height: 51px;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: #3A6BE7;
}

.wp-block-button__link:active {
    transform: scale(0.98);
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   VISUALLY HIDDEN (for accessibility)
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   UNIVERSAL CLASSES / TYPOGRAPHY
   ============================================ */

/* Titles */
.title {
    font-family: 'Actay Wide', sans-serif;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #0b0c0e;
    text-transform: uppercase;
}

.title--large {
    font-size: 64px;
}

.title--medium {
    font-size: 52px;
}

.title--small {
    font-size: 32px;
}

.title--italic {
    font-style: italic;
}

.title--white {
    color: #fff;
}

/* Labels */
.label {
    font-family: "Actay Wide", sans-serif;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    color: #bdc3ce;
}

/* Description */
.description {
    font-size: 16px;
    font-weight: 600;
}

.description--large {
    font-size: 18px;
}

.description--white {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    font-family: 'Actay Wide', sans-serif;
    font-style: italic;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn--primary {
    padding: 16px 24px;
    width: 218px;
    height: 51px;
    color: #fff;
    background: #4778f5;
}

.btn--primary:hover {
    background-color: #3A6BE7;
}

.btn--primary:active {
    transform: scale(0.98);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.header--scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header--hidden {
    transform: translateY(-100%);
}

/* Top Bar */
.top-bar {
    padding: 12px 0;
    border-bottom: 1px solid #E5E5E5;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 120%;
}

.top-bar__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 16px;
}

.top-bar__slogan {
    font-size: 14px;
    font-weight: 500;
    color: #0b0c0e;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.top-bar__contact:hover {
    color: #4A7BF7;
}

.top-bar__icon {
    flex-shrink: 0;
}

.top-bar__right {
    display: flex;
    align-items: center;
}

.top-bar__city {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s ease;
    text-align: justify;
}

.top-bar__city:hover {
    color: #4A7BF7;
}

.top-bar__arrow {
    transition: transform 0.3s ease;
}

.top-bar__city-wrapper {
    position: relative;
}

/* Header Main */
.header__main {
    padding: 16px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Header Left (Logo + Catalog) */
.header__left {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-shrink: 0;
}

/* Logo */
.header__logo {
    flex-shrink: 0;
}

.logo__img {
    display: block;
}

/* Catalog */
.header__catalog {
    position: relative;
}

/* Navigation */
.header__nav {
    flex-grow: 1;
}

.nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    gap: 32px;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: justify;
}

.nav__link:hover {
    color: #4A7BF7;
}

.nav__arrow {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown__arrow {
    transform: rotate(180deg);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.header__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: opacity 0.3s ease;
    position: relative;
}

.header__cart:hover {
    opacity: 0.7;
}

.cart__icon {
    flex-shrink: 0;
}

.cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: #21759b;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    line-height: 1;
}

/* ============================================
   MAIN
   ============================================ */

.main {
    flex-grow: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 820px;
    display: flex;
    align-items: end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 32px 0;
}

.container--hero {
    width: 100%;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1032px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__title {
    max-width: 1032px;
}

.hero__title span {
    font-style: italic;
}

.hero__description {
    max-width: 688px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 120px 0 88px 0;
    background-color: #fff;
}

.about__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.about__header {
    width: auto;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
}

.about__title {
    max-width: 1027px;
}

.about__title span {
    font-style: italic;
}

.about__description {
    margin-bottom: 16px;
    max-width: 687px;
}

.about__btn {
    padding: 16px 24px;
    width: 228px;
    height: 51px;

}

/* Stats Wrapper */
.about__stats-wrapper {
    width: 100%;
}

/* Stats Grid */
.about__stats {
    width: 100%;
}

.stats {
    display: flex;
    gap: 20px;
}

.stats__item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 32px;
    padding: 24px;
    max-width: 332px;
    height: 150px;
    background: #f7f7f8;
    width: 100%;

}

.stats__value {
    font-family: "Actay Wide", sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #4778f5 0%, #192d60 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.stats__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    color: #0b0c0e;

}

/* ============================================
   DIRECTIONS SECTION
   ============================================ */

.directions {
    position: relative;
    padding: 80px 0;
    background: #132042;
    overflow: hidden;
}

.directions__pattern {
    position: absolute;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.directions__pattern--1,
.directions__pattern--2 {
    opacity: 0.1;
    width: 280px;
    height: 145px;
}

.directions__pattern--1 {
    right: 0;
    background-position: top right;
}

.directions__pattern--2 {
    right: 280px;
    background-position: top left;
}

.directions__header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}

.directions__header-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.label--white {
    color: rgba(255, 255, 255, 0.6);
}

.directions__title {
    max-width: 1126px;
}

.directions__list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.directions__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.directions__item:first-child {
    border-top: none;
}

.directions__item:hover {
    border-bottom-color: rgba(71, 120, 245, 0.3);
}

.directions__item:first-child:hover {
    border-top-color: rgba(71, 120, 245, 0.3);
}

.directions__item-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.directions__item-title {
    font-family: 'Actay Wide', sans-serif;
    font-style: italic;
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #fff;
    min-width: 300px;
    transition: color 0.3s ease;
    width: 403px;
}

.directions__item:hover .directions__item-title {
    color: #4778f5;
}

.directions__item-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    max-width: 467px;
}

.directions__item-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    transition: color 0.3s ease;
}

.directions__item:hover .directions__item-text {
    color: #4778f5;
}

.directions__item-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, transform 0.3s ease;
}

.directions__item:hover .directions__item-arrow {
    color: #4778f5;
    transform: translate(4px, -4px);
}

.directions__item-image {
    width: 335px;
    height: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

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

.directions__item:hover .directions__item-image {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products {
    padding-top: 120px;
    background-color: #fff;
}

.products__header {
    display: flex;
    margin-bottom: 80px;
    gap: 143px;
}

.products__header-top {
    width: auto;
}

.products__header-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.products__title {
    max-width: 850px;
}

.products__description {
    max-width: 688px;
    margin-bottom: 16px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #F7F7F8;
    overflow: hidden;
    cursor: pointer;
}

.product-card__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.product-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    color: #0B0C0E;

    border: 1px solid #d9d9d9;
    border-radius: 30px;
    padding: 4px 8px;

}

.product-card__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding-top: 68px;
    padding-bottom: 25px;
}

.product-card__image img {
    height: auto;
    object-fit: contain;
}

.product-card__info {
    font-family: "Actay Wide", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 24px 24px;
}

.product-card__title {
    transition: color 0.3s ease;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    color: #0B0C0E;
    text-transform: uppercase;
}

.product-card__price {
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    transition: color 0.3s ease;
    color: rgba(11, 12, 14, 0.5);
}

.product-card:hover .product-card__title {
    color: #4778f5;
}

.product-card:hover .product-card__price {
    color: rgba(71, 120, 245, 0.5);
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote {
    position: relative;
    padding: 80px 0;
    background-color: #0B1F3D;
    overflow: hidden;
    margin-top: 88px;
}

.quote__patterns {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.quote__pattern {
    position: absolute;
    opacity: 0.4;
}

.quote__pattern--1 {
    bottom: 0;
    right: 280px;
    width: 280px;
    height: auto;
    opacity: 0.1;
}

.quote__pattern--2 {
    bottom: 0;
    right: 0;
    width: 280px;
    height: auto;
    opacity: 0.1;
}

.quote__inner {
    position: relative;
    display: flex;
    gap: 40px;
    z-index: 1;
    justify-content: center;
}

.quote__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote__marks {
    width: 100%;
    height: auto;
}

.quote_character {
    max-width: 317px;
    width: 100%;
}

.quote__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}



.quote__text {
    font-family: 'Actay Wide', sans-serif;
    font-size: 48px;
    font-style: italic;
    font-weight: 700;
    line-height: 120%;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
}

.quote__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote__author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.quote__author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote__author-name {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.quote__author-position {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #bdc3ce;
    margin: 0;
}

.quote__badge {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote__check {
    width: 100%;
    height: auto;
}

/* ============================================
   COMPANY SECTION
   ============================================ */

.company {
    padding-top: 120px;
    background-color: #fff;
}

.company__image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
}

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

.company__inner {
    display: flex;
    flex-direction: column;
}

.company__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.company__title {
    max-width: 100%;
    font-size: 48px;
}

.company__title-accent {
    color: #4778f5;
    font-style: italic;
}

.company__text {
    max-width: 100%;
}

.company__info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.company__info-item {
    display: flex;
    flex-direction: column;
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-form {
    position: relative;
    padding: 80px 0;
    background: #132042;
    overflow: hidden;
    margin-top: 88px;
}

.contact-form__pattern {
    position: absolute;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.contact-form__pattern--1,
.contact-form__pattern--2 {
    width: 280px;
    height: 145px;
}

.contact-form__pattern--1 {
    right: 0;
    background-position: top right;
}

.contact-form__pattern--2 {
    right: 280px;
    background-position: top left;
}

.contact-form__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.contact-form__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__title {
    max-width: 1200px;
}

.contact-form__body {
    display: flex;
    gap: 56px;
    align-items: start;
}

.contact-form__image {
    width: 660px;
    height: 405px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.contact-form__content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Form Styles */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__group {
    width: 100%;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 16px 12px;
    background: #ffffff0d;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: #fff;
    height: 51px;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    color: #fff;
    margin-left: -16px;
}

.checkbox__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox__box {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #ffffff0d;
    border: none;
    transition: background 0.3s ease;
}

.checkbox__box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L4.5 8.5L2 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.checkbox__input:checked+.checkbox__box {
    background: #4778f5;
    border: none;
}

.checkbox__input:checked+.checkbox__box::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox__text {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.form__submit {
    align-self: flex-start;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */

.partners {
    padding-top: 120px;
    background-color: #fff;
}

.partners__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.partners__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F7F8;
    min-height: 200px;
    width: 332px;
    height: 332px;
    flex: 0 0 calc(25% - 15px);
}

.partners__item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ============================================
   CERTIFICATE SECTION
   ============================================ */

.certificate {
    padding-top: 120px;
    background-color: #fff;
}

.certificate__inner {
    display: flex;
    align-items: end;
    gap: 80px;
}

.certificate__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.certificate__label {
    margin-bottom: 8px;
}

.certificate__description {
    margin-bottom: 8px;
}

.certificate__title {
    max-width: 600px;
}

.certificate__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 688px;
}

.certificate__btn {
    width: 248px;
}

.certificate__image {
    overflow: hidden;
}

.certificate__image img {
    object-fit: cover;
    display: block;
}

/* ============================================
   NEWS SECTION
   ============================================ */

.news {
    padding-top: 120px;
    background-color: #fff;
}

.news__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.news__header-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news__btn {
    width: 159px;
}

.news__title {
    max-width: 1185px;
}

.news__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.news__item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}

.news__item-image {
    max-width: 332px;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.news__item--large .news__item-image {
    max-width: 680px;
    width: 100%;
    height: 400px;
}

.news__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news__item:hover .news__item-image img {
    transform: scale(1.05);
}

.news__item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0 0 0;
}

.news__item-title {
    font-family: 'Actay Wide', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: normal;
    color: #0B0C0E;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.news__item:hover .news__item-title {
    color: #4778f5;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 24px 0 32px 0;
    background-color: #132042;
    font-family: 'Actay Wide', sans-serif;
    margin-top: 88px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Top: Logo & Social */
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.footer__logo img {
    display: block;
    height: auto;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: opacity 0.3s ease;
}

.footer__social-link img {
    width: 32px;
    height: 32px;
    display: block;
}

.footer__social-link:hover {
    opacity: 0.7;
}

/* Columns: 3 Navigation Columns */
.footer__columns {
    display: flex;
    gap: 60px;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.footer__column--catalog {
    flex: 2;
}

.footer__catalog-grid {
    display: flex;
    gap: 100px;
}

.footer__column-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.footer__column-link {
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: #fff;

}

.footer__column-link:hover {
    color: #4778f5;
}

/* Contacts Column */
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-transform: uppercase;
}

.footer__contact-group {
    display: flex;
    flex-direction: column;
}

.footer__contact-label {
    margin-bottom: 8px;
}

.footer__contact-link {
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer__contact-link:hover {
    color: #4778f5;
}

.footer__contact-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    color: #ffffff;
}

.footer__divider {
    border-top: 1px solid #71798e;
}

/* Footer Bottom */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__bottom-left {
    display: flex;
    align-items: center;
    gap: 96px;
}

.footer__bottom-link {
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.3s ease;
}

.footer__bottom-link:hover {
    color: #4778f5;
}

.footer__bottom-right {
    display: flex;
    gap: 16px;
}

.footer__bottom-btn {
    background: #324679;

}

/* ============================================
   COMPONENTS
   ============================================ */

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown__arrow {
    transition: transform 0.3s ease;
}

.dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}

.dropdown__menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown__menu--right {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__item {
    position: relative;
}

.dropdown__link {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown__link:hover {
    background-color: #F5F7FA;
    color: #4A7BF7;
}

/* Burger Button */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.burger__line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__body {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    padding: 24px;
    background-color: #ffffff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.mobile-menu.active .mobile-menu__body {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.mobile-menu__close {
    position: relative;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #1a1a1a;
    border-radius: 2px;
}

.mobile-menu__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__nav {
    margin-bottom: 32px;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu__item {
    border-bottom: 1px solid #E5E5E5;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: #4778f5;
}

.mobile-menu__link--dropdown img {
    transition: transform 0.3s ease;
}

.mobile-menu__link--dropdown.active img {
    transform: rotate(180deg);
}

.mobile-menu__submenu {
    display: none;
    padding-bottom: 16px;
}

.mobile-menu__submenu.active {
    display: block;
}

.mobile-menu__sublink {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    transition: color 0.3s ease;
}

.mobile-menu__sublink:hover {
    color: #4778f5;
}

.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-menu__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.mobile-menu__contact:hover {
    color: #4778f5;
}

.mobile-menu__btn {
    width: 100%;
}

/* Body lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet - Large (1310px - 1200px) */

@media (max-width: 1310px) {
    .container {
        padding: 0 24px;
    }

    .header__left {
        gap: 32px;
    }

    .nav__list {
        gap: 24px;
    }

    .nav__link {
        font-size: 15px;
    }

    .header__actions {
        gap: 16px;
    }

    /* Universal Typography */
    .title--large {
        font-size: 48px;
    }

    .title--medium {
        font-size: 42px;
    }

    .description {
        font-size: 17px;
    }

    /* Hero */
    .hero {
        height: 750px;
    }

    /* About */
    .about {
        padding: 80px 0;
    }

    .stats__value {
        font-size: 42px;
    }

    .stats__label {
        font-size: 15px;
    }

    /* Directions */
    .directions {
        padding: 80px 0;
    }

    .directions__header {
        margin-bottom: 50px;
    }

    .directions__item-title {
        font-size: 28px;
        min-width: 250px;
    }

    .directions__item-text {
        font-size: 15px;
    }

    /* Products */
    .products {
        padding: 80px 0;
    }

    .products__header {
        margin-bottom: 50px;
    }

    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Quote */
    .quote {
        padding: 80px 0;
    }

    .quote__text {
        font-size: 40px;
    }

    .quote__pattern--1,
    .quote__pattern--2 {
        width: 160px;
    }

    /* Contact Form */
    .contact-form {
        padding: 80px 0;
    }

    .contact-form__inner {
        gap: 50px;
    }

    .contact-form__body {
        gap: 60px;
    }

    .contact-form__image {
        width: 580px;
        height: 360px;
    }

    /* Partners */

    .partners__item {
        padding: 32px;
        min-height: 180px;
        flex: 0 0 calc(25% - 15px);
    }

    /* Certificate */
    .certificate {
        padding: 100px 0;
    }

    .certificate__inner {
        gap: 60px;
    }

    /* News */
    .news {
        padding: 100px 0;
    }

    .news__header {
        margin-bottom: 50px;
    }

    .news__item-image {
        height: 360px;
    }

    .news__item--large .news__item-image {
        height: 450px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 70px 0;
    }

    .footer__inner {
        gap: 40px;
    }

    .footer__columns {
        gap: 50px;
    }

    .footer__catalog-grid {
        gap: 50px;
    }

    .footer__bottom {
        margin-top: 36px;
    }

    .footer__bottom-left {
        gap: 20px;
    }

}

/* Tablet - Medium (1200px - 1100px) */

@media (max-width: 1200px) {
    .header__inner {
        gap: 24px;
    }

    .header__left {
        gap: 24px;
    }

    .nav__list {
        gap: 20px;
    }

    .nav__link {
        font-size: 14px;
    }

    .logo__img {
        width: 160px;
        height: auto;
    }

    .btn--primary {
        padding: 12px 16px;
        height: 45px;
        font-size: 14px;
    }

    .top-bar__left {
        gap: 12px;
    }

    .top-bar__slogan {
        font-size: 13px;
    }

    .top-bar__contact {
        font-size: 13px;
    }

    /* Universal Typography */
    .title--large {
        font-size: 42px;
    }

    .title--medium {
        font-size: 38px;
    }

    .description {
        font-size: 16px;
    }

    /* Hero */
    .hero {
        padding: 60px 0;
    }

    /* About */
    .about {
        padding: 70px 0;
    }

    .about__inner {
        gap: 50px;
    }

    .about__info {
        gap: 25px;
        flex-direction: column;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats__item {
        padding: 28px 20px;
    }

    .stats__value {
        font-size: 40px;
    }

    .stats__label {
        font-size: 14px;
    }

    /* Directions */
    .directions {
        padding: 70px 0;
    }

    .directions__header {
        margin-bottom: 40px;
    }

    .directions__item {
        padding: 28px 0;
    }

    .directions__item-title {
        font-size: 26px;
        min-width: 220px;
    }

    .directions__item-text {
        font-size: 15px;
        max-width: 500px;
    }


    .directions__pattern--1 {
        display: none;
    }

    .directions__pattern--2 {
        display: none;
    }

    /* Contact Form */
    .contact-form {
        padding: 70px 0;
    }

    .contact-form__inner {
        gap: 40px;
    }

    .contact-form__body {
        gap: 50px;
    }

    .contact-form__image {
        width: 520px;
        height: 320px;
    }

    /* Partners */

    .partners__item {
        padding: 28px;
        min-height: 160px;
        flex: 0 0 calc(50% - 10px);
    }

    /* Certificate */
    .certificate {
        padding: 80px 0;
    }

    .certificate__inner {
        gap: 50px;
    }

    .certificate__content {
        gap: 20px;
    }

    /* News */
    .news {
        padding: 80px 0;
    }

    .news__header {
        margin-bottom: 40px;
    }

    .news__item-image {
        height: 340px;
    }

    .news__item--large .news__item-image {
        max-width: 550px;
        width: 100%;
        height: 400px;
    }

    .news__item-title {
        font-size: 22px;
    }

    /* Footer */
    .footer {
        padding: 45px 0 60px 0;
    }

    .footer__inner {
        gap: 36px;
    }

    .footer__logo img {
        width: 150px;
    }

    .footer__columns {
        gap: 40px;
    }

    .footer__catalog-grid {
        gap: 40px;
    }


    .footer__bottom {
        margin-top: 32px;
    }
}

/* Tablet - Small (1100px - 900px) */

@media (max-width: 1100px) {
    .header__inner {
        gap: 16px;
    }

    .header__left {
        gap: 20px;
    }

    .nav__list {
        gap: 16px;
    }

    .nav__link {
        font-size: 13px;
    }

    .logo__img {
        width: 140px;
    }

    .btn--primary {
        padding: 10px 12px;
        height: 42px;
        font-size: 13px;
    }

    .header__cart {
        width: 40px;
        height: 40px;
    }

    .cart__icon {
        width: 20px;
        height: 20px;
    }

    .top-bar__left {
        gap: 10px;
    }

    .top-bar__slogan {
        font-size: 12px;
    }

    .top-bar__contact {
        font-size: 12px;
    }

    .top-bar__city {
        font-size: 12px;
    }

    /* Universal Typography */
    .title--large {
        font-size: 36px;
    }

    .title--medium {
        font-size: 34px;
    }

    .description {
        font-size: 15px;
    }

    /* Hero */
    .hero {
        padding: 50px 0;
    }

    /* About */
    .about {
        padding: 60px 0;
    }

    .about__inner {
        gap: 40px;
    }

    /* Directions */
    .directions {
        padding: 60px 0;
    }

    .directions__item-title {
        font-size: 24px;
        min-width: 200px;
    }

    .directions__item-info {
        gap: 30px;
    }

    .directions__item-text {
        max-width: 450px;
    }

    .directions__item {
        padding: 15px 0;
    }

    /* Products */
    .products {
        padding: 60px 0;
    }

    .product-card__image {
        min-height: 260px;
    }

    .product-card__title {
        font-size: 17px;
    }

    .product-card__price {
        font-size: 15px;
    }

    /* Quote */
    .quote {
        padding: 60px 0;
    }

    .quote__text {
        font-size: 32px;
    }

    .quote__pattern--1 {
        right: 14.5%;
    }

    .quote_character {
        max-width: 155px;
        width: 100%;
    }

    /* Company */

    .company__image {
        height: 450px;
        margin-bottom: 40px;
    }

    .company__content {
        gap: 20px;
    }

    /* Contact Form */
    .contact-form {
        padding: 60px 0;
    }

    .contact-form__inner {
        gap: 36px;
    }

    .contact-form__body {
        gap: 40px;
    }

    .contact-form__image {
        width: 480px;
        height: 300px;
    }

    /* Partners */

    .partners__item {
        padding: 24px;
        min-height: 150px;
    }

    /* Certificate */
    .certificate {
        padding: 70px 0;
    }

    .certificate__inner {
        gap: 40px;
    }

    .certificate__image {
        width: 420px;
    }

    /* News */
    .news {
        padding: 70px 0;
    }

    .news__item-image {
        height: 320px;
    }

    .news__item--large .news__item-image {
        height: 380px;
    }

    .news__item-title {
        font-size: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 50px 0;
    }

    .footer__inner {
        gap: 32px;
    }

    .footer__logo img {
        width: 140px;
    }

    .footer__columns {
        gap: 32px;
    }

    .footer__catalog-grid {
        gap: 32px;
    }

    .footer__bottom {
        margin-top: 28px;
    }

    .footer__bottom-left {
        gap: 16px;
    }
}

/* Mobile (≤900px) */

@media (max-width: 900px) {
    .container {
        padding: 0 16px;
    }

    /* Show burger */
    .burger {
        display: flex;
    }

    /* Hide desktop elements */
    .top-bar {
        display: none;
    }

    .header__catalog {
        display: none;
    }

    .header__nav {
        display: none;
    }

    /* Hide only the button, keep cart visible */
    .header__btn {
        display: none;
    }

    /* Adjust header */
    .header__main {
        padding: 12px 0;
    }

    .header__inner {
        justify-content: space-between;
        gap: 16px;
    }

    .header__left {
        gap: 0;
    }

    .logo__img {
        width: 140px;
    }

    /* Cart and burger alignment */
    .header__actions {
        gap: 12px;
        margin-left: 0;
    }

    .header__cart {
        width: 40px;
        height: 40px;
    }

    .cart__icon {
        width: 22px;
        height: 22px;
    }

    /* Universal Typography */
    .title--large {
        font-size: 32px;
    }

    .title--medium {
        font-size: 30px;
    }

    .btn--primary {
        width: 100%;
        max-width: 228px;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
    }

    /* About */
    .about {
        padding: 50px 0;
    }

    .about__inner {
        gap: 36px;
    }

    .stats {
        flex-direction: column;
        gap: 16px;
    }

    .stats__item {
        justify-content: center;
        max-width: 100%;
        padding: 24px 20px;
    }

    .stats__value {
        font-size: 36px;
    }

    .stats__label {
        font-size: 14px;
    }

    /* Directions */
    .directions {
        padding: 50px 0;
    }

    .directions__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 36px;
    }

    .directions__item {
        padding: 24px 0;
    }

    .directions__item-content {
        flex-direction: column;
        align-items: start;
        gap: 32px;
        justify-content: center;
    }

    .directions__item-title {
        font-size: 22px;
        min-width: auto;
    }

    .directions__item-info {
        width: 100%;
        gap: 20px;
    }

    .directions__item-text {
        font-size: 14px;
        max-width: none;
    }

    .directions__item-image {
        opacity: 1;
        visibility: visible;
    }

    .directions__pattern {
        opacity: 0.2;
    }

    .directions__pattern--1 {
        width: 400px;
        height: 400px;
    }

    .directions__pattern--2 {
        right: 400px;
        width: 400px;
        height: 400px;
    }

    /* Products */
    .products {
        padding: 50px 0;
    }

    .products__header {
        margin-bottom: 36px;
        flex-direction: column;
        gap: 16px;
    }

    .products__header-left {
        gap: 20px;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card__image {
        min-height: 240px;
        padding: 32px 20px;
    }

    .product-card__info {
        padding: 20px;
    }

    .product-card__title {
        font-size: 16px;
    }

    .product-card__price {
        font-size: 14px;
    }

    /* Quote */
    .quote {
        padding: 50px 0;
    }

    .quote__inner {
        flex-direction: column;
        gap: 32px;
    }

    .quote__text {
        font-size: 28px;
    }

    .quote__icon {
        width: 60px;
        height: 60px;
    }

    .quote__pattern--1,
    .quote__pattern--2 {
        display: none;
    }

    .quote_character img {
        width: 50px;
    }

    /* Company */

    .company__image {
        height: 400px;
        margin-bottom: 36px;
    }

    .company__content {
        gap: 20px;
    }

    .company__info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact Form */
    .contact-form {
        padding: 50px 0;
    }

    .contact-form__inner {
        gap: 36px;
    }

    .contact-form__body {
        flex-direction: column;
        gap: 36px;
    }

    .contact-form__image {
        width: 100%;
        height: 300px;
    }

    .form {
        gap: 14px;
    }

    /* Partners */
    .partners {
        padding-top: 56px;
    }

    .partners__grid {
        gap: 16px;
    }

    .partners__item {
        padding: 20px;
        min-height: 140px;
        height: 285px;
    }

    /* Certificate */
    .certificate {
        padding: 60px 0;
    }

    .certificate__inner {
        flex-direction: column;
        gap: 36px;
        align-items: start;
    }

    .certificate__content {
        gap: 20px;
    }

    .certificate__text {
        gap: 12px;
    }

    .certificate__image {
        width: 100%;
        display: flex;
        justify-content: center;
    }


    /* News */
    .news {
        padding: 60px 0;
    }

    .news__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 36px;
    }

    .news__grid {
        flex-direction: column;
    }

    .news__item-image {
        height: 515px;
        max-width: 100%;
    }

    .news__item--large .news__item-image {
        height: 515px;
        max-width: 100%;
    }

    .news__item-content {
        padding: 20px 0 0 0;
    }

    .news__item-title {
        font-size: 18px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 50px 0;
    }

    .footer__inner {
        gap: 36px;
    }

    .footer__columns {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer__column {
        flex: 0 0 calc(50% - 16px);
    }

    .footer__column--catalog {
        flex: 0 0 calc(50% - 16px);
    }

    .footer__catalog-grid {
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 32px;
    }

    .footer__bottom-right {
        width: 100%;
        flex-direction: column;
    }

    .footer__bottom-right .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile - Small (≤600px) */
@media (max-width: 600px) {

    .logo__img {
        width: 120px;
    }

    .header__actions {
        gap: 8px;
    }

    .header__cart {
        width: 36px;
        height: 36px;
    }

    .burger {
        width: 28px;
        height: 28px;
    }

    .burger__line {
        width: 20px;
    }

    .mobile-menu__body {
        max-width: 320px;
        padding: 20px;
    }

    /* Universal Typography */
    .title--large {
        font-size: 28px;
    }

    .title--medium {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding: 32px 0;
    }

    /* About */
    .about {
        padding: 40px 0;
    }

    .about__inner {
        gap: 32px;
    }

    .stats__value {
        font-size: 32px;
    }

    .stats__label {
        font-size: 13px;
    }

    /* Directions */
    .directions {
        padding: 40px 0;
    }

    .directions__header {
        margin-bottom: 32px;
    }

    .directions__item {
        padding: 20px 0;
    }

    .directions__item-title {
        font-size: 20px;
    }

    .directions__item-arrow {
        width: 20px;
        height: 20px;
    }

    .directions__pattern--1 {
        width: 300px;
        height: 300px;
    }

    .directions__pattern--2 {
        right: 300px;
        width: 300px;
        height: 300px;
    }

    /* Products */
    .products {
        padding: 40px 0;
    }

    .products__header {
        margin-bottom: 32px;
    }

    .product-card__image {
        min-height: 220px;
        padding: 24px 16px;
    }

    .product-card__info {
        padding: 16px;
    }

    .product-card__badge {
        font-size: 13px;
        padding: 4px 10px;
    }

    /* Quote */
    .quote {
        padding: 40px 0;
    }

    .quote__text {
        font-size: 24px;
    }

    .quote__author-photo {
        width: 40px;
        height: 40px;
    }

    .quote__author-name,
    .quote__author-position {
        font-size: 14px;
    }

    .quote__icon {
        width: 48px;
        height: 48px;
    }

    .quote__badge {
        width: 64px;
        height: 64px;
    }

    .quote__pattern--1,
    .quote__pattern--2 {
        width: 80px;
    }

    /* Company */
    .company {
        padding-top: 60px;
    }

    .company__image {
        height: 350px;
        margin-bottom: 32px;
    }

    .company__content {
        gap: 16px;
    }

    .company__info {
        gap: 16px;
    }

    /* Contact Form */
    .contact-form {
        padding: 40px 0;
    }

    .contact-form__inner {
        gap: 32px;
    }

    .contact-form__body {
        gap: 32px;
    }

    .contact-form__image {
        width: 100%;
        height: 250px;
    }

    .form__input,
    .form__textarea {
        padding: 14px 16px;
        font-size: 15px;
    }

    .checkbox__text {
        font-size: 13px;
    }

    /* Partners */

    .partners__item {
        padding: 16px;
        min-height: 120px;
        height: 240px;
    }

    /* Certificate */
    .certificate {
        padding: 50px 0;
    }

    .certificate__inner {
        gap: 32px;
    }

    .certificate__content {
        gap: 16px;
    }

    .certificate__image {
        height: 350px;
    }

    /* News */
    .news {
        padding: 50px 0;
    }

    .news__header {
        margin-bottom: 32px;
    }

    .news__item-image {
        height: 280px;
    }

    .news__item--large .news__item-image {
        height: 320px;
    }

    .news__item-title {
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 32px 0 40px 0;
    }

    .footer__inner {
        gap: 28px;
    }

    .footer__contacts {
        gap: 20px;
    }

    .footer__columns {
        flex-direction: column;
        gap: 28px;
    }

    .footer__column {
        flex: 1;
        gap: 12px;
    }

    .footer__column--catalog {
        flex: 1;
    }

    .footer__catalog-grid {
        flex-direction: column;
        gap: 24px;
    }

    .footer__bottom {
        gap: 20px;
        margin-top: 28px;
    }

    .footer__bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Mobile - Extra Small (≤400px) */
@media (max-width: 400px) {
    .logo__img {
        width: 100px;
    }

    .mobile-menu__body {
        max-width: 280px;
        padding: 16px;
    }

    /* Universal Typography */
    .title--large {
        font-size: 32px;
    }

    .title--medium {
        font-size: 27px;
    }

    /* Hero */
    .hero {
        padding: 28px 0;
    }

    .hero__btn {
        max-width: 100%;
    }

    /* About */
    .about {
        padding: 32px 0;
    }

    .stats__value {
        font-size: 28px;
    }

    .stats__label {
        font-size: 12px;
    }

    /* Directions */
    .directions {
        padding: 32px 0;
    }

    .directions__item-title {
        font-size: 18px;
    }

    .directions__pattern--1 {
        width: 250px;
        height: 250px;
    }

    .directions__pattern--2 {
        right: 250px;
        width: 250px;
        height: 250px;
    }

    /* Products */
    .products {
        padding: 32px 0;
    }

    .products__header-left {
        gap: 16px;
    }

    .product-card__image {
        min-height: 200px;
        padding: 20px 12px;
    }

    .product-card__title {
        font-size: 15px;
    }

    .product-card__price {
        font-size: 13px;
    }

    .product-card__badge {
        font-size: 12px;
        padding: 4px 8px;
    }

    /* Quote */
    .quote {
        padding: 32px 0;
    }

    .quote__inner {
        gap: 24px;
    }

    .quote__text {
        font-size: 20px;
    }

    .quote__author-photo {
        width: 48px;
        height: 48px;
    }

    .quote__author-name {
        font-size: 13px;
    }

    .quote__author-position {
        font-size: 11px;
    }

    .quote__icon {
        width: 40px;
        height: 40px;
    }

    .quote__badge {
        width: 56px;
        height: 56px;
    }

    .quote__pattern--1,
    .quote__pattern--2 {
        width: 60px;
    }

    /* Company */

    .company__image {
        height: 300px;
        margin-bottom: 28px;
    }

    .company__content {
        gap: 16px;
    }

    /* Contact Form */
    .contact-form {
        padding: 32px 0;
    }

    .contact-form__inner {
        gap: 28px;
    }

    .contact-form__body {
        gap: 28px;
    }

    .contact-form__image {
        width: 100%;
        height: 220px;
    }

    .form__input,
    .form__textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form__submit {
        width: 100%;
    }

    .checkbox__text {
        font-size: 12px;
    }

    /* Partners */

    .partners__item {
        padding: 16px;
        min-height: 100px;
        height: 180px;
    }

    /* Certificate */
    .certificate {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .certificate__inner {
        gap: 28px;
    }

    .certificate__image {
        height: 300px;
    }

    /* News */
    .news {
        padding: 56px 0;
    }

    .news__header-left {
        gap: 20px;
    }

    .news__item-image {
        height: 250px;
    }

    .news__item--large .news__item-image {
        height: 280px;
    }

    .news__item-content {
        padding: 16px 0 0 0;
    }

    .news__item-title {
        font-size: 15px;
    }

    .news__item-year {
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 28px 0 36px 0;
    }

    .footer__inner {
        gap: 24px;
    }

    .footer__logo img {
        width: 120px;
    }

    .footer__contacts {
        gap: 16px;
    }

    .footer__columns {
        gap: 24px;
    }

    .footer__catalog-grid {
        gap: 20px;
    }

    .footer__column-title {
        font-size: 13px;
    }
}

/* ============================================
   TABLE RESPONSIVE SCROLL
   ============================================ */

/* ВСЕ таблицы на сайте имеют горизонтальный скролл */
table:not(.no-scroll) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
}

/* Tbody, thead, tfoot должны быть display: table для правильной работы */
table:not(.no-scroll) thead,
table:not(.no-scroll) tbody,
table:not(.no-scroll) tfoot {
    display: table;
    width: 100%;
}

/* Строки таблицы */
table:not(.no-scroll) tr {
    display: table-row;
}

/* Ячейки таблицы - НЕ УМЕНЬШАЮТСЯ */
table:not(.no-scroll) th,
table:not(.no-scroll) td {
    display: table-cell;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e0e0e0;
    white-space: nowrap; /* КЛЮЧЕВОЕ: запрещаем перенос текста */
    min-width: fit-content; /* Ячейки не уменьшаются меньше контента */
}

/* Заголовки таблицы */
table:not(.no-scroll) th {
    background-color: #f7f7f8;
    font-weight: 700;
    color: #0b0c0e;
}

/* Ячейки данных */
table:not(.no-scroll) td {
    background-color: #fff;
}

/* Кастомный скроллбар для таблиц */
table:not(.no-scroll)::-webkit-scrollbar {
    height: 8px;
}

table:not(.no-scroll)::-webkit-scrollbar-track {
    background: #f7f7f8;
    border-radius: 4px;
}

table:not(.no-scroll)::-webkit-scrollbar-thumb {
    background: #bdc3ce;
    border-radius: 4px;
}

table:not(.no-scroll)::-webkit-scrollbar-thumb:hover {
    background: #4778f5;
}

/* Опциональная обертка для таблиц */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.table-wrapper table {
    display: table;
    overflow-x: visible;
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f7f7f8;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #bdc3ce;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #4778f5;
}

/* Адаптивность */
@media (max-width: 768px) {
    table:not(.no-scroll) th,
    table:not(.no-scroll) td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    table:not(.no-scroll) th,
    table:not(.no-scroll) td {
        padding: 8px 10px;
        font-size: 13px;
    }

    table:not(.no-scroll)::-webkit-scrollbar {
        height: 6px;
    }
}