:root {
    --bg-color: #F5F5F0;
    --accent-color: #D9D2C5;
    --text-main: #1A1A1A;     /* Почти черный для заголовков */
  --text-muted: #555555;    /* Серый для описаний */
  --white: #FFFFFF;
  --bg-light: #FBFBFB;
    --bg-sand: #F2EDE4; /* Чуть более насыщенный песочный */
    --accent-soft: #EBE6DC;
  
  --index: calc(1vw + 1vh);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg'); /* Легкий шум */
    opacity: 0.05; /* Еле заметно! */
    pointer-events: none;
    z-index: 9999;
}
body {
    background: radial-gradient(circle at top right, var(--bg-light) 0%, var(--bg-sand) 100%);
    min-height: 100vh;
}
h1 {
    font-size: 4.5rem; /* Большой и смелый */
    line-height: 1.1;
    letter-spacing: -2px; /* Чуть сближаем буквы для стиля */
    margin-bottom: 24px;
}

.badge {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #8A857B; /* Темно-песочный */
    margin-bottom: 16px;
    display: block;
}
.btn-primary, .btn-secondary, .nav-btn{
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    display: inline-block;
    z-index: 1;

}

.btn-primary {
    background: var(--text-main);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover{
    background: #333333;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.btn-primary::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2),  transparent);
    transition: 0.5s;
    z-index: -1;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--text-main);
    color: var(--text-main);
    margin-left: 15px;
}
.btn-secondary:hover{
    background: var(--text-main);
    color: var(--white);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    background: 
        linear-gradient(
            to right,
            rgba(245,245,240,0.95) 30%,   /* зона для текста */
            rgba(245,245,240,0.6) 50%,
            rgba(245,245,240,0.1) 70%
        ),
        url('images/acciona-el-ganso-zapatillas-palas-eolicas-reciclaje.jpg') 
        center right / cover no-repeat;
    
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(245,245,240,1) 0%,   /* верх — цвет сайта */
        rgba(245,245,240,0.6) 20%,
        rgba(245,245,240,0) 40%
    );

    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    filter: saturate(0.85) contrast(0.9);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(245,245,240,0) 60%,
        rgba(245,245,240,1) 100%
    );
}
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to left,
        rgba(245,245,240,0.1),
        rgba(245,245,240,0.8)
    );
}

.hero-grid{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.hero-visual img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent-soft);
    filter: blur(80px); /* Сильное размытие */
    border-radius: 50%;
    z-index: -1; /* Уходим под кроссовок */
    opacity: 0.6;
}
.outline {
    -webkit-text-stroke: 1px var(--text-main);
    color: transparent;

}
.dinamic-word {
    transition: opacity 0.3s ease;
}
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    background: rgba(245, 245, 240, 0.6); /* полупрозрачный */
    backdrop-filter: blur(10px); /* стекло */
    -webkit-backdrop-filter: blur(10px);
   
}
.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(245,245,240,0.8),
        rgba(245,245,240,0)
    );
    z-index: -1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -1px;
}
.logo span{
    color: #8A857B;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin: 0 20px;
    font-weight: 500;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: 0.3s;
    position: relative;
}
.nav-links a:hover{
    opacity: 1;
}
.nav-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: inherit;
    cursor: pointer;
    font-size: 1.3rem;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--text-main);
    transition: width 0.3s ease;
}
.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh; /* Увеличили высоту до полного экрана */
    padding-top: 80px; /* Отступ под навигацию */
}

p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px; /* Чтобы текст не растягивался на всю ширину */
}
.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh; /* Увеличили высоту до полного экрана */
    padding-top: 80px; /* Отступ под навигацию */
}

p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px; /* Чтобы текст не растягивался на всю ширину */
}
.nav-btn:hover {
    background: var(--text-main);
    color: var(--white);
}
.trust-bar{
    background: var(--accent-color);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
.trust-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}
.trust-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.trust-divider{
    width: 1px;
    height: 50px;
    background:  rgba(0, 0, 0, 0.1);
}

.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    font-size: 1rem;
    opacity: 0.7;
    text-align: center;
}

.tech-section{
    padding: 20px 0;
}
.section-intro{
    text-align: center;
    margin-bottom: 80px;
}
.section-intro h2{
    font-size: 3rem;
    letter-spacing: -1px;
}
.tech-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tech-card {
    padding: 30px;
    transition: all 0.8s ease-out; /* Плавная «пружинистая» анимация */
    text-align: center;
}

.reveal.active .tech-card {
    opacity: 1;
    transform: translateY(0);
}
.tech-card:hover{
    background: rgb(228, 214, 189);
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
}
.card-icon{
    font-size: 1.2rem;
    font-weight: 800;
    color: #8A857B;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
}
.tech-card h3{
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.tech-card p{
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.collection-section{
    padding: 100px;
}
.product-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.product-card{
    background:rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 20px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
}
.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 50px rgba(0,0,0,0.08);
}
.product-img {
    background: var(--bg-sand, #f5f1eb);
    border-radius: 20px;
    padding: 40px 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-img img { 
  width: 100%; 
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
  transform-origin: center;
}
.product-card:hover .product-img img { 
    transform: scale(1.3) 
}
.btn-add-cart {
    margin-top: 15px;
    padding: 10px 15px;
    border: none;
    border-radius: 12px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}
    

.price {
    display: block;
    margin-top: 15px;
    font-weight: 800;
    font-size: 1.2rem;
}
.green-bg {
    background: #E8F0E8 !important; /* Очень бледный мятный/зеленоватый */
}
.badge-new {
    display: inline-block;
    background: #2D5A27; /* Темно-зеленый */
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.btn-add-cart {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    background: #2D5A27;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.product-img::after{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.8);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}
.product-card:hover .product-img::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/* Элементы скрыты по умолчанию */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
   
}

/* Элементы становятся видимыми */
.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) scale(1);
}

/* Специфический стиль для trust-num, чтобы они "падали" сверху */
.trust-item {
    overflow: hidden;
}
.trust-num {
    display: inline-block;
    transition: transform 0.6s ease-out;
}
.impact-section {
    background: var(--text-main);
    color: var(--white);
    padding: 140px 0; /* Уменьшили вертикальные отступы */
    margin-top: 40px;    /* Убрали дыру между блоками */
    border-radius: 0; /* Убрали скругления, теперь блок на всю ширину */
    position: relative;
}

/* Уменьшаем отступ у предыдущей секции, чтобы они "прижались" */
.collection-section {
    padding-top: 80px;
    padding-bottom: 120px; 
}
.impact-grid {
    display: flex;
    align-items: center;
    gap: 100px;
    transform: translateY(-20px);
    
}
.impact-content {
    flex: 1;
}
.impact-content .badge {
    color: var(--accent-color);
    border: 1px solid rgba(217, 210, 197, 0.3);
    padding: 5px 15px;
    border-radius: 50px;
    display: inline-block;
}

/* Сделаем картинку в Impact более органичной */
.impact-image img {
    width: 100%;
    border-radius: 20px;
    /* Добавим легкое свечение в цвет нашего песочного фона */
    box-shadow: 0 0 50px rgba(217, 210, 197, 0.1);
}
.impact-content h2{
    font-size: 3rem;
    margin: 20px 0;
    color: var(--white);
}
.impact-content p{
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.impact-stats{
    display: flex;
    gap: 60px;
    margin-top: 50px;
}
.impact-cta{
    margin-top: 50px;
    text-align: left;
}
.cta-note {
    font-size: 0.8rem !important;
    opacity: 0.5;
    margin-top: 15px !important;
    font-style: italic;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
}
.stat-value {
    display: flex;
    align-items: baseline; /* Выравнивание по нижней линии шрифта */
    gap: 0; /* Принудительно убираем расстояние */
    line-height: 1;
}

/* Сами числа */
.stat-item .trust-num {
    font-size: 6rem; /* Увеличили почти в 2 раза! */
    font-weight: 800;
    color: var(--accent-color); /* Наш фирменный бежевый/золотистый */
    margin-bottom: 10px;
    letter-spacing: -2px; /* Сближаем цифры для эффекта "мощи" */
    text-shadow: 0 10px 30px rgba(217, 210, 197, 0.2);
    margin-bottom: 0;
}
.stat-item .unit {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent-color);
    opacity: 0.7;
    margin-left: 5px; /* Магия: двигаем букву "k" влево, вплотную к цифре */
   opacity: 0.8;
}
.stat-desc {
    display: block; /* Занимает всю ширину, выталкивая текст вниз */
    margin-top: 20px; /* Расстояние от цифры до текста */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}
/* Правило ТОЛЬКО для подписей (текста под цифрами) */
.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px; /* Создаем четкий зазор между числом и текстом */
    line-height: 1.2;
    display: block; /* Выталкиваем текст на новую строку */
}

/* Убираем лишние общие стили для span, которые мешают */

.impact-image {
    flex: 1;
}
.impact-image img {
    width: 100%;
    border-radius: 40px;
    filter: grayscale(0.3); /* Немного приглушим цвета для стиля */
}
.site-footer{
    background: var(--text-main);
    color: var(--white);
    padding: 20px 15px 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 60px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}


.footer-about h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.footer-about p{
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}
.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 3px;
    transition: 0.3s;
    font-size: 0.85rem;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-icons a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* белые иконки */
    transition: transform 0.3s;
}
.social-icons a:hover img {
    transform: scale(1.2);
}

.footer-bottom {
font-size: 2rem;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding-top: 12px 15px;
border-top: 1px solid rgba(255,255,255,0.1);
color: rgba(255,255,255,0.6);
text-align: center;
}
.footer-about p {
    font-size: 1rem;
    margin-bottom: 6px; 
    font-size: 0.85rem;/* было больше */
}
.footer-bottom p {
    font-size: 0.9rem !important;
    margin: 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}
.modal.active{
    opacity: 1;
    pointer-events: auto;
}
.modal-content {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-sizing: border-box;
}
.modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    transition: transform 0.2s;
}

.modal .close:hover {
    transform: rotate(90deg);
}

/* Заголовок */
.modal-content h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    text-align: center;
}

/* Форма */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* расстояние между полями */
}

#contact-form input,
#contact-form textarea {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
    resize: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.15);
    outline: none;
}

/* Кнопка отправки */
#contact-form button {
    padding: 12px;
    background: var(--text-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#contact-form button:hover {
    background: #0056b3;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 992px) {
    footer .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    footer form {
        flex-direction: column;
    }
    footer input[type="email"] {
        margin-right: 0;
        width: 100%;
    }
}


/* Адаптив для мобилок */
@media (max-width: 992px) {
    .impact-grid {
        flex-direction: column;
        text-align: center;
    }
    .impact-stats {
        justify-content: center;
    }
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
@media (max-width: 768px) {
    .tech-grid, .product-grid {
        grid-template-columns: 1fr; /* Колонки встают друг под друга */
        gap: 20px;
    }
    h1 {
        font-size: 3rem; /* Уменьшаем заголовок на мобилках */
    }
    .hero-grid {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-text p {
        margin: 0 auto 40px; /* Центрируем описание */
    }
}