/* ===== СЕКЦИИ ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.title-icon {
    font-size: 2.5rem;
}

.section-subtitle {
    color: #8899bb;
    font-size: 1.1rem;
}

/* ===== SERVICES (главная) ===== */
.services-new {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem 1.5rem !important;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: white;
}

.service-card p {
    color: #b0c4de;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== REGIONS ===== */
.regions-new {
    padding: 4rem 0;
}

.regions-card {
    padding: 2.5rem !important;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.region-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(74, 111, 165, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
    cursor: pointer;
}

.region-card:hover {
    background: rgba(74, 111, 165, 0.15);
    border-color: rgba(74, 111, 165, 0.3);
    transform: translateY(-3px);
}

.region-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.region-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.region-desc {
    color: #8899bb;
    font-size: 0.9rem;
}

.region-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.city-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #b0c4de;
}

.regions-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.region-stat-item {
    text-align: center;
}

.region-stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
}

.region-stat-label {
    color: #8899bb;
    font-size: 0.9rem;
}

/* ===== EXPERIENCE ===== */
.experience-new {
    padding: 4rem 0;
}

.experience-scroll {
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(20, 30, 45, 0.5);
    cursor: grab;
}

.experience-scroll:active {
    cursor: grabbing;
}

.experience-scroll::-webkit-scrollbar {
    height: 6px;
}

.experience-scroll::-webkit-scrollbar-track {
    background: rgba(20, 30, 45, 0.3);
    border-radius: 10px;
}

.experience-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.experience-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.experience-card {
    min-width: 320px;
    max-width: 350px;
    padding: 1.5rem;
}

.experience-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.experience-card .emoji {
    font-size: 2.5rem;
}

.experience-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: white;
}

.experience-card .company {
    color: #b0c4de;
    font-size: 0.95rem;
}

.experience-card .period {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.experience-card .description {
    color: #b0c4de;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== SKILLS ===== */
.skills-new {
    padding: 4rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-category {
    padding: 1.5rem !important;
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    background: rgba(74, 111, 165, 0.15);
    border: 1px solid rgba(74, 111, 165, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    color: #d0dcff;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.chip:hover {
    background: rgba(74, 111, 165, 0.35);
    border-color: #4a6fa5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

/* ===== PROJECTS ===== */
.projects-new {
    padding: 4rem 0;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-showcase-card {
    padding: 2rem !important;
    transition: all 0.3s;
    position: relative;
}

.project-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.project-subtitle {
    color: #4a6fa5;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-description {
    color: #b0c4de;
    line-height: 1.6;
}

/* ===== PROJECT FILTERS ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: #b0c4de;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4a6fa5;
    border-color: #4a6fa5;
    color: white;
}

.share-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
    opacity: 0;
}

.project-showcase-card:hover .share-btn {
    opacity: 1;
}

.share-btn:hover {
    background: #4a6fa5;
}

/* ===== CTA ===== */
.cta-section {
    padding: 4rem 0;
}

.cta-card {
    text-align: center;
    padding: 3rem !important;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.15), rgba(139, 92, 246, 0.1)) !important;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    color: #b0c4de;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== СТРАНИЦА УСЛУГ (services.html) ===== */
.services-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.services-subtitle {
    font-size: 1.2rem;
    color: #b0c4de;
}

.services-detail {
    padding: 2rem 0 4rem;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-block {
    padding: 2rem !important;
    transition: all 0.3s;
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.block-icon {
    font-size: 2.5rem;
}

.block-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.6rem 0;
    color: #cbd5e6;
    font-size: 1.05rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.service-list li:last-child {
    border-bottom: none;
}

.services-footnote {
    text-align: center;
    color: #8899bb;
    font-size: 0.9rem;
    margin-top: 2rem;
    font-style: italic;
}

/* ===== УТП, ОТЗЫВЫ, FAQ, БЫСТРАЯ ФОРМА (страница услуг) ===== */
.usp-banner {
    background: linear-gradient(135deg, rgba(74,111,165,0.2), rgba(139,92,246,0.1));
    border-radius: 30px;
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.usp-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.usp-sub {
    color: #b0c4de;
    font-size: 1.1rem;
}

.case-badge {
    display: inline-block;
    background: #4a6fa5;
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-top: 1rem;
}

.price-note {
    color: #8899bb;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial-card {
    background: rgba(20,30,45,0.5);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-text {
    color: #e0e4f0;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #4a6fa5;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: rgba(20,30,45,0.3);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.03);
}

.faq-question {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #b0c4de;
}

.quick-form {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: var(--glass-border);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .projects-showcase {
        grid-template-columns: 1fr;
    }
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .regions-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .services-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .regions-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Выделение цены */
.price-tag {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(74,111,165,0.3), rgba(139,92,246,0.2));
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    margin: 1.2rem 0 1.8rem 0;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.price-note {
    font-size: 0.9rem;
    font-weight: 400;
    color: #b0c4de;
    margin-left: 0.5rem;
}

/* Отступ для кнопки */
.service-block .btn {
    margin-top: 0.5rem;
}

/* Чтобы все блоки тянулись по высоте и кнопка прижималась книзу */
.service-block {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-block .btn {
    margin-top: auto;
}

/* Структура блока для фиксации цены и кнопки */
.service-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem !important;
}

.service-block-top {
    flex: 1;
}

.service-block-bottom {
    margin-top: 1.5rem;
    text-align: center;
}

.price-tag {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(74,111,165,0.3), rgba(139,92,246,0.2));
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.price-note {
    font-size: 0.9rem;
    font-weight: 400;
    color: #b0c4de;
    margin-left: 0.5rem;
}

.service-block .btn {
    width: 100%;
}