/* Базовые стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e53935; /* Красный как на скриншоте */
    --primary-foreground: #ffffff;
    --accent: #ff6d00; /* Оранжевый для кнопок */
    --accent-foreground: #ffffff;
    --background-dark: #0a0a0a; /* Самый темный фон */
    --background-medium: #121212; /* Средний темный */
    --background-light: #1e1e1e; /* Светлый темный */
    --card: #1e1e1e;
    --card-foreground: #ffffff;
    --border: #333333;
    --input: #2d2d2d;
    --ring: #e53935;
    --muted-foreground: #888888;
    --foreground: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-dark);
    color: var(--foreground);
    line-height: 1.6;
}

.min-h-screen {
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Текст и типографика */
.text-gradient {
    background: linear-gradient(135deg, #e53935, #ff6d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

/* Анимации */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Главный экран - #0A0A0A */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0.9), 
        rgba(10, 10, 10, 0.8), 
        rgba(10, 10, 10, 1)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
}

.hero-text {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-subtitle {
    color: #e53935;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-description {
    font-size: 1.3rem;
    color: #ffffff;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 109, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 109, 0, 0.3);
    font-weight: 600;
}

.hero-feature svg {
    width: 1.2rem;
    height: 1.2rem;
    color: #ff6d00;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.4);
}

.cta-button:hover {
    background-color: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.6);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.cta-button.secondary:hover {
    background-color: var(--accent);
    color: white;
}

.hero-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.hero-phone a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-phone a:hover {
    color: #ff6d00;
}

.hero-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ff6d00;
    font-weight: 600;
    font-size: 1.1rem;
}

.hero-guarantee svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-feature {
        font-size: 0.9rem;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #e65100;
    transform: scale(1.05);
}

.glow-green {
    box-shadow: 0 0 20px rgba(255, 109, 0, 0.5);
}

/* Индикатор скролла (двигающаяся мышка) */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-icon {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid #e53935;
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-dot {
    width: 0.375rem;
    height: 0.75rem;
    background-color: #e53935;
    border-radius: 0.75rem;
    animation: bounce 2s infinite;
}

/* О нас - #121212 */
.about-section {
    background-color: #121212;
}

.about-content {
    max-width: 64rem;
    margin: 0 auto 4rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    text-align: center;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .about-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.gallery-item {
    height: 16rem;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .gallery-item.full-width {
        grid-column: span 2;
    }
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Таймлайн - ВСЕ ЭЛЕМЕНТЫ СЛЕВА */
.timeline {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 109, 0, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-icon {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background-color: #121212;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
}

.timeline-content {
    margin-left: 2rem;
}

.timeline-year {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.timeline-text {
    font-size: 1.25rem;
    color: var(--foreground);
    font-weight: 600;
}

/* Услуги - #0A0A0A */
.services-section {
    background-color: #0a0a0a;
}

.services-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    height: 2.5rem;
    border: 1px solid var(--border);
    background-color: #121212;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.filter-btn:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: #121212;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.service-image {
    height: 12rem;
    position: relative;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.8), transparent);
}

.service-info {
    padding: 1.5rem;
    flex-grow: 0;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    height: 4.5rem;
    display: flex;
    align-items: flex-start;
    color: #ffffff;
}

.service-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
    height: 5rem;
}

.service-price {
    padding: 0 1.5rem;
    flex-grow: 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    height: 2rem;
    display: flex;
    align-items: center;
}

.service-action {
    padding: 1.5rem;
    margin-top: auto;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 2.5rem;
    border: 2px solid var(--accent);
    color: var(--accent);
    background-color: transparent;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
    transform: scale(1.05);
}

/* Преимущества - #121212 */
.advantages-section {
    background-color: #121212;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.advantage-card {
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: #0a0a0a;
    transition: transform 0.3s ease;
    padding: 1.5rem;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.advantage-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.3);
}

.advantage-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.advantage-text {
    color: var(--muted-foreground);
}

/* Портфолио - #0A0A0A */
.portfolio-section {
    background-color: #0a0a0a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 3/4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(10, 10, 10, 0.9), 
        rgba(18, 18, 18, 0.6), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 1.5rem;
    width: 100%;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Отзывы - #121212 */
.reviews-section {
    background-color: #121212;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.stars svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #ff6d00;
    color: #ff6d00;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.rating-text {
    color: var(--muted-foreground);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: #0a0a0a;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.review-stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
}

.review-stars svg {
    width: 1rem;
    height: 1rem;
    fill: #ff6d00;
    color: #ff6d00;
}

.review-text {
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-name {
    font-weight: 600;
    color: #ffffff;
}

.review-date {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Консультация - #0A0A0A */
.consultation-section {
    background-color: #0a0a0a;
}

.consultation-content {
    max-width: 64rem;
    margin: 0 auto;
}

.consultation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.consultation-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .consultation-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.consultation-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: #121212;
    padding: 0.625rem;
    font-size: 0.875rem;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.1);
}

.form-group textarea {
    min-height: 5rem;
    resize: vertical;
}

/* Стили для кнопок формы */
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.viber-single {
    display: flex;
    justify-content: center;
    width: 100%;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    height: 2.75rem;
    white-space: nowrap;
    min-width: 0;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.telegram-btn {
    background-color: #0088cc;
    color: white;
}

.telegram-btn:hover {
    background-color: #006699;
    transform: scale(1.05);
}

.viber-btn {
    background-color: #7360F2;
    color: white;
    max-width: 300px;
    margin: 0 auto;
}

.viber-btn:hover {
    background-color: #5a4bc4;
    transform: scale(1.05);
}

.submit-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    min-width: 1rem;
}

/* Стили для обязательных полей - ТОЛЬКО КРАСНАЯ ЗВЕЗДОЧКА */
.form-group label::after {
    content: ""; /* Убираем общую звездочку */
}

/* Добавляем красную звездочку только для обязательных полей */
.form-group label[for="name"]::after,
.form-group label[for="contact"]::after {
    content: " *";
    color: #e53935;
}

/* Убираем все границы для обязательных полей */
.form-group input:required,
.form-group textarea:required {
    border-left: 1px solid var(--border); /* Обычная граница */
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: var(--border); /* Обычная граница при невалидности */
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: var(--border); /* Обычная граница при валидности */
}

/* Стили для фокуса одинаковые для всех полей */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.1);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .form-buttons {
        gap: 0.75rem;
    }
    
    .form-buttons-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .submit-btn {
        font-size: 0.75rem;
        padding: 0.6rem 0.4rem;
        height: 2.5rem;
    }
    
    .viber-btn {
        max-width: 100%;
    }
    
    .submit-btn svg {
        width: 0.875rem;
        height: 0.875rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .submit-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.3rem;
    }
}

.consultation-info {
    background-color: #121212;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
}

.info-block {
    margin-bottom: 1.5rem;
}

.info-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.info-block h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.info-block ol {
    margin-bottom: 0.75rem;
    list-style-type: decimal;
    list-style-position: inside;
    color: var(--muted-foreground);
}

.info-block p {
    color: var(--muted-foreground);
}

/* Футер - #121212 */
.footer {
    background-color: #121212;
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e53935, #ff6d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-list {
    margin-bottom: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.contact-item svg {
    width: 1rem;
    height: 1rem;
    color: #e53935;
}

.contact-item a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #e53935;
}

.services-list {
    list-style: none;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.services-list li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Уменьшение текста О Нас на 15% */
.about-description {
    font-size: 0.95rem;
    transform: scale(0.85);
    transform-origin: center;
}

/* Правильный таймлайн по центру страницы */
.timeline {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding-left: 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 109, 0, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 3rem;
    height: 3rem;
    background-color: #121212;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-content {
    width: 45%;
    margin-left: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 4rem;
}

/* Цвет блоков #1A1A1A для преимуществ и отзывов */
.advantages-section .advantage-card,
.reviews-section .review-card {
    background-color: #1a1a1a;
}

/* Надпись в одну строку */
.advantages-section .section-title {
    white-space: nowrap;
}

/* Оранжевые звезды */
.stars svg,
.review-stars svg {
    fill: #ff6d00 !important;
    color: #ff6d00 !important;
}

/* Анимации для карточек */
.service-card,
.advantage-card,
.portfolio-item,
.review-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Увеличиваем текст "О нас" */
.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Градиент для ARTMETALLWORK в тексте */
.about-description span.artmetallwork-gradient,
.consultation-info span.artmetallwork-gradient,
.footer-text span.artmetallwork-gradient {
    background: linear-gradient(135deg, #ff6d00, #e53935);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Жирные заголовки */
.section-title,
.hero-title,
.service-title,
.advantage-title,
.portfolio-title,
.review-author .author-name,
.consultation-header h2,
.info-block h3,
.info-block h4,
.footer-title {
    font-weight: 900 !important;
}

/* Кликабельные картинки портфолио */
.portfolio-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.02);
}

/* Модальное окно для увеличенных изображений */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.portfolio-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.portfolio-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-modal-close:hover {
    color: #ff6d00;
    background: rgba(255, 109, 0, 0.2);
}

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

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .portfolio-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .portfolio-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

/* Звезды для всех отзывов */
.review-stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
}

.review-stars svg {
    width: 1rem;
    height: 1rem;
    fill: #ff6d00;
    color: #ff6d00;
}

/* Стили для уведомления Viber */
.viber-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    border: 2px solid #7360F2;
    border-radius: 10px;
    padding: 2rem;
    z-index: 10000;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.viber-notification h3 {
    color: #7360F2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.viber-notification p {
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.5;
}

.viber-notification-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

.viber-notification-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.viber-notification-open {
    background: #7360F2;
    color: white;
}

.viber-notification-open:hover {
    background: #5a4bc4;
}

.viber-notification-copy {
    background: #7360F2;
    color: white;
}

.viber-notification-copy:hover {
    background: #5a4bc4;
}

.viber-notification-close {
    background: #333;
    color: white;
}

.viber-notification-close:hover {
    background: #555;
}

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    /* Запрет горизонтальной прокрутки */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    /* Исправление таймлайна для 2025 */
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 85%;
        text-align: left;
        padding: 0 0 0 3rem;
        margin: 0;
    }
    
    .timeline-content .timeline-text {
        font-size: 1rem;
        word-wrap: break-word;
        white-space: normal;
    }
    
    /* Исправление заголовка "Почему выбирают" */
    .advantages-section .section-title {
        white-space: normal;
        font-size: 2rem;
        padding: 0 1rem;
        line-height: 1.2;
    }
    
    /* Исправление "Бесплатная консультация" */
    .consultation-header .section-title {
        white-space: normal;
        font-size: 2rem;
        padding: 0 1rem;
        line-height: 1.2;
    }
    
    /* Общие исправления для заголовков */
    .section-title {
        font-size: 2rem !important;
        padding: 0 1rem;
        word-wrap: break-word;
    }
    
    /* Уменьшение отступов секций */
    .section {
        padding: 3rem 0;
    }
    
    /* Адаптация контейнера */
    .container {
        padding: 0 0.5rem;
    }
    
    /* Адаптация главного экрана */
    .hero-title {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Адаптация услуг */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-title {
        font-size: 1.1rem;
        height: auto;
        min-height: 3.5rem;
    }
    
    .service-description {
        height: auto;
        min-height: 4rem;
    }
    
    /* Адаптация преимуществ */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Адаптация портфолио */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Адаптация отзывов */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Адаптация формы */
    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .consultation-info {
        padding: 1.5rem;
    }
    
    /* Адаптация футера */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Адаптация галереи "О нас" */
    .about-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.full-width {
        grid-column: span 1;
    }
    
    /* Уменьшение текста в некоторых местах */
    .about-description {
        font-size: 1rem;
        transform: none;
        padding: 0 0.5rem;
    }
    
    /* Исправление фильтра услуг */
    .services-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Дополнительные исправления для очень маленьких экранов */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .timeline-content .timeline-year {
        font-size: 1.5rem;
    }
    
    .timeline-content .timeline-text {
        font-size: 0.9rem;
    }
    
    .advantages-section .section-title,
    .consultation-header .section-title {
        font-size: 1.8rem !important;
    }
}

/* Гарантия что ничего не выходит за пределы */
* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Стили для urgency-баннера (полная ширина) */
.urgency-banner {
    background: linear-gradient(135deg, #e53935, #ff6d00);
    color: white;
    text-align: center;
    padding: 1.2rem 0;
    font-weight: 800;
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
    width: 100%;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(229, 57, 53, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(229, 57, 53, 0.9);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .urgency-banner {
        font-size: 1rem;
        padding: 1rem 0.5rem;
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .urgency-banner {
        font-size: 0.9rem;
        padding: 0.8rem 0.3rem;
    }
}

/* Скрываем индикатор скролла на мобильных устройствах */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Отступ для подзаголовка на мобильных */
@media (max-width: 768px) {
    .hero-subtitle {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* Стили для телефона на десктопе */
.header-phone.desktop {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
}

.phone-link.desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ff6d00;
    color: white;
    padding: 0.75rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
    border: 2px solid #ff6d00;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
}

.phone-link.desktop.expanded {
    width: auto;
    padding: 0.75rem 1.5rem;
}

.phone-link.desktop .phone-text {
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-link.desktop.expanded .phone-text {
    opacity: 1;
    width: auto;
}

.phone-link.desktop:hover {
    background-color: transparent;
    color: #ff6d00;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.4);
}

.phone-link.desktop svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    min-width: 20px;
}

/* Кнопка "Позвонить прямо сейчас" на десктопе */
.cta-button.secondary.desktop-call {
    position: relative;
    overflow: hidden;
}

.cta-button.secondary.desktop-call .phone-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ff6d00;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    font-weight: 700;
}

.cta-button.secondary.desktop-call.show-number .phone-number {
    opacity: 1;
    transform: translateY(0);
}

.cta-button.secondary.desktop-call.show-number {
    background-color: transparent;
    border-color: #ff6d00;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header-phone.desktop {
        display: none;
    }
    
    .cta-button.secondary.desktop-call {
        display: none;
    }
}

/* Стили для мобильной версии телефона */
.header-phone.mobile {
    display: none;
}

@media (max-width: 768px) {
    .header-phone.mobile {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 9999;
    }
    
    .phone-link.mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ff6d00;
        color: white;
        padding: 0.6rem;
        border-radius: 50%;
        width: 3rem;
        height: 3rem;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
        border: 2px solid #ff6d00;
    }
    
    .phone-link.mobile:hover {
        background-color: transparent;
        color: #ff6d00;
        transform: scale(1.05);
    }
    
    .phone-link.mobile span {
        display: none;
    }
}