:root {
    --text-color-main: #333;
    --bg-color: #f8f9fa;
    --orange: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
}

.top-line-social-link-icon {
    height: 15px;
    width: 15px;
}

.telegram {
    fill: #1e40af;
}

.watsapp {
    fill: #29a71a;
}

.viber {
    fill: #7d5bee;
}

.vk {
    fill: #5181b8;
}

.callBackyHolder {
    display: none;
}

.button-call-mobile {
    background-color: #27a1df;
    border: none;
    color: var(--bg-color);
    font-size: 1.3rem;
}

.cta-button {
    background: var(--orange);
    color: #1e40af;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.order-button {
    position: absolute;
    top: 20px;
    font-size: 1rem;
    border: none;
}

.header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--bg-color);
    font-size: 14px;
}

.city-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.city-selector select {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-icon {
    width: 20px;
    height: 20px;
    background-color: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.contact-links {
    display: flex;
    gap: 15px;
}

.contact-links a {
    color: var(--text-color-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--orange);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-nav.active {
    display: flex;
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    background: none;
    border: none;
    color: var(--orange);
    cursor: pointer;
}

.mobile-nav ul {
    text-decoration: none;
    list-style: none;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    font-size: 1.8rem;
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 110px;
    height: auto;
}

.logo-text {
    font-weight: bold;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b6b;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.phone-number a {
    color: var(--orange);
    font-weight: bold;
    font-size: 24px;
}

.phone-hours {
    font-size: 12px;
    color: #fff;
}

.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1));
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/main.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.hero-content {
    display: flex;
    height: 100%;
    padding: 60px 0 0 5%;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 30px;
}

.location {
    font-size: 26px;
    color: #666;
    margin-bottom: 10px;
}

.headline {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    font-size: 20px;
}

.features li::before {
    content: "•";
    margin-right: 10px;
    color: #ff6b6b;
    font-weight: bold;
}

.discount-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.discount-badge {
    position: relative;
    background-color: #ff6b6b;
    color: white;
    font-size: 32px;
    font-weight: bold;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
}

.discount-badge::before {
    position: absolute;
    top: -40px;
    content: "Только до конца месяца";
    width: 233px;
    height: 33px;
    background-color: #3b82f6;
    font-size: 14px;
    font-weight: 300;
    border-radius: 20px;
    padding-top: 7px;

}

.discount-text {
    font-size: 25px;
    font-weight: bold;
    color: #ff6b6b;
}

.discount-label {
    background-color: #5e9cf7;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    position: absolute;
    top: 500px;
    left: 100px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
}

.booking-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.form-title {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b6b;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-left: 40px;
}

.book-button {
    background-color: #ffd700;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 250px;
}

.book-button:hover {
    background-color: #ffcc00;
}

.bonus-button {
    max-width: 300px;
    border-radius: 20px;
    border-radius: 20px;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #1e40af;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange);
    margin: 0.5rem auto;
    border-radius: 2px;
}

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

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.advantage-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.advantage-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

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

.tab-button,
.tab-button-fak {
    padding: 10px 25px;
    background: #e0e7ff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #1e40af;
    transition: all 0.3s ease;
}

.tab-button-fak.active,
.tab-button.active {
    background: #3b82f6;
    color: white;
}

.tab-button-fak:hover:not(.active),
.tab-button:hover:not(.active) {
    background: #c7d2fe;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.catalog-item {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.catalog-item:hover {
    transform: translateY(-5px);
}

.catalog-image {
    width: 100%;
    height: inherit;
    background-color: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-weight: bold;
}

.catalog-info {
    padding: 1.5rem;
}

.catalog-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--orange);
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.review-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--orange);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.review-text {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-weight: bold;
}

.stars {
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 250px;
    background-color: #e0e7ff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h3 {
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details a {
    text-decoration: none;
    color: var(--text-color-main);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    background: #3b82f6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon .instagram {
    height: 26px;
    width: 60px;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.submit-btn {
    background: #1e40af;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #3b82f6;
}

footer {
    background: #1e40af;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p a {
    color: var(--orange);
    text-decoration: none;
}

footer p a:hover {
    color: var(--bg-color);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo span {
    color: var(--orange);
}

.footer-rights {
    margin-top: 2rem;
    opacity: 0.8;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 24px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    outline: none;
}

.input-field:focus {
    border-color: #2563eb;
}

.phone-input {
    border-color: #10b981;
}

.phone-input::placeholder {
    color: var(--text-color-main);
}

.callbackForm .submit-btn {
    display: block;
    margin: 0 auto;
}

.modal .active {
    display: block;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        padding: 40px 5% 0 5%;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .headline {
        font-size: 28px;
    }

    .discount-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .discount-badge {
        font-size: 28px;
        padding: 10px 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        min-width: 100%;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 6px;
        display: block;
        margin-top: 10px;
    }


    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 2rem 0 5rem 0;
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: row;
        gap: 10px;
        padding: 10px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section {
        height: auto;
        padding: 30px 0;
    }

    .hero-bg {
        height: 100%;
    }

    .top-bar {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .phone-number  a{
        margin-right: 60px;
        font-size: 17px;
    }

    .hero-image {
        display: none;
    }

    .logo img {
        width: 69px;
    }

    .call-backy-modal-open {
        display: flex;
        justify-content: center;
        width: 100%;
        color: #fff;
        font: 600 20px/1.2 'Open Sans', arial, sans-serif;
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 16px;
        cursor: pointer;
        z-index: 100000000000000;
    }

    .callBackyHolder img {
        margin-right: 10px;
    }


    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
    }
}