:root {
    --bg-main: #ffffff; 
    --bg-light-blue: #e8f8f8;
    --text-dark: #2b2b2b; 
    --text-white: #ffffff; 
    
    --accent-primary: #008b99; 
    --accent-gold: #F1C40F; 
    --gold-gradient: linear-gradient(90deg, #F1C40F 0%, #F6D365 50%, #F1C40F 100%);
    
    --font-heading: 'Playfair Display', serif;
    --font-text: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-text);
    background-color: var(--bg-main);
    color: var(--text-dark); 
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

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

.header {
    background-color: var(--bg-main); 
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-primary); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-dark); 
    font-family: var(--font-text);
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.5;
    transition: 0.3s;
}

.lang-switcher button.active {
    opacity: 1;
    color: var(--accent-primary); 
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header {
    background-color: var(--bg-main);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-primary); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-dark); 
    font-family: var(--font-text);
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.5;
    transition: 0.3s;
}

.lang-switcher button.active {
    opacity: 1;
    color: var(--accent-primary); 
}

.hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.6)), 
                url('../images/edmonton-bg.jpg') center/cover no-repeat;
}

.subtitle-badge h2 {
    color: var(--text-dark); 
    font-size: 24px;
    font-weight: 700;
}

.check {
    color: var(--accent-primary); 
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-primary); 
    color: var(--text-white);
    text-decoration: none;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid var(--accent-primary);
    border-radius: 30px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-primary); 
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
}

.subtitle-badge {
    background: var(--gold-gradient);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 5px;
    margin-bottom: 40px;
}



.benefits-list {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 40px auto;
    font-size: 18px;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}



.gallery {
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--accent-primary); 
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border: 3px solid var(--accent-primary);
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%; 
    display: flex;
    justify-content: center; 
    align-items: center;
    background-color: var(--bg-main); 
}

.carousel-image {
    width: 100%;
    height: 500px; 
    object-fit: contain; 
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8); 
    border: none;
    color: var(--accent-primary);
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: rgba(0, 139, 153, 0.3); 
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicator.current-indicator {
    background: var(--accent-primary); 
}

@media (max-width: 768px) {
    .carousel-image {
        height: 350px; 
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}



.scan-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
}
.contacts {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(232, 248, 248, 0.8), rgba(255, 255, 255, 0.75)), 
                url('../images/edmonton-footer.jpg') center/cover fixed no-repeat;
    border-top: 2px solid var(--accent-primary);
}

.contacts-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; 
    gap: 40px;
}

.contact-list {
    list-style: none;
    font-size: 20px;
    margin-bottom: 30px;
}

.contact-list li {
    margin-bottom: 15px;
}

.contact-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--accent-primary);
}

.satisfaction-badge {
    background: var(--gold-gradient);
    color: var(--bg-main);
    padding: 15px 25px;
    border-radius: 8px;
    text-align: center;
    display: inline-block;
}

.satisfaction-badge h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.stars {
    font-size: 24px;
    letter-spacing: 2px;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.socials-title {
    color: var(--accent-primary);
    font-size: 28px;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.social-icons-large {
    display: flex;
    gap: 20px;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.socials-title {
    var(--accent-primary);
    font-size: 28px;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.social-icons-large {
    display: flex;
    gap: 20px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%; 
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-primary);
    transition: fill 0.3s ease;
}

.social-btn.tiktok svg {
    width: 26px; 
    height: 30px;
}

.social-btn:hover {
    background-color: var(--accent-primary);
    transform: translateY(-5px);  
    box-shadow: 0 10px 20px rgba(0, 139, 153, 0.3);
}

.social-btn:hover svg {
    fill: var(--bg-main); 
}

.footer {
    padding: 20px 0;
    text-align: center;
    background-color: var(--bg-main); 
    font-size: 14px;
    color: var(--text-muted);
    border-top: 1px solid #eee;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-muted);
}

.legal-links a:hover {
    color: var(--accent-primary);
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    border-top: 3px solid var(--accent-primary);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    color: var(--text-dark); /* Темний текст */
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
}

.cookie-btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-btn-outline:hover {
    background-color: var(--accent-primary);
    color: var(--text-white);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .subtitle-badge {
        padding: 8px 20px;
        margin-bottom: 30px;
    }

    .subtitle-badge h2 {
        font-size: 18px;
    }

    .benefits-list {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .btn-primary {
        display: block;
        width: 100%; 
        text-align: center;
        font-size: 18px;
        padding: 15px 20px;
    }

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

    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .slider-button {
        width: 36px;
        height: 36px;
    }
    
    .slider-button::after {
        font-size: 16px;
    }

    .label {
        padding: 5px 10px;
        font-size: 10px;
        bottom: 10px;
    }
    
    .label-before { left: 10px; }
    .label-after { right: 10px; }

    .contacts-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

    .contact-list {
        font-size: 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-box {
        width: 100%;
        padding: 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-direction: row;
        gap: 10px;
    }
}

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

.logo-img {
    height: 100px;         
    width: auto;          
    display: block;
    
    margin-top: 5px;
    margin-bottom: 5px;
    
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;              
    
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); 
    filter: brightness(1.1); 
    cursor: pointer;
}

@media (max-width: 768px) {
    .logo-img {
        height: 70px; 
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 70px; 
    }
}

@media (max-width: 768px) {

    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .works-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .work-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #bffff4; 
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-title {
    font-family: var(--font-text);
    font-size: 24px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    font-family: var(--font-text);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 5px rgba(0, 139, 153, 0.3);
}

.quote-form textarea {
    resize: vertical; 
}

.quote-form .modal-submit {
    margin-top: 10px;
    border-radius: 10px; 
    border: none;
    background-color: #008b99;
    color: white;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

.quote-form .modal-submit:hover {
    background-color: #006f7a;
    color: white;
}

.input-group {
    position: relative;
    width: 100%;
}

.error-msg {
    color: #e74c3c;
    font-size: 12px;
    position: absolute;
    bottom: -16px;
    left: 5px;
    font-weight: 600;
}

.quote-form input.invalid {
    border: 2px solid #e74c3c;
    background-color: #fdf2f2;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #ffffff;
    border-radius: 10px;
    font-family: var(--font-text);
    font-size: 16px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select-trigger::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #888;
    transition: transform 0.3s;
}

.custom-select.open .custom-select-trigger {
    border-color: var(--accent-primary);
    box-shadow: 0 0 5px rgba(0, 139, 153, 0.3);
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    max-height: 220px;
    overflow-y: auto;
    transition: all 0.3s;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.custom-option:hover {
    background-color: var(--bg-light-blue);
}

.custom-option.selected {
    font-weight: bold;
    color: var(--accent-primary);
    background-color: #f0fdfc;
}

.success-content {
    text-align: center;
    padding: 30px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #2ecc71;
    color: white;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.success-content h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.discount-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(241, 196, 15, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
}

.header-contact {
    margin-left: auto;
    margin-right: 30px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 18px;
    background: var(--bg-light-blue);
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid var(--accent-primary);
    transition: 0.3s;
}

.header-phone:hover {
    background: var(--accent-primary);
    color: var(--text-white);
}

.location-link {
    color: var(--text-dark);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.location-link:hover { color: var(--accent-primary); }

/* --- Секція Відео та Процесу --- */
.media-section { 
    padding: 60px 0; 
    background: #fdfdfd; 
}

.media-grid { 
    display: flex; 
    gap: 30px; 
    align-items: stretch; 
    height: 550px; 
}

.video-container { 
    flex: 1.2; 
    height: 100%; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    border: 3px solid var(--accent-primary);
    background-color: #000; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video { 
    width: 100%; 
    height: 100%;
    object-fit: contain; 
    display: block; 
}

.process-gallery { 
    flex: 0.8; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    height: 100%; 
}

.process-img { 
    width: 100%; 
    height: calc(50% - 10px); 
    object-fit: cover; 
    border-radius: 12px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

@media (max-width: 768px) {
    .media-grid { 
        flex-direction: column; 
        height: auto; 
    }
    
    .video-container {
        
        height: 450px; 
        width: 100%;
    }

    .process-gallery { 
        flex-direction: column; 
        height: auto; 
        width: 100%;
    }

    .process-img { 
        width: 100%; 
        height: 250px; 
        object-fit: cover; 
    }
}


/* Секція Відгуків */
.reviews { padding: 80px 0; background: var(--bg-light-blue); text-align: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; text-align: left; }
.review-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 4px solid var(--accent-primary); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.review-platform { font-size: 12px; background: #e8f8f8; color: var(--accent-primary); padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.stars-color { color: var(--accent-gold); font-size: 22px; }
.review-card p { font-style: italic; color: #555; margin-bottom: 15px; }
.review-author { display: block; margin-top: 15px; color: var(--text-dark); font-size: 15px; }

@media (max-width: 768px) {
    .header-contact { margin-right: 15px; }
    .header-phone { padding: 8px 12px; font-size: 14px; }
    .header-phone .phone-number { display: none; } 
    .header-phone .phone-icon { font-size: 18px; margin: 0; }
    .media-grid { grid-template-columns: 1fr; }
}

/* Знижка та Фото у відгуках */
.discount-sticker {
    background: var(--gold-gradient);
    color: var(--text-dark);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-text);
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.5);
    border: 5px solid #fff; 
    
    margin: 0 auto 40px auto;
    
    transform: rotate(-10deg);
    
    animation: pulseSticker 2s infinite;
    transition: transform 0.3s ease;
    z-index: 5;
    position: relative;
}

.discount-sticker:hover {
    transform: rotate(0deg) scale(1.1);
}

.discount-value {
    font-size: 42px;
    line-height: 1;
    display: block;
}

.discount-text {
    font-size: 18px;
    margin-top: -5px;
    display: block;
    letter-spacing: 1px;
}

@keyframes pulseSticker {
    0% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(241, 196, 15, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
}

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

.review-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-light-blue);
    background-color: #eee; 
}

.client-info {
    display: flex;
    flex-direction: column;
}

.review-author {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
}

.review-platform {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
}

.stars-color {
    color: var(--accent-gold);
    font-size: 18px;
    white-space: nowrap; 
}

.review-author {
    margin-top: 0;
}

@media (max-width: 768px) {
    .discount-sticker {
        width: 100px;
        height: 100px;
        border-width: 4px;
        margin-bottom: 30px;
    }
    
    .discount-value {
        font-size: 32px;
    }
    
    .discount-text {
        font-size: 14px;
    }
    
    .review-header {
        flex-direction: column; 
        gap: 10px;
    }
    
    .stars-color {
        align-self: flex-start;
        margin-left: 75px; 
    }
}