/* about.css */

/* --- Hero Section --- */
.hero-about {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-about__inner {
    position: relative;
    z-index: 2;
}

.hero-about__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-about__desc {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    color: #f5f5f5;
    font-weight: 400;
}

/* --- About Block (О нас) --- */
.about-block {
    padding: 80px 0;
}

.about-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    min-height: 320px;
    display: block;
}

.about-block__title {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 500;
    color: #3b3b3b;
    margin-bottom: 20px;
}

.about-block__text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5a5a5a;
    margin-bottom: 16px;
}

.about-block__text p:last-child {
    margin-bottom: 0;
}

/* --- Values Section (Ценности) --- */
.values-about {
    background-color: #f7f3eb;
    padding: 80px 0;
}

.values-about__main-title {
    font-size: clamp(1.75rem, 4vw, 2rem);
    font-weight: 500;
    text-align: center;
    color: #3b3b3b;
    margin-bottom: 8px;
}

.values-about__subtitle {
    text-align: center;
    color: #7d7d7d;
    font-size: 1rem;
    margin-bottom: 48px;
}

.values-about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.value-card__icon {
    width: 52px;
    height: 52px;
    border: 1px solid #e8e3d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0a68c;
    margin-bottom: 16px;
}

.value-card__icon svg {
    width: 24px;
    height: 24px;
}

.value-card__title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #3b3b3b;
    margin-bottom: 8px;
}

.value-card__text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #6b6b6b;
    margin: 0;
}

/* --- Адаптивность --- */
@media (max-width: 992px) {
    .about-block__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-block__image img {
        min-height: auto;
        height: 400px;
    }
    .values-about__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-about {
        padding: 60px 0;
        min-height: 50vh;
    }
    .hero-about__inner {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-about__title {
        font-size: 2rem;
    }
    .hero-about__desc {
        font-size: 0.95rem;
    }
    .about-block {
        padding: 50px 0;
    }
    .values-about {
        padding: 50px 0;
    }
    .values-about__grid {
        grid-template-columns: 1fr;
    }
    .value-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero-about__inner {
        max-width: 100%;
    }
    .hero-about__title {
        font-size: 1.75rem;
    }
    .about-block__image img {
        height: 250px;
    }
    .value-card__icon {
        width: 44px;
        height: 44px;
    }
    .value-card__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* --- Улучшения для устройств с вырезом (iPhone notch) --- */
@supports (padding: max(0px)) {
    .hero-about__inner,
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* --- Уважение к настройкам уменьшенного движения --- */
@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;
    }
}

/* --- Доступность: фокус --- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #c0a68c;
    outline-offset: 2px;
}