/* ========== СТИЛИ ДЛЯ СТРАНИЦЫ РЕМОНТ И ДИЗАЙН ========== */

/* ГЕРОЙ */
.renovation-hero {
    background: linear-gradient(135deg, rgba(230, 80, 32, 0.05), rgba(243, 161, 25, 0.05));
    padding: 80px 0 60px;
    text-align: center;
}

.renovation-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.renovation-title span {
    background: linear-gradient(135deg, #E65020, #F3A119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.renovation-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .renovation-title {
        font-size: 2rem;
    }
    .renovation-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* ТАРИФЫ */
.tariffs-section {
    background: white;
}

.tariffs-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tariff-card {
    background: #FCF9F5;
    border-radius: 40px;
    padding: 35px 25px;
    transition: all 0.3s;
    border: 1px solid rgba(230, 80, 32, 0.1);
    position: relative;
}

.tariff-card.featured {
    background: white;
    border: 2px solid #E65020;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(230, 80, 32, 0.1);
}

.tariff-card:hover {
    transform: translateY(-8px);
}

.tariff-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.tariff-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #E65020, #F3A119);
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.tariff-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.tariff-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1E1E1E;
}

.tariff-list {
    list-style: none;
    margin-bottom: 25px;
}

.tariff-list li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(230, 80, 32, 0.1);
}

.tariff-price {
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid rgba(230, 80, 32, 0.1);
    margin-top: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 10px;
}

.price-new {
    font-size: 2rem;
    font-weight: 800;
    color: #E65020;
}

.tariff-btn {
    width: 100%;
    background: linear-gradient(135deg, #E65020, #F3A119);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.tariff-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(230, 80, 32, 0.3);
}

@media (max-width: 968px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tariff-card.featured {
        transform: scale(1);
    }
    .tariff-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ГАЛЕРЕЯ ДИЗАЙН-ПРОЕКТОВ (КАРУСЕЛИ) */
.design-gallery {
    background: #FFF9F4;
}

.gallery-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 10px 0 80px;
}

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.project-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 1px solid rgba(230, 80, 32, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(230, 80, 32, 0.15);
}

.project-header {
    padding: 25px 30px 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.project-title {
    font-size: 1.8rem;
    color: #E65020;
    font-weight: 700;
    margin: 0;
}

.project-area {
    background: rgba(230, 80, 32, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    color: #E65020;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .project-header {
        padding: 20px 25px 10px 25px;
        flex-direction: column;
        align-items: flex-start;
    }
    .project-title {
        font-size: 1.5rem;
    }
}

/* КАРУСЕЛЬ ВНУТРИ КАРТОЧКИ */

/* КАРУСЕЛЬ - чуть вытянутая по вертикали */
.carousel-container {
    position: relative;
    margin: 0 25px 20px 25px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;  /* 4:5 - чуть выше, чем ширина */
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .carousel {
        aspect-ratio: 3 / 4;  /* на планшетах чуть выше */
    }
}

@media (max-width: 480px) {
    .carousel {
        aspect-ratio: 1 / 1;  /* на телефонах квадрат */
    }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 10;
    color: #E65020;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #E65020, #F3A119);
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 80, 32, 0.3);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-dot.active {
    background: #E65020;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel-container {
        margin: 0 20px 15px 20px;
    }
    .carousel {
        height: 260px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 220px;
    }
    .carousel-container {
        margin: 0 15px 15px 15px;
        border-radius: 20px;
    }
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ЭТАПЫ */
.design-steps {
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #FCF9F5;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(230, 80, 32, 0.1);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 80, 32, 0.3);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E65020, #F3A119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ФОРМА */
.form-section {
    background: #FFF9F4;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(230, 80, 32, 0.1);
}

.form-wrapper h2 {
    margin-bottom: 15px;
}

.form-wrapper h2 span {
    background: linear-gradient(135deg, #E65020, #F3A119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-wrapper p {
    color: #666;
    margin-bottom: 30px;
}

#callbackForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#callbackForm input,
#callbackForm select {
    padding: 15px 20px;
    border: 2px solid rgba(230, 80, 32, 0.15);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
}

#callbackForm input:focus,
#callbackForm select:focus {
    outline: none;
    border-color: #E65020;
    box-shadow: 0 0 0 3px rgba(230, 80, 32, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #E65020, #F3A119);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(230, 80, 32, 0.3);
}

@media (max-width: 568px) {
    .form-wrapper {
        padding: 30px 20px;
        border-radius: 40px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* МОДАЛЬНОЕ ОКНО */
.modal-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
}

.tariff-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tariff-modal {
    background: white;
    border-radius: 40px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

.tariff-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s;
}

.tariff-modal-close:hover {
    color: #E65020;
}

.tariff-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #E65020;
    text-align: center;
}

.tariff-modal input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border: 2px solid rgba(230, 80, 32, 0.15);
    border-radius: 50px;
    font-size: 1rem;
}

.tariff-modal input:focus {
    outline: none;
    border-color: #E65020;
}

.tariff-modal .submit-btn {
    width: 100%;
    margin-top: 10px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Чекбокс */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.checkbox-label span {
    line-height: 1.4;
}