/* ===== Подключение шрифтов ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ===== CSS переменные ===== */
:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B83FF;
    --secondary: #FF6584;
    --accent: #FFD93D;
    --bg-color: #F8F9FE;
    --bg-card: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #6B6B8A;
    --text-light: #9A9ABF;
    --border-color: #E8E8F0;
    --shadow: 0 8px 30px rgba(108, 99, 255, 0.10);
    --shadow-hover: 0 16px 48px rgba(108, 99, 255, 0.20);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.15);
    --gradient-1: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-2: linear-gradient(135deg, #FFD93D 0%, #FF6584 100%);
    --gradient-3: linear-gradient(135deg, #6C63FF 0%, #4ECDC4 100%);
    --border-radius: 24px;
    --border-radius-sm: 14px;
    --border-radius-xs: 10px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ===== Тёмная тема ===== */
[data-theme="dark"] {
    --bg-color: #0F0F1A;
    --bg-card: #1A1A2E;
    --text-primary: #EAEAFF;
    --text-secondary: #B0B0D0;
    --text-light: #7A7A9A;
    --border-color: #2D2D44;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(108, 99, 255, 0.15);
}

/* ===== Сброс стилей ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
}

/* ===== Фоновые декоративные элементы ===== */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(108, 99, 255, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 101, 132, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* ===== Кастомный скроллбар ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-3);
}

/* ===== ХЕДЕР ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 5px;
    border-bottom: 1px solid rgba(232, 232, 240, 0.5);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(15, 15, 26, 0.85);
    border-bottom-color: rgba(45, 45, 68, 0.5);
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header__logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.header__logo img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.header__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
}

.header__link:hover {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
    transform: translateY(-1px);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--gradient-1);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.header__link:hover::after {
    width: 50%;
}

.header__link.active {
    color: var(--primary);
}

.header__link.active::after {
    width: 50%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ===== Telegram ссылка ===== */
.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0088cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: var(--transition);
    background: rgba(0, 136, 204, 0.08);
}

.telegram-link:hover {
    background: #0088cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.25);
}

/* ===== Кнопка "Уточнить информацию" ===== */
.info__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    text-decoration: none;
}

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

/* ===== Бургер-меню ===== */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

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

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

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

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

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
}

.main__section {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.main__section:nth-child(1) {
    animation-delay: 0.1s;
}

.main__section:nth-child(2) {
    animation-delay: 0.2s;
}

.main__section:nth-child(3) {
    animation-delay: 0.3s;
}

.main__section:nth-child(4) {
    animation-delay: 0.4s;
}

.main__section:nth-child(5) {
    animation-delay: 0.5s;
}

.main__section:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main__title,
.advantages__title,
.application__title,
.try__title,
.process__title,
.brands__title,
.product__title,
.products__title,
.services__title,
.form__title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    letter-spacing: -0.5px;
}

.main__title::after,
.advantages__title::after,
.application__title::after,
.try__title::after,
.process__title::after,
.brands__title::after,
.product__title::after,
.products__title::after,
.services__title::after,
.form__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0.8rem auto 0;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

/* ===== КАРТОЧКИ (общие стили) ===== */
.card,
.card__text {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover,
.card__text:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.card p,
.card__text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.card__text p:not(:last-child) {
    margin-bottom: 1rem;
}

/* ===== СЕКЦИЯ ПРИМЕРКИ (карточки до/после) ===== */
.card__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card__item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.card__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card__item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.card__item img:first-child {
    border-bottom: 2px solid var(--border-color);
}

.card__item:hover img {
    transform: scale(1.02);
}

.card__item .img-before {
    position: relative;
}

.card__item .img-after {
    position: relative;
}

/* ===== ПРОЦЕСС ЗАКАЗА ===== */
.process__steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 0;
}

.process__steps li {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    counter-increment: step;
    position: relative;
    padding-top: 3.5rem;
}

.process__steps li::before {
    content: counter(step);
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.process__steps {
    counter-reset: step;
}

.process__steps li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.process__steps li span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process__steps li span b {
    color: var(--primary);
}

.process__steps li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== УСЛОВИЯ ===== */
.conditions__steps {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    list-style: none;
}

.conditions__steps h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.conditions__steps li {
    padding: 0.8rem 1.2rem;
    border-left: 3px solid var(--primary);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    background: var(--bg-color);
    border-radius: 0 var(--border-radius-xs) var(--border-radius-xs) 0;
}

.conditions__steps li:hover {
    transform: translateX(5px);
    border-left-color: var(--secondary);
}

.conditions__steps li:last-child {
    margin-bottom: 0;
}

/* ===== БРЕНДЫ ===== */
.brands__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.brand {
    padding: 0.6rem 1.5rem;
    background: var(--bg-color);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.brand:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

/* ===== ТОВАРЫ (сетка) ===== */
.product__items,
.products__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product__item,
.products__item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.product__item:hover,
.products__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.products__type {
    display: inline-block;
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.product__images,
.products__images {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xs);
    margin-bottom: 1rem;
}

.product__images img,
.products__images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: var(--border-radius-xs);
}

.product__images img:hover,
.products__images img:hover {
    transform: scale(1.03);
}

.product__name,
.products__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product__features,
.products__features {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    flex-grow: 0;
}

.product__description,
.products__description {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product__price,
.products__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-top: auto;
}

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

/* ===== УСЛУГИ (3D-сканер) ===== */
.services__text {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.services__text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.services__text strong {
    color: var(--primary);
}

.photo__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.photo__item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

.photo__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.photo__item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.photo__item:hover img {
    transform: scale(1.02);
}

.photo__item .time {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0.8rem 0 0.3rem;
}

.photo__item .step__title {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0 1rem 1rem;
    line-height: 1.6;
}

.services__offer {
    grid-column: 1 / -1;
    background: var(--gradient-1);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

/* ===== ФОРМА ===== */
.form__section {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form__label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form__input,
.form__textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-primary);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.08);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-light);
}

.form__input.error {
    border-color: var(--secondary);
}

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

.form__error {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.form__button {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form__button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== ФУТЕР ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: 3rem;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer__social a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ===== КНОПКА "НАВЕРХ" ===== */
.top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    z-index: 9999;
    max-width: 90%;
    text-align: center;
    animation: slideDown 0.5s ease;
    box-shadow: var(--shadow-hover);
}

.notification--success {
    background: #4ECDC4;
    color: white;
}

.notification--error {
    background: #FF6584;
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .header__nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: 1.5rem 2rem;
        box-shadow: var(--shadow-hover);
        border-bottom: 1px solid var(--border-color);
        gap: 0.5rem;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .header__nav.active {
        display: flex;
    }

    .burger-menu {
        display: flex;
    }

    .header__actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .header__actions .telegram-link,
    .header__actions .info__button {
        width: 100%;
        justify-content: center;
    }

    .main {
        padding: 5rem 1.5rem 1.5rem;
    }

    .main__title,
    .advantages__title,
    .application__title,
    .try__title,
    .process__title,
    .brands__title,
    .product__title,
    .products__title,
    .services__title,
    .form__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .main {
        padding: 5rem 1rem 1rem;
    }

    .card,
    .card__text {
        padding: 1.5rem;
    }

    .card p,
    .card__text p {
        font-size: 0.95rem;
    }

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

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

    .process__steps li {
        padding: 1.5rem;
        padding-top: 3rem;
    }

    .conditions__steps {
        padding: 1.5rem;
    }

    .conditions__steps h3 {
        font-size: 1.3rem;
    }

    .brands__list {
        padding: 1rem;
        gap: 0.5rem;
    }

    .brand {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .product__items,
    .products__items {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

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

    .form__section {
        padding: 1.5rem;
    }

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

    .main__title,
    .advantages__title,
    .application__title,
    .try__title,
    .process__title,
    .brands__title,
    .product__title,
    .products__title,
    .services__title,
    .form__title {
        font-size: 1.8rem;
    }

    .main__title::after,
    .advantages__title::after,
    .application__title::after,
    .try__title::after,
    .process__title::after,
    .brands__title::after,
    .product__title::after,
    .products__title::after,
    .services__title::after,
    .form__title::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 4.5rem 0.8rem 0.8rem;
    }

    .product__items,
    .products__items {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 0.4rem 0.8rem;
    }

    .header__logo img {
        height: 35px;
    }

    .main__title,
    .advantages__title,
    .application__title,
    .try__title,
    .process__title,
    .brands__title,
    .product__title,
    .products__title,
    .services__title,
    .form__title {
        font-size: 1.5rem;
    }

    .card,
    .card__text {
        padding: 1rem;
    }

    .product__item,
    .products__item {
        padding: 1rem;
    }

    .product__images img,
    .products__images img {
        height: 180px;
    }

    .photo__item img {
        height: 180px;
    }

    .services__text {
        padding: 1.5rem;
    }

    .services__text p {
        font-size: 0.95rem;
    }

    .form {
        gap: 1rem;
    }

    .form__input,
    .form__textarea {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }

    .form__button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer__copy {
        font-size: 0.85rem;
    }
}

/* ===== УТИЛИТЫ ===== */
.text-gradient {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}