/* Дизайн-проект интерьера — строго по системному промпту ulvlspace */

.design-project-page {
    padding-top: 0;
}

/* ===========================
   HERO SECTION (Promt Specific)
   =========================== */
.design-project-page .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-main);
    overflow: hidden;
}

.design-project-page .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0E1117 0%, #1a1f2e 100%);
}

.design-project-page .hero-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200&q=80') center/cover no-repeat;
    opacity: 0.6;
}

.design-project-page .hero-overlay {
    position: absolute;
    inset: 0;
    /* Промпт: overlay gradient */
    background: linear-gradient(180deg, rgba(14,17,23,0.7) 0%, rgba(14,17,23,0.5) 50%, rgba(14,17,23,0.85) 100%);
}

.design-project-page .hero-content {
    position: relative;
    max-width: 700px;
    z-index: 2;
}

/* H1: Промпт требует clamp(36px, 5vw, 56px), letter-spacing: -0.02em, color: #ffffff */
.design-project-page .hero-content h1 {
    font-family: var(--font-heading, 'Manrope'), sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    /* Промпт: animation fadeInUp 0.8s ease 0.2s forwards */
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Subtitle: Двухчастная структура с иерархией прозрачности */
.design-project-page .hero-subtitle {
    font-family: var(--font-body, 'Inter'), sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.design-project-page .hero-subtitle .subtitle-main {
    color: rgba(240,238,229,0.85);
    font-weight: 500;
}

.design-project-page .hero-subtitle .subtitle-detail {
    color: rgba(240,238,229,0.6);
    font-weight: 400;
    font-size: 0.9em;
}

.design-project-page .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ===========================
   BUTTONS (Promt Specific)
   =========================== */


.btn-outline {
    background: rgba(255,255,255,0.04);
    color: var(--accent-gold);
    border: 1px solid rgba(200,169,110,0.4);
    backdrop-filter: blur(24px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-outline:hover {
    background: rgba(200,169,110,0.1);
    color: var(--text-main);
    border-color: rgba(200,169,110,0.6);
}

/* ===========================
   SECTIONS & CONTAINER
   =========================== */
.section {
    padding: 100px 0; /* Промпт: 100-120px */
}

.container {
    max-width: 1280px;
    margin: auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 3rem;
}

/* H2: Промпт требует clamp(28px, 4vw, 40px), letter-spacing: -0.015em */
.section-title {
    font-family: var(--font-heading, 'Manrope'), sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body, 'Inter'), sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
}

/* ===========================
   ADVANTAGES GRID (Glassmorphism)
   =========================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px; /* Промпт: 24-32px */
    margin-top: 3rem;
}

.advantage-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,169,110,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.advantage-icon {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   INCLUDES LIST
   =========================== */
.includes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.include-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    transition: border-color 0.3s ease;
}

.include-item:hover {
    border-color: rgba(200,169,110,0.3);
}

.include-number {
    font-family: var(--font-display, 'Playfair Display'), serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
}

.include-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.include-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   STAGES TIMELINE
   =========================== */
.stages-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.stage-item {
    padding: 1.5rem;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    position: relative;
    transition: border-color 0.3s ease;
}

.stage-item:hover {
    border-color: rgba(200,169,110,0.3);
}

.stage-number {
    font-family: var(--font-display, 'Playfair Display'), serif;
    font-size: 2.5rem;
    color: var(--accent-gold);
    opacity: 0.4;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stage-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.stage-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.stage-result {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-gold);
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: 20px;
    background: rgba(200,169,110,0.05);
}

.stages-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 2rem;
    font-style: italic;
}

/* ===========================
   PRICING / TARIFFS
   =========================== */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.tariff-card {
    padding: 2rem;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,169,110,0.3);
}

.tariff-card.recommended {
    border-color: rgba(200,169,110,0.4);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #C8A96E 0%, #B3924A 100%);
    color: #0E1117;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.tariff-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.tariff-price {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #C8A96E 0%, #D4B87A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tariff-target {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.tariff-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.tariff-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tariff-features li:last-child {
    border-bottom: none;
}

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    font-family: var(--font-body, 'Inter'), sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(200,169,110,0.1);
    border-color: rgba(200,169,110,0.4);
    color: var(--accent-gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.portfolio-card {
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200,169,110,0.3);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(14, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-gold);
    border: 1px solid rgba(200,169,110,0.3);
}

.portfolio-content {
    padding: 1.25rem;
}

.portfolio-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.portfolio-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.portfolio-testimonial {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(200,169,110,0.05);
    border-left: 2px solid rgba(200,169,110,0.3);
    font-size: 0.85rem;
    color: rgba(240,238,229,0.7);
    line-height: 1.5;
    font-style: italic;
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body, 'Inter'), sans-serif;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    color: var(--accent-gold);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.05) 0%, transparent 100%);
}

.cta-content {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================
   SEO TEXT
   =========================== */
.seo-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================
   ANIMATIONS (Promt Specific)
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .design-project-page .hero {
        min-height: 100dvh;
        padding: 130px 0 90px;
    }
}

@media (max-width: 768px) {
    .design-project-page .hero {
        min-height: 100dvh;
        padding: 90px 0 80px;
    }
    .design-project-page .hero-content h1 {
        font-size: clamp(36px, 5vw, 56px);
        letter-spacing: -0.02em;
    }

    .design-project-page .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions,
    .cta-buttons {
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .include-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section {
        padding: 60px 0;
    }
}
