/* --- FONTS & BASE --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&display=swap');

:root {
    --bg-body: #ffffff;
    --text-primary: #111111;
    --text-secondary: #666666;
    --line-color: #E0E0E0;
    --font-main: 'Manrope', sans-serif;
}

body {
    margin: 0;
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* --- CONTAINER --- */
.arch-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

/* --- HEADER --- */
.arch-header {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 40px;
}

.arch-title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

/* --- GRID SYSTEM --- */
.arch-grid { border-top: none; }
.arch-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid var(--line-color);
}

.arch-label {
    padding: 60px 40px 60px 0;
    border-right: 1px solid var(--line-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.arch-content { padding: 60px 0 60px 60px; }

.arch-content h2 {
    font-size: 20px; font-weight: 500; margin: 0 0 25px 0;
    text-transform: uppercase; letter-spacing: 0.05em;
}

.arch-content p {
    font-size: 15px; font-weight: 300; color: var(--text-secondary);
    margin-bottom: 30px; max-width: 600px; line-height: 1.7;
}

/* --- IMAGES (UPDATED SIZE) --- */
.arch-img {
    display: block;
    width: 100%;
    max-width: 480px; /* Зменшено для ПК (було 700) */
    height: auto;
    margin-top: 40px;
    margin-bottom: 15px;
    filter: grayscale(100%); 
    transition: filter 0.6s ease;
}

.arch-img:hover {
    filter: grayscale(0%);
}

.img-caption {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

/* --- ACCENT BOX --- */
.arch-box {
    border: 1px solid var(--text-primary);
    padding: 25px;
    max-width: 500px;
    margin-top: 35px;
    position: relative;
}

.ab-label {
    position: absolute; top: -9px; left: 20px;
    background: #fff; padding: 0 8px;
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}

.ab-text {
    margin: 0 !important; color: var(--text-primary) !important;
    font-weight: 400 !important; font-size: 14px !important;
}

/* --- BUTTON --- */
.arch-footer { margin-top: 100px; text-align: center; }
.arch-btn {
    display: inline-block; background-color: #ffffff; color: #111111;
    border: 1px solid #111111; padding: 14px 30px;
    text-decoration: none; text-transform: uppercase;
    font-size: 12px; font-weight: 400; letter-spacing: 0.15em;
    transition: all 0.3s ease; cursor: pointer; min-width: 220px;
}
.arch-btn:hover { background-color: #111111; color: #ffffff; }

/* --- MOBILE --- */
@media (max-width: 900px) {
    .arch-page { padding: 60px 20px; }
    .arch-header { margin-bottom: 40px; padding-bottom: 30px; }
    .arch-title { font-size: 30px; }
    .arch-row { 
        display: block; border-bottom: 1px solid var(--line-color);
        padding-bottom: 40px; margin-bottom: 40px;
    }
    .arch-row:last-child { border-bottom: none; margin-bottom: 0; }
    .arch-label {
        width: 100%; border-right: none; padding: 0; margin-bottom: 25px;
        font-size: 11px; color: #999; display: block;
    }
    .arch-content { padding: 0; width: 100%; }
    .arch-content p, .arch-box { max-width: 100%; }
    
    /* На мобільному фото на всю ширину екрану */
    .arch-img { width: 100%; max-width: 100%; margin-top: 20px; filter: grayscale(0%); }
    
    .arch-footer { margin-top: 60px; }
    .arch-btn { width: 100%; box-sizing: border-box; }
}