/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя полоса */
.top-bar {
    background: #f1e9e0;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts span,
.top-info span {
    margin-right: 20px;
}

/* Навигация */
.main-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 32px;
}

.company-name {
    display: flex;
    flex-direction: column;
}

.brand {
    font-size: 24px;
    font-weight: 700;
    color: rgb(198, 164, 126);
}

.tagline {
    font-size: 12px;
    color: #666;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: rgb(198, 164, 126);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

/* Hero секция */
.hero {
    background: #fff;
    padding: 10px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: normal;
}

.hero h1 {
    font-size: 68px;
    color: rgb(26, 26, 26);
    margin-bottom: 40px;
    line-height: 1.0;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-features p {font-size:19px;}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 14px;
    background-color: #f1e9e0;
    border-radius: 25px;
}

.feature-number {
    background: rgb(198, 164, 126);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature p {
    margin: 0;
    padding-top: 3px;
    color:#222;
}

.cta-button {
    background: rgb(198, 164, 126);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(198, 164, 126, 0.3);
}

.hero-right img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Секция доверия */
.trust-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 50px;
    text-align: center;
    color: rgb(26, 26, 26);
    margin-bottom: 20px;
    text-align: left;
}

.section-subtitle {
    text-align: left;
    font-size: 23px;
    color: #666;
    margin-bottom: 30px;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-card {
    background: #f5f2ed;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
}

.trust-card h3 {
    color: #c5934d;
    margin-bottom: 15px;
    font-size: 24px;
}

/* Стили для секции проектов */
.projects-section {
    padding: 80px 0;
    background: #f4f2ec;
    border-radius: 30px;
    margin: 40px 20px;
}

.projects-section .section-title {
    font-size: 50px;
    text-align: left;
    color: #000000;
    margin-bottom: 50px;
    font-weight: 600;

}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 280px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    color: rgb(198, 164, 126);
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 600;
}

.project-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    background: rgb(198, 164, 126);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.price {
    color: #7f4343;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.project-btn {
    background: #c4934c;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

.project-btn:hover {
    background: #b08340;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(196, 147, 76, 0.3);
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .project-card {
        flex-direction: column;
        min-height: auto;
    }

    .project-image {
        flex: none;
        height: 250px;
    }

    .project-info {
        padding: 25px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
        margin: 20px 10px;
        border-radius: 20px;
    }

    .projects-section .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .projects-grid {
        gap: 20px;
    }

    .project-image {
        height: 200px;
    }

    .project-info h3 {
        font-size: 24px;
    }

    .price {
        font-size: 26px;
    }

    .project-btn {
        width: 100%;
        text-align: center;
    }
}

/* О нас */
.about-section {
    padding: 80px 0;
    background: #fff4e8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-left h2 {
    color: rgb(198, 164, 126);
    font-size: 36px;
    margin-bottom: 25px;
}

.about-left p {
    margin-bottom: 20px;
    color: #333;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    color: rgb(198, 164, 126);
    font-weight: bold;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.about-right img {
    width: 100%;
    border-radius: 15px;
}

/* Специальное предложение */
.special-offer {
    background: #342c20;
    color: white;
    padding: 80px 0;
}

.offer-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.offer-content h2 {
    font-size: 47px;
    margin-bottom: 20px;
}

.offer-content p {
    font-size: 30px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 8px;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form select {
    color: rgba(255,255,255,0.9);
}

.contact-form select option {
    background: #342c20;
    color: white;
}

.submit-btn {
    background: rgb(198, 164, 126);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.submit-btn:hover {
    background: #b89a70;
    transform: translateY(-2px);
}

/* Футер */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .brand {
    font-size: 24px;
    font-weight: 700;
}

.footer-left p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-contacts p {
    margin-bottom: 10px;
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: rgb(198, 164, 126);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: rgb(198, 164, 126);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .trust-cards {
        grid-template-columns: 1fr;
    }


    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-right {
        grid-template-columns: 1fr;
    }
}



.trust-section {
    padding: 60px 0;
    background: #ffffff;
}

.section-title {
    color: rgb(26, 26, 26);
    font-size: 42px;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.1;
}

.section-subtitle {
    text-align: left;
    color: rgb(65, 65, 65);
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.trust-card {
    background: #f4f2ec;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    padding-top: 40px;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198, 164, 126, 0.15);
}

.trust-card-header {
    padding: 20px 25px 12px;
    border-bottom: 2px solid rgba(198, 164, 126, 0.2);
    position: relative;
    text-align: center;
}
.trust-card-header h3{color: #c5934d;}

.trust-card h3 {
    color: #c5934d;
    font-size: 26px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.big-number {
    font-size: 87px !important;
    color: #c5934d;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    top: -33px;
    left: 18px;
    z-index: 22;
}

.trust-card-content {
    padding: 15px 25px 10px;
}

.trust-card p {
    color: #343434;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .trust-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .trust-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .trust-card-header {
        padding: 18px 20px 10px;
    }

    .trust-card h3 {
        font-size: 18px;
    }

    .big-number {
        font-size: 36px !important;
    }

    .trust-card-content {
        padding: 12px 20px 18px;
    }

    .trust-card p {
        font-size: 13px;
        line-height: 1.3;
    }
}



.projects-section {
    padding: 0px 0;
    background: #ffffff;
}

.section-title {
    color: rgb(26, 26, 26);
    font-size: 42px;
    text-align: left;
    margin-bottom: 30px;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 280px;
    padding:10px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(198, 164, 126, 0.2);
}

.project-image {
    flex: 0 0 45%;
    height: 100%;
    overflow: hidden;
    border-radius:10px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    flex: 1;
    padding: 1px 20px;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    color: rgb(36, 36, 36);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.project-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
}

.badges {
    display: flex;
    gap: 8px;
    margin-bottom: 2px;
}

.badge {
    background: #c6a47e;
    color: #ffedd8;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.price {
    color: #7f4343;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-btn {
    background: #c4934c;
    color: white;
    border: none;
    padding: 15px 24px;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

.project-btn:hover {
    background: #b89a70;
    transform: translateX(5px);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .project-card {
        height: 260px;
    }

    .project-info {
        padding: 20px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .project-info p {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 10px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .projects-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        flex-direction: column;
        height: auto;
    }

    .project-image {
        flex: none;
        height: 200px;
        width: 100%;
    }

    .project-info {
        padding: 20px;
    }

    .project-info h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .project-info p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .badges {
        margin-bottom: 15px;
    }

    .price {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .project-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Для маленьких мобильных */
@media (max-width: 480px) {
    .project-image {
        height: 180px;
    }

    .project-info {
        padding: 18px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .project-info p {
        font-size: 13px;
    }

    .badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}


.stages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f4f2ec 100%);
    position: relative;
    overflow: hidden;
}

.stages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(198, 164, 126, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}


.stages-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.stages-line {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(198, 164, 126, 0.3) 10%, 
        rgba(198, 164, 126, 0.3) 90%, 
        transparent 100%);
    z-index: 1;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stage-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(198, 164, 126, 0.25);
}

.stage-card:hover .stage-number {
    background: rgb(198, 164, 126);
    color: white;
}

.stage-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid rgb(198, 164, 126);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: rgb(198, 164, 126);
    transition: all 0.3s;
}

.stage-icon {
    margin-bottom: 20px;
    color: rgb(198, 164, 126);
    display: inline-block;
    padding: 15px;
    background: rgba(198, 164, 126, 0.1);
    border-radius: 50%;
}

.stage-title {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.stage-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.stage-phone {
    display: inline-block;
    color: rgb(198, 164, 126);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(198, 164, 126, 0.1);
    border-radius: 25px;
    transition: all 0.3s;
}

.stage-phone:hover {
    background: rgb(198, 164, 126);
    color: white;
    transform: scale(1.05);
}

.payment-stages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.payment-item {
    text-align: left;
    padding: 10px;
    background: rgba(198, 164, 126, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgb(198, 164, 126);
}

.payment-percent {
    display: block;
    color: rgb(198, 164, 126);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.payment-text {
    display: block;
    color: #666;
    font-size: 12px;
    line-height: 1.3;
}

.stages-cta {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: rgba(198, 164, 126, 0.08);
    border-radius: 20px;
}

.cta-text {
    color: #333;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-button {
    background: rgb(198, 164, 126);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(198, 164, 126, 0.3);
}

.cta-button:hover {
    background: #b89a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 164, 126, 0.4);
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stage-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.stage-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stage-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stage-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Адаптивность */
@media (max-width: 992px) {
    .stages-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .stages-line {
        display: none;
    }

    .payment-stages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stages-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .stage-card {
        padding: 35px 25px 30px;
    }

    .stage-title {
        font-size: 20px;
    }

    .stage-description {
        font-size: 14px;
    }

    .stage-phone {
        font-size: 16px;
    }

    .stages-cta {
        padding: 30px 20px;
    }

    .cta-text {
        font-size: 18px;
    }
}





.work-gallery-section {
    padding: 80px 0;
    background: #ffffff;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(198, 164, 126, 0.3);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0) 50%, 
        rgba(198, 164, 126, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.zoom-icon {
    opacity: 0.9;
}

/* Модальное окно */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

.modal-close:hover {
    color: rgb(198, 164, 126);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-caption {
    color: white;
    font-size: 18px;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(198, 164, 126, 0.9);
    border-radius: 25px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(198, 164, 126, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-nav:hover {
    background: rgb(198, 164, 126);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .work-gallery-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-caption {
        font-size: 12px;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .modal-caption {
        font-size: 16px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}



.completed-projects-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f2ec 100%);
}


.projects-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-slider {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(198, 164, 126, 0.15);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-slide {
    min-width: 100%;
    background: white;
}

.projects-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.project-image-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.project-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(198, 164, 126, 0.95);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 5;
}

/* Блок с информацией поверх изображения */
.project-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        transparent 100%);
    /* backdrop-filter: blur(10px); */
    color: white;
}

.project-name {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(198, 164, 126, 0.3);
    border: 1px solid rgba(198, 164, 126, 0.5);
    border-radius: 10px;
    color: rgb(198, 164, 126);
}

.spec-content {
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Навигация слайдера */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: rgb(198, 164, 126);
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgb(198, 164, 126);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: -28px;
}

.slider-next {
    right: -28px;
}

/* Индикаторы слайдов */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgb(198, 164, 126);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: rgb(198, 164, 126);
    width: 32px;
    border-radius: 6px;
}

.dot:hover:not(.active) {
    background: rgba(198, 164, 126, 0.3);
}

/* Анимация появления */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-slide.active .project-details {
    animation: slideIn 0.6s ease-out;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .project-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .project-image-wrapper {
        height: 500px;
    }

    .project-name {
        font-size: 28px;
    }

    .slider-nav {
        width: 48px;
        height: 48px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .completed-projects-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .project-image-wrapper {
        height: 450px;
    }

    .project-details {
        padding: 30px 20px;
    }

    .project-name {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .project-specs {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .project-badge {
        top: 20px;
        right: 20px;
        font-size: 12px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .project-image-wrapper {
        height: 400px;
    }

    .spec-icon {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .spec-label {
        font-size: 11px;
    }

    .spec-value {
        font-size: 14px;
    }
    .project-details {
        padding: 25px 15px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
    }
}








.reviews-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Слайдер отзывов */
.reviews-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.reviews-slider {
    overflow: visible;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.review-card {
    flex: 0 0 400px;
    background: #fff4e8;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(198, 164, 126, 0.15);
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.review-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 50px rgba(198, 164, 126, 0.25);
}

.review-card:hover {
    transform: scale(0.95);
}

.review-card.active:hover {
    transform: scale(1.02);
}

.review-author {
    color: rgb(36, 36, 36);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/*.review-author::before {
    content: '';
    width: 40px;
    height: 40px;
    background: rgb(198, 164, 126);
    border-radius: 50%;
    opacity: 0.2;
}*/

.review-text {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Кнопка написать отзыв */
.reviews-action {
    text-align: center;
    margin-top: 50px;
}

.write-review-btn {
    background: rgb(198, 164, 126);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(198, 164, 126, 0.3);
}

.write-review-btn:hover {
    background: #b89a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 164, 126, 0.4);
}

/* Модальное окно */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.review-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgb(198, 164, 126);
    color: white;
}

.modal-title {
    color: rgb(198, 164, 126);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Форма */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(198, 164, 126);
    box-shadow: 0 0 0 3px rgba(198, 164, 126, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-review-btn {
    background: rgb(198, 164, 126);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-review-btn:hover {
    background: #b89a70;
    transform: translateY(-2px);
}

.form-disclaimer {
    color: #999;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

.form-disclaimer a {
    color: rgb(198, 164, 126);
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }

    .review-card {
        flex: 0 0 280px;
        padding: 25px 20px;
    }

    .review-author {
        font-size: 18px;
    }

    .review-text {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-container {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 24px;
    }
}










.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fef9f4 100%);
}


.faq-list {
    max-width: 900px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #f5e8dc;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(198, 164, 126, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(198, 164, 126, 0.15);
}

.faq-item.active {
    background: white;
    box-shadow: 0 10px 40px rgba(198, 164, 126, 0.2);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: rgba(198, 164, 126, 0.05);
}

.faq-question h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding-right: 40px;
    line-height: 1.5;
}

.faq-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: rgb(198, 164, 126);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.answer-content {
    padding: 0 30px 30px;
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.answer-content p {
    margin: 0 0 15px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.answer-link {
    color: rgb(198, 164, 126);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.answer-link:hover {
    color: #b89a70;
}

.answer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgb(198, 164, 126);
    transition: width 0.3s;
}

.answer-link:hover::after {
    width: 100%;
}

/* Кнопка задать вопрос */
.faq-action {
    text-align: center;
    margin-top: 50px;
}

.ask-question-btn {
    background: rgb(198, 164, 126);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(198, 164, 126, 0.3);
}

.ask-question-btn:hover {
    background: #b89a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 164, 126, 0.4);
}

.ask-question-btn:active {
    transform: translateY(0);
}

/* Анимация при появлении */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.5s ease backwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

/* Адаптивность */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }


    .faq-list {
        padding: 0 15px;
        gap: 15px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
        padding-right: 35px;
    }

    .faq-arrow {
        right: 20px;
        width: 20px;
        height: 20px;
    }

    .answer-content {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .ask-question-btn {
        font-size: 15px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .answer-content {
        font-size: 13px;
        line-height: 1.7;
    }
}









.blog-section {
    padding: 80px 0;
    background: white;
}

/* Grid с карточками блога */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(198, 164, 126, 0.2);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Изображение */
.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(198, 164, 126, 0.95);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

/* Контент карточки */
.blog-content {
    padding: 25px;
}

.blog-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: rgb(198, 164, 126);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 14px;
}

.blog-meta svg {
    color: rgb(198, 164, 126);
    opacity: 0.6;
}

/* Кнопка перейти в блог */
.blog-action {
    text-align: center;
}

.go-to-blog-btn {
    background: rgb(198, 164, 126);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(198, 164, 126, 0.3);
}

.go-to-blog-btn:hover {
    background: #b89a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 164, 126, 0.4);
    gap: 15px;
}

.go-to-blog-btn svg {
    transition: transform 0.3s;
}

.go-to-blog-btn:hover svg {
    transform: translateX(3px);
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 17px;
    }

    .go-to-blog-btn {
        font-size: 15px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-category {
        font-size: 11px;
        padding: 5px 12px;
        top: 15px;
        left: 15px;
    }

    .blog-title {
        font-size: 16px;
        min-height: 48px;
    }

    .blog-meta {
        font-size: 13px;
    }
}
















.map-contact-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Карта на фоне */
.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

.map-background iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* Оверлей с контактной информацией */
.contact-overlay {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 500px;
}

.contact-card {
    background: #c5934d;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Декоративный элемент */
.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Контактная информация */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0.9;
}

.info-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.info-link:hover {
    transform: translateX(5px);
}

.info-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s;
}

.info-link:hover::after {
    width: 100%;
}

/* Адрес */
.contact-address {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.address-icon,
.schedule-icon {
    width: 24px;
    height: 24px;
    color: white;
    opacity: 0.9;
    flex-shrink: 0;
    margin-top: 2px;
}

.address-text p,
.schedule-text p {
    margin: 0;
    line-height: 1.6;
    color: white;
    font-size: 15px;
}

/* Расписание */
.contact-schedule {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* CTA текст */
.contact-cta {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-cta p {
    color: white;
    font-size: 17px;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Социальные сети */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Специфичные цвета для соцсетей при наведении */
.social-link.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.social-link.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-link.vkontakte:hover {
    background: #4680c2;
    border-color: #4680c2;
}

/* Анимация появления */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 30px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.contact-overlay {
    animation: slideInUp 0.8s ease-out;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .map-contact-section {
        height: 700px;
    }

    .contact-card {
        padding: 30px;
    }

    .contact-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .info-link {
        font-size: 16px;
    }

    .address-text p,
    .schedule-text p {
        font-size: 14px;
    }

    .contact-cta p {
        font-size: 16px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .map-contact-section {
        height: 750px;
    }

    .contact-overlay {
        width: 95%;
        max-width: none;
    }

    .contact-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-info {
        gap: 12px;
        margin-bottom: 20px;
    }

    .info-item {
        gap: 12px;
    }

    .info-icon {
        width: 20px;
        height: 20px;
    }

    .info-link {
        font-size: 15px;
    }

    .contact-address,
    .contact-schedule {
        padding: 15px;
        gap: 12px;
    }

    .address-icon,
    .schedule-icon {
        width: 20px;
        height: 20px;
    }

    .address-text p,
    .schedule-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .contact-cta {
        margin-bottom: 25px;
        padding-top: 15px;
    }

    .contact-cta p {
        font-size: 15px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* Альтернативный вариант с градиентным фоном вместо карты */
.map-background.gradient-fallback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}







/* Кнопка прокрутки наверх */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0;
    overflow: visible;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(198, 164, 126, 0.3);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* SVG прогресс-кольцо */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(198, 164, 126, 0.1);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: rgb(198, 164, 126);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 163.36; /* 2 * PI * 26 */
    stroke-dashoffset: 163.36;
    transition: stroke-dashoffset 0.15s ease-out;
}

/* Иконка стрелки */
.scroll-to-top-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(198, 164, 126);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover .scroll-to-top-icon {
    transform: translate(-50%, -50%) translateY(-2px);
}

/* Анимация при появлении */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-to-top.visible {
    animation: fadeInUp 0.5s ease-out;
}

/* Пульсация при достижении конца страницы */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 30px rgba(198, 164, 126, 0.4);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

.scroll-to-top.pulse {
    animation: pulse 2s infinite;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .progress-ring {
        width: 48px;
        height: 48px;
    }

    .progress-ring-bg,
    .progress-ring-fill {
        cx: 24;
        cy: 24;
        r: 22;
    }

    .progress-ring-fill {
        stroke-dasharray: 138.23; /* 2 * PI * 22 */
        stroke-dashoffset: 138.23;
    }

    .scroll-to-top-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Эффект ряби при клике */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.scroll-to-top::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(198, 164, 126, 0.3);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top.clicked::after {
    animation: ripple 0.6s ease-out;
}

/* Tooltip при наведении */
.scroll-to-top::before {
    content: 'Наверх';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-to-top:hover::before {
    transform: translateX(-50%) translateY(-8px);
    opacity: 1;
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    .scroll-to-top {
        background: #2a2a2a;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .scroll-to-top:hover {
        box-shadow: 0 8px 30px rgba(198, 164, 126, 0.5);
    }
}






/* Контейнер для социальных иконок */
.header-socials {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

/* Базовые стили иконок */
.social-icon {
    display: inline-block;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.social-icon__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.social-icon__svg {
    width: 40px;
    height: 40px;
    color: #423b3b;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Пульсирующий эффект */
.social-icon__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    opacity: 0;
}

/* Tooltip */
.social-icon__tooltip {
    position: absolute;
    bottom: 80%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.social-icon__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Telegram стили */
.social-icon--telegram .social-icon__wrapper:hover {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.3);
}

.social-icon--telegram:hover .social-icon__svg {
    color: white;
    transform: rotate(360deg) scale(1.1);
}

.social-icon--telegram:hover .social-icon__tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* Анимация для Telegram при наведении */
@keyframes telegram-fly {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(3px) translateY(-3px);
    }
    50% {
        transform: translateX(-2px) translateY(-5px);
    }
    75% {
        transform: translateX(2px) translateY(-3px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.social-icon--telegram:hover .social-icon__svg {
    animation: telegram-fly 1s ease-in-out infinite;
}

/* WhatsApp стили */
.social-icon--whatsapp .social-icon__wrapper:hover {
    background: linear-gradient(135deg, #25D366 0%, #20B954 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.social-icon--whatsapp:hover .social-icon__svg {
    color: white;
    transform: scale(1.1);
}

.social-icon--whatsapp:hover .social-icon__tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* Анимация для WhatsApp при наведении */
@keyframes whatsapp-shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-5deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(5deg);
    }
}

.social-icon--whatsapp:hover .social-icon__svg {
    animation: whatsapp-shake 0.5s ease-in-out;
}

/* Пульсация при наведении */
@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.social-icon:hover .social-icon__pulse {
    animation: pulse-ring 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.social-icon--telegram:hover .social-icon__pulse {
    background: rgba(42, 171, 238, 0.4);
}

.social-icon--whatsapp:hover .social-icon__pulse {
    background: rgba(37, 211, 102, 0.4);
}

/* Эффект клика */
.social-icon:active .social-icon__wrapper {
    transform: scale(0.95);
}

/* Магнитный эффект при приближении курсора */
.social-icon__wrapper {
    position: relative;
}

/* Блеск на иконке */
@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.social-icon__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.social-icon:hover .social-icon__wrapper::before {
    opacity: 1;
    animation: shine 0.8s ease-in-out;
}

/* Эффект появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-socials .social-icon {
    animation: fadeInUp 0.5s ease backwards;
}

.header-socials .social-icon:nth-child(1) {
    animation-delay: 0.1s;
}

.header-socials .social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

/* Индикатор онлайн */
.social-icon__wrapper::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border: 2px solid white;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.social-icon:hover .social-icon__wrapper::after {
    opacity: 1;
    transform: scale(1);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-socials {
        gap: 8px;
        margin-right: 10px;
    }

    .social-icon__wrapper {
        width: 32px;
        height: 32px;
    }

    .social-icon__svg {
        width: 38px;
        height: 38px;
    }

    /* На мобильных убираем некоторые анимации для производительности */
    .social-icon--telegram:hover .social-icon__svg {
        animation: none;
        transform: scale(1.1);
    }

    .social-icon--whatsapp:hover .social-icon__svg {
        animation: none;
        transform: scale(1.1);
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .social-icon__wrapper {
        background: rgba(255, 255, 255, 0.05);
    }

    .social-icon__svg {
        color: #999;
    }
}

/* Высокая контрастность */
@media (prefers-contrast: high) {
    .social-icon__wrapper {
        border: 1px solid currentColor;
    }
}

/* Уменьшенные анимации */
@media (prefers-reduced-motion: reduce) {
    .social-icon__wrapper,
    .social-icon__svg,
    .social-icon__tooltip {
        transition: opacity 0.2s ease;
    }

    .social-icon:hover .social-icon__svg {
        animation: none;
    }

    .social-icon:hover .social-icon__pulse {
        animation: none;
    }
}

/* Дополнительные эффекты для премиум вида */
.social-icon {
    position: relative;
    isolation: isolate;
}

/* Градиентная граница при наведении */
.social-icon__wrapper {
    position: relative;
    background-clip: padding-box;
}

.social-icon--telegram .social-icon__wrapper::before {
    background: linear-gradient(45deg, #2AABEE, #229ED9, #2AABEE);
}

.social-icon--whatsapp .social-icon__wrapper::before {
    background: linear-gradient(45deg, #25D366, #20B954, #25D366);
}

/* 3D эффект при наведении */
.social-icon:hover .social-icon__wrapper {
    transform: translateY(-3px) scale(1.05) rotateX(10deg);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Эффект волны при клике */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }
    100% {
        box-shadow: 0 0 0 20px transparent;
    }
}

.social-icon:active .social-icon__wrapper {
    animation: ripple 0.6s ease-out;
}

.social-icon--telegram:active .social-icon__wrapper {
    color: rgba(42, 171, 238, 0.4);
}

.social-icon--whatsapp:active .social-icon__wrapper {
    color: rgba(37, 211, 102, 0.4);
}