/*!
Theme Name: avtotehsnab
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: avtotehsnab
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

avtotehsnab is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

:root {
    --color-primary: #8B5A2B;
    --color-primary-dark: #6B4423;
    --color-primary-light: #A67C52;
    --color-accent: #D4A574;
    --color-bg: #FAF8F5;
    --color-bg-alt: #1a1207;
    --color-bg-dark: #2C241C;
    --color-text: #2C241C;
    --color-text-light: #6B5B4F;
    --color-white: #FFFFFF;
    --color-border: #E8DFD3;
    --shadow-sm: 0 2px 8px rgba(44, 36, 28, 0.06);
    --shadow-md: 0 8px 24px rgba(44, 36, 28, 0.08);
    --shadow-lg: 0 16px 48px rgba(44, 36, 28, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body, p, a, ul, li, h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container, .site-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.site-main {
    padding-top: 30px;
    padding-bottom: 40px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.section {
    padding: 80px 0;
}

.section__head {
    text-align: center;
    margin-bottom: 64px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section__title--left {
    text-align: left;
}

.section__subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--color-text-light);
}

.title-samples {
    color: #E8DFD3;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(139, 90, 43, 0.25);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 90, 43, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--ghost:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo__img {
    height: 58px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover .logo__img {
    transform: scale(1.05);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    transition: var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav__link:hover {
    color: var(--color-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    padding: 10px 22px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

.nav__link--cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.nav__link--cta::after {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 3px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero {
    padding: 70px 0 100px;
    background:
        radial-gradient(ellipse at top right, rgba(139, 90, 43, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(212, 165, 116, 0.12) 0%, transparent 50%),
        var(--color-bg);
    overflow: hidden;
    position: relative;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}


.hero__title {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
}

.hero__benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.hero__benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-size: 18px;
    flex-shrink: 0;
}

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

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__deco {
    position: absolute;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero__deco--1 {
    width: 90%;
    height: 90%;
    top: -20px;
    right: -20px;
    background: var(--color-accent);
    opacity: 0.3;
}

.hero__deco--2 {
    width: 70%;
    height: 70%;
    bottom: -24px;
    left: -24px;
    background: var(--color-primary-light);
    opacity: 0.2;
}

.catalog {
    background: var(--color-white);
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.catalog-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.card-box {
    background-image: url('./inc/img/p-derevjannye-jashhmki.jpg');
}
.card-pallet {
    background-image: url('./inc/img/p-poddoni.jpg');
}
.card-rack {
    background-image: url('./inc/img/p-podstavki.jpg');
}
.card-lumber {
    background-image: url('./inc/img/p-pilomaterialy.jpg');
}
.card-recyclable {
    background-image: url('./inc/img/p-vtorsyrie.jpg');
}
.card-nonstandard {
    background-image: url('./inc/img/p-nestandartnaya-tara.jpg');
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.catalog-card:hover::before {
    transform: scaleX(1);
}

.catalog-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    text-shadow: 3px 3px 5px black;
    padding-top: 80px;
}

.catalog-card__desc {
    font-size: 15px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: black 2px 2px 3px;
}

.catalog-card__more {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
    background: white;
    padding: 6px 15px;
    border-radius: 5px;
}

.boxes {
    background: var(--color-bg-alt);
}

.boxes-slider {
    position: relative;
    margin-bottom: 40px;
}

.boxes-slider__viewport {
    overflow: hidden;
    margin: 0 52px;
    border-radius: 16px;
}

.boxes-slider__track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.box-card {
    flex: 0 0 calc((100% - (var(--per-view, 3) - 1) * 32px) / var(--per-view, 3));
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.box-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.box-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.box-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.box-card:hover .box-card__img img {
    transform: scale(1.06);
}

.box-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    padding: 20px 24px 24px;
    margin: 0;
}

.boxes-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.boxes-slider__arrow:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.boxes-slider__arrow:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.boxes-slider__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.boxes-slider__arrow--prev {
    left: 0;
}

.boxes-slider__arrow--next {
    right: 0;
}

.boxes-slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.boxes-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition);
}

.boxes-slider__dot.active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 999px;
}

.boxes__note {
    text-align: center;
    font-size: 15px;
    color: var(--color-white);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about__text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
.tara-kinds {
    color: var(--color-primary); 
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 10px;
}
.tara-types li {
  position: relative;
  padding-left: 20px; /* Отступ для своего маркера */
}
.tara-types li::before {
  content: "•";       /* Символ точки или любой другой символ */
  color: var(--color-primary);     /* Нужный цвет */
  position: absolute;
  left: 0;
}

.stat__num {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

.features {
    background: var(--color-white);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 36px 32px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--color-white);
    border-color: var(--color-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-sm);
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-card__desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #3D3328 100%);
    color: var(--color-white);
}

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

.benefit-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-2px);
}

.benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(212, 165, 116, 0.15);
    border-radius: var(--radius-sm);
    font-size: 26px;
    flex-shrink: 0;
}

.benefit-card__title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.benefit-card__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.spheres {
    background: var(--color-bg-alt);
}

.spheres__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sphere-card {
    padding: 40px 32px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid white;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sphere-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.sphere-card__info {
    background: var(--color-white);
    padding: 10px;
    border-radius: 8px;
    margin-top: 70px;
}

.sphere-1 {
    background-image: url('./inc/img/scope-1.jpg');
}
.sphere-2 {
    background-image: url('./inc/img/scope-2.jpg');
}
.sphere-3 {
    background-image: url('./inc/img/scope-3.jpg');
}
.sphere-4 {
    background-image: url('./inc/img/scope-4.jpg');
}
.sphere-5 {
    background-image: url('./inc/img/scope-5.jpg');
}
.sphere-6 {
    background-image: url('./inc/img/scope-6.jpg');
}

.sphere-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.sphere-card__desc {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.clients {
    background: var(--color-white);
}

.clients__marquee {
    overflow: hidden;
    padding: 32px 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.clients__track {
    display: flex;
    align-items: center;
    gap: 26px;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
}

.clients__item {
    flex-shrink: 0;
    transition: var(--transition);
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients__img {
    height: 90px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.9;
    transition: var(--transition);
}

.clients__item:hover .clients__img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-list {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.partners-list img {
    width: 100px;
}

.cta-section {
    background: var(--color-bg);
}

.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 64px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

.cta__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    position: relative;
}

.cta__desc {
    font-size: 17px;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.input {
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: var(--transition);
    outline: none;
}

.input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.25);
}

.input::placeholder {
    color: var(--color-text-light);
}

.cta__form input {
    margin-top: 14px;
}
.cta__form .wpcf7-form-control {
    width: 100% !important;
}

.cta__form .btn--primary, .send-request input {
    background: var(--color-bg-dark);
    border-color: var(--color-bg-dark);
    margin-top: 4px;
}

.cta__form .btn--primary:hover, .send-request input:hover {
    background: #1f1a14;
    border-color: #1f1a14;
    cursor: pointer;
}

.send-request input {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: white;
    transition: var(--transition);
    outline: none;    
    background: var(--color-bg-dark);
    border-color: var(--color-bg-dark);
    margin-top: 0;
}
.send-request input:hover {
    background: #1f1a14;
    border-color: #1f1a14;
}

.privacy-txt {
    margin-top: 15px;    
    margin-bottom: 10px;    
}
.privacy-txt a {
    color: var(--color-accent);    
}

.contacts {
    background: var(--color-bg-alt);
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-item-column {
    flex-direction: column;
}

.contact-phones {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.contact-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-sm);
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-item__value {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

.contact-item__link {
    display: block;
    margin-bottom: 4px;
    transition: var(--transition);
}

.contact-item__link:last-child {
    margin-bottom: 0;
}

.contact-item__link:hover {
    color: var(--color-primary);
}
.contact-soc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 8px 0;
}

.footer {
    background: var(--color-bg-dark);
    color: var(--color-white);
    padding: 40px 0;
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.credits a {
    opacity: 0.6;
    font-size: 12px;
}

.logo--footer .logo__img {
    height: 64px;
    filter: none;
}

.footer__desc {
    font-size: 14px;
    opacity: 0.6;
    margin-top: 8px;
}

.footer__copy {
    font-size: 14px;
    opacity: 0.6;
}

.to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(139, 90, 43, 0.4);
    z-index: 90;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .site-main,
    .hero__container,
    .about__container,
    .cta {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__image {
        max-width: 560px;
        margin: 0 auto;
    }

    .cta {
        padding: 48px 36px;
    }

    .catalog__grid,
    .activities__grid,
    .features__grid,
    .spheres__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .boxes-slider__viewport {
        margin: 0 44px;
    }

    .boxes-slider__arrow {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contacts__info-small {
            margin-bottom: 32px;
    }

    .about__image {
        max-width: 560px;
        margin: 0 auto;
    }

    .nav__list {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .nav__list {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-bg);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav__list.active {
        transform: translateY(0);
    }

    .nav__link {
        display: block;
        padding: 12px 0;
        font-size: 17px;
    }

    .nav__link--cta {
        text-align: center;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 40px 0 64px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .catalog__grid,
    .activities__grid,
    .features__grid,
    .spheres__grid {
        grid-template-columns: 1fr;
    }

    .boxes-slider__viewport {
        margin: 0 40px;
    }

    .boxes-slider__arrow {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .cta {
        padding: 36px 24px;
        gap: 32px;
    }

    .contact-item {
        padding: 20px;
    }

    .to-top {
        bottom: 20px;
        right: 20px;
    }

    .footer__container {
        flex-direction: column;
        text-align: center;
    }

    .clients__track {
        gap: 32px;
    }

    .clients__img {
        height: 60px;
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .container, .site-main {
        padding: 0 16px;
    }

    .section__head {
        margin-bottom: 40px;
    }

    .about__stats {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .benefit-card {
        flex-direction: column;
        padding: 28px;
    }

    .catalog-card,
    .activity-card,
    .feature-card,
    .sphere-card {
        padding: 28px 24px;
    }


    .clients__img {
        height: 140px;
    }

    .contact-item {
        flex-direction: column;
    }
    .partners-list {
        display: flex;
    }
    .clients__marquee {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
