@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #FAFAFA; color: #111111; line-height: 1.6; scroll-behavior: smooth; }

/* === ХЕДЕР И НАВИГАЦИЯ === */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; border-bottom: 1px solid rgba(0, 0, 0, 0.05); background-color: rgba(250, 250, 250, 0.95); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.logo-box { display: flex; flex-direction: column; }
.logo { font-size: 22px; font-weight: 600; letter-spacing: 3px; color: #111111; text-decoration: none; line-height: 1.2; }
.descriptor { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #888888; margin-top: 4px; }
header nav ul { list-style: none; display: flex; gap: 25px; align-items: center; }
header nav a { color: #555555; text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s ease; }
header nav a:hover { color: #000000; }

/* === ГЕРОЙ === */
.hero { height: 85vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero-bg.jpg') center/cover no-repeat; color: #ffffff; background-color: #333; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 400; max-width: 900px; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: clamp(14px, 2vw, 18px); font-weight: 300; color: rgba(255,255,255,0.9); max-width: 600px; margin-bottom: 40px; }

/* === СЕКЦИИ И ЗАГОЛОВКИ === */
.section-header { text-align: center; margin: 80px 0 40px; width: 100%; }
.section-header h2 { font-size: 32px; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }
.catalog-section { padding: 40px 0; }

/* === О НАС И ИСТОРИЯ === */
.editorial-section { display: flex; flex-wrap: wrap; width: 100%; max-width: 1600px; margin: 80px auto; }
.ed-block { flex: 1 1 50%; min-height: 550px; padding: 60px 10%; display: flex; flex-direction: column; justify-content: center; }
.ed-text h2 { margin-bottom: 25px; font-size: 28px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; color: #111; }
.ed-text p { margin-bottom: 20px; color: #444; font-weight: 300; font-size: 16px; line-height: 1.8; }
.ed-img-1 { background: url('images/alex.jpg') center top/cover no-repeat; background-color: #e0e0e0; }
.ed-img-2 { background: url('images/alex-color.jpg') center top/cover no-repeat; background-color: #d0d0d0; }

.philosophy-block { max-width: 800px; margin: 0 auto 60px; text-align: center; padding: 0 20px; color: #555; }
.residents-title { text-align: center; font-size: 24px; font-weight: 300; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 2px; }
.resident-profile { display: flex; max-width: 800px; margin: 0 auto 60px; gap: 40px; align-items: center; padding: 0 20px; }
.resident-profile img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.resident-text h3 { margin-bottom: 10px; font-weight: 400; font-size: 20px; }

/* === ПРОЦЕСС РАБОТЫ === */
.process-section { padding: 80px 5%; background-color: #111; color: #fff; }
.process-section .section-header h2 { color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.step { text-align: left; }
.step-num { font-size: 48px; font-weight: 300; opacity: 0.3; display: block; margin-bottom: 15px; }
.step h3 { font-size: 18px; margin-bottom: 10px; font-weight: 400; }
.step p { font-size: 14px; opacity: 0.7; font-weight: 300; }

/* === СЕТКА КАРТИН === */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 5%; width: 100%; max-width: 1400px; margin: 0 auto; }
.card { width: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 4px; padding-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.card-info { padding: 0 20px; }
.card-title { font-size: 16px; font-weight: 600; margin: 15px 0; display: block; text-align: center; }
.size-grid { font-size: 13px; color: #666; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #eee; padding-top: 15px; }
.size-row { display: flex; justify-content: space-between; }
.size-row.highlight { font-weight: bold; color: #000; }
.btn, .btn-primary { background-color: #111; color: #fff; padding: 15px; text-align: center; text-decoration: none; margin-top: 20px; display: block; text-transform: uppercase; font-size: 12px; letter-spacing: 1.5px; transition: 0.3s; border: 1px solid #111; }
.btn:hover, .btn-primary:hover { background-color: #333; }

/* === СЛАЙДЕР В КАРТОЧКЕ === */
.card-slider { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; background-color: #f4f4f4; }
.slider-wrapper { display: flex; width: 100%; height: 100%; transition: transform 0.3s; }
.slider-wrapper a { flex: 0 0 100%; display: block; height: 100%; }
.slider-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); color: #000; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; font-size: 16px; transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* === ПОДВАЛ === */
footer { padding: 40px 20px; text-align: center; background-color: #111; color: rgba(255,255,255,0.4); font-size: 12px; letter-spacing: 1px; }

/* === АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ (Единый блок) === */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 20px; text-align: center; }
    header nav ul { justify-content: center; margin-top: 15px; }
    
    .gallery-grid { display: block; width: 100%; padding: 0 15px; }
    .card { display: block; width: 100%; margin-bottom: 50px; }
    
    .ed-block { flex: 1 1 100%; padding: 40px 20px; min-height: 300px; }
    .order-mob-1 { order: 1; }
    .order-mob-2 { order: 2; }
    .order-mob-3 { order: 3; }
    .order-mob-4 { order: 4; }
    
    .process-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .step-num { margin-bottom: 5px; }
    
    .resident-profile { flex-direction: column; text-align: center; gap: 20px; }
}