/* ===========================
   ОБЩИЕ СТИЛИ
   =========================== */

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

:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --bg-color: #ffffff;
    --text-color: #333333;
    --border-color: #000000;
    --hover-bg: #000000;
    --hover-text: #ffffff;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* ===========================
   КНОПКИ
   =========================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary.btn-hero {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-primary.btn-hero:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

/* ===========================
   НАВИГАЦИЯ
   =========================== */

.navbar {
    background-color: var(--bg-color);
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.language-switcher {
    gap: 0.5rem;
    display: none !important;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ===========================
   HERO СЕКЦИЯ
   =========================== */

.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    color: var(--bg-color);
    text-align: center;
}

.hero-index {
    background-image: url('../images/hero/hero-index.jpg');
    background-size: 110% auto;
    animation: zoomOut 3s ease-out forwards;
}

@keyframes zoomOut {
    from {
        background-size: 110% auto;
    }
    to {
        background-size: 100% auto;
    }
}

.hero-services {
    background-image: url('../images/hero/hero-services.jpg');
    background-size: 110% auto;
    animation: zoomOut 3s ease-out forwards;
}

.hero-contacts {
    background-image: url('../images/contacts/contacts-hero.jpg');
    background-size: 110% auto;
    animation: zoomOut 3s ease-out forwards;
    height: 50vh;
    min-height: 400px;
}

@keyframes zoomOutMobile {
        from {
            transform: scale(1.1);
        }
        to {
            transform: scale(1);
        }
    }
    
    .hero-index,
    .hero-services {
        background-size: cover;
        background-repeat: no-repeat;
        animation: zoomOutMobile 3s ease-out forwards;
    }

.hero-contacts .hero-overlay {
    animation: overlayFadeLight 3s ease-out forwards;
}

.hero-contacts .hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
}

.hero-index .hero-overlay {
    animation: overlayFade 3s ease-out forwards;
}

@keyframes overlayFade {
    to {
        background-color: rgba(0, 0, 0, 0.6);
    }
}

.hero-services .hero-overlay {
    animation: overlayFadeLight 3s ease-out forwards;
}

@keyframes overlayFadeLight {
    to {
        background-color: rgba(0, 0, 0, 0.3);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    margin: -7rem auto 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 1.5rem;
}

.hero-index h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 0.3s;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    width: fit-content;
    max-width: 100%;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-services h1 {
    font-size: 4rem;
}

.hero-services .hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-index .hero-content > p {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-index .hero-content .btn {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
}

/* ===========================
   СЕКЦИИ
   =========================== */

section {
    padding: 4rem 0;
}

    section h2 {
        text-align: center;
        margin-bottom: 3rem;
    }

    /* ===========================
   FOUNDER SECTION
   =========================== */

.founder-section {
    padding: 6rem 0;
    background-color: #f5f5f5;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-text {
    text-align: left;
}

.founder-text h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: left;
}

.founder-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.founder-section img {
    transition: transform 0.6s ease;
}

.founder-section img:hover {
    transform: scale(1.03);
}

.founder-photo {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ===========================
   TESTIMONIAL SECTION
   =========================== */

.testimonial-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.testimonial-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-style: italic;
    color: #333;
}

.testimonial-text-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.testimonial-text-link:hover {
    transform: translateY(-3px);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.author-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #000;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: #666;
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal:nth-child(2) {
    transition-delay: 0.3s;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    padding: 6rem 0;
    background-image: url('../images/hero/hero-gallery.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.cta-section .scroll-reveal:nth-child(2) {
    transition-delay: 0.3s;
}

/* ===========================
   Cards stack 
   =========================== */

@media (min-width: 769px) {
    .cards-stack {
        margin-left: 3rem;
    }
}

/* ===========================
   CONTACT SECTION REDESIGN
   =========================== */

.contact-section-redesign {
    padding: 6rem 0;
    min-height: 700px;
    position: relative;
    background-color: #faf8f3;
}

.contact-section-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: url('../images/contacts/contacts-hero.jpg') center center no-repeat;
    background-size: cover;
    z-index: 0;
    animation: contactsBlurAnimation 3s ease-out forwards;
}

@keyframes contactsBlurAnimation {
    0% {
        filter: blur(0);
    }
    100% {
        filter: blur(2px);
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}

.contact-left {
    padding-right: 4rem;
}

.contact-right {
    position: relative;
    display: flex;
    align-items: start;
}

.contact-form-card {
    position: absolute;
    left: -4rem;
    top: 0;
    width: 420px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Left Column */
.contact-left h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #C19A6B;
}

.contact-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item-redesign {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-redesign .contact-icon {
    font-size: 1.5rem;
    color: #000;
}

.contact-item-redesign strong {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-redesign a,
.contact-item-redesign span {
    font-size: 1.1rem;
    color: #000;
    text-decoration: none;
}

.contact-item-redesign a:hover {
    text-decoration: underline;
}

.contact-left .social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.contact-left .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C19A6B;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-left .social-links a:hover {
    transform: translateY(-3px);
    background: #000;
}

.contact-form-card button {
    width: 100%;
    background: #000;
    border-color: #000;
    color: #fff;
}

.contact-form-card button:hover {
    background: #b8860b;
    border-color: #b8860b;
    color: #fff;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form-card input,
.contact-form-card textarea {
    padding: 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Alata', sans-serif;
    transition: border-color 0.3s ease;
}

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

.contact-form-card textarea {
    resize: vertical;
}

.contact-form-card button {
    width: 100%;
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq-section {
    background-color: #ede7dc;
    padding: 6rem 0;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: #faf8f3;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: 'Alata', sans-serif;
    color: #999;
}

.faq-question:hover {
    background-color: #f0ebe3;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Contact Form Success Modal */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.contact-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: slideUp 0.3s ease;
}

.contact-modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.contact-modal-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.contact-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-modal-close:hover {
    color: #000;
}

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

@keyframes slideUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===========================
   REVIEW MODAL
   =========================== */

.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal.show {
    opacity: 1;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.review-modal-content {
    position: relative;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.review-modal.show .review-modal-content {
    transform: scale(1);
}

.review-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.review-modal-close:hover {
    color: #000;
}

.review-modal h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-form input,
.review-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Alata', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.review-form textarea {
    min-height: 150px;
    resize: vertical;
}

.rating-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-input label {
    font-weight: 600;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.stars input {
    display: none;
}

.stars label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: #ffc107;
}

/* ===========================
   УСЛУГИ (ПРЕВЬЮ НА ГЛАВНОЙ)
   =========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f5f5f5;
}

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

.service-content h3 {
    margin-bottom: 1rem;
}

.service-features {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-features li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* ===========================
   CTA СЕКЦИЯ
   =========================== */

.cta-section {
    background-color: #f9f9f9;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===========================
   СТРАНИЦА УСЛУГ
   =========================== */

.services-page {
    padding: 4rem 0;
}

.service-section {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.service-section h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.service-options {
    display: grid;
    gap: 1.5rem;
}

.service-option {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.service-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.option-details h3 {
    margin-bottom: 0.5rem;
}

.option-details p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.included-items {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.included-items h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.included-items ul {
    padding-left: 1.5rem;
}

.included-items li {
    list-style: disc;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.option-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===========================
   КАЛЬКУЛЯТОР
   =========================== */

.calculator {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.calculator h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calendar-container {
    position: relative;
}

#calendar {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-nav:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.calendar-day:hover:not(.blocked):not(.disabled) {
    background-color: #f0f0f0;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.calendar-day.in-range {
    background-color: #e8f5e9;
    color: #2d6a4f;
}

.calendar-day.blocked {
    background-color: #ffebee;
    color: #c62828;
    cursor: not-allowed;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-weekday {
    font-weight: 600;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
}

.location-distance {
    margin-top: 1rem;
    display: none;
}

.location-distance.active {
    display: block;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
}

.checkbox-item label {
    margin: 0;
    font-weight: 400;
}

.checkbox-item input[type="checkbox"]:disabled + label {
    color: #999;
}

.calculator-result {
    margin-top: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.calculator-result.active {
    display: block;
}

.calculator-result h3 {
    margin-bottom: 1rem;
}

.total-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-breakdown {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.price-breakdown h4 {
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.price-item:last-child {
    border-bottom: none;
}

.calculator-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-reserve {
    position: relative;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    width: 250px;
    text-align: center;
    transition: var(--transition);
}

.btn-reserve:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* ===========================
   ГАЛЕРЕЯ
   =========================== */

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 5px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===========================
   КОНТАКТЫ И FAQ
   =========================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form,
.contact-info {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

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

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links-contact a {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
}

.social-links-contact a:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* FAQ */
.faq-section {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 1.5rem;
}

/* ===========================
   О НАС
   =========================== */

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.team-section {
    margin: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Клиенты */
.clients-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    transition: var(--transition);
    min-height: 100px;
}

.client-logo:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover img {
    opacity: 1;
}

/* Отзывы */
.reviews-section {
    margin: 4rem 0;
}

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

.review-card {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.review-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author h4 {
    margin-bottom: 0.25rem;
}

.review-author .location {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    line-height: 1.6;
    color: var(--secondary-color);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #f9f9f9;
    padding: 3rem 0 1rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.footer-social-links a:hover {
    transform: translateY(-3px);
    background: #333;
}

/* Service items компактнее */


    .service-flip-back h3 {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
        text-align: center;
    }

    .service-flip-back .pricing-line {
        font-size: 0.95rem;
        font-style: italic;
        margin: 0;
        text-align: center;
    }

    .service-flip-back .pricing-line.pricing-last {
        margin-bottom: 0rem;
    }

    .service-flip-back .section-title {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.2rem;
        text-align: center;
    }

    .service-flip-back .section-title:not(:first-of-type) {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

    .faq-title {
        color: #C19A6B;
    }


    .service-flip-back .services-list {
        font-size: 0.85rem;
        padding-left: 0;
        line-height: 1.6;
        margin: 0;
        text-align: center;
    }

/* ===========================
   АДАПТИВНОСТЬ
   =========================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu li {
        text-align: center;
        margin: 0.9rem 0;
    }

    .nav-menu a {
        font-size: 1.25rem;
        padding: 1rem;
        display: block;
    }

    .nav-menu a.active {
        background-color: rgba(204, 153, 102, 0.1);
        border-radius: 8px;
    }

    .nav-menu a.active::after {
        display: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
    font-size: 2rem;
    }

    .hero-index h1 {
    font-size: 1.6rem;
    }

    .hero-content {
    padding: 1rem !important;
    }

    .hero-index .hero-content {
    margin-top: 3rem;
    }

    .hero p {
    font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-desktop {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-contacts {
        height: 40vh;
        min-height: 300px;
    }

    section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .calculator {
        padding: 1.5rem;
    }
    
    .calculator-buttons {
        flex-direction: column;
    }
    
    /* Progress bar на планшетах */
    .progress-bar-container {
        padding: 2rem 1.5rem;
        margin: 0 auto 2rem auto;
    }
    
    /* Calculator container на планшетах */
    .calculator-container {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    /* Choice cards компактнее */
    .choice-card {
        margin-left: 3.5rem;
        padding: 1rem 1.5rem;
    }
    
    .choice-card:hover {
        margin-left: 4.2rem;
    }
    
    .choice-indicator {
        left: -2.5rem;
        width: 40px;
        height: 40px;
    }
    
    .choice-card:hover .choice-indicator {
        left: -3.2rem;
    }

    /* Contact Section Redesign Mobile */
    .contact-section-redesign {
        background: #faf8f3 !important;
        background-image: none !important;
        padding: 4rem 0;
        min-height: auto;
        animation: none !important;
    }

    .contact-section-redesign::before {
        display: none !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-left {
        padding-right: 0;
    }
    
    .contact-left h2 {
        font-size: 2rem;
    }
    
    .contact-right {
        display: block;
    }
    
    .contact-form-card {
        position: static;
        left: 0;
        width: 100%;
        padding: 2rem;
    }
    
    .contact-left .social-links {
        justify-content: center;
    }

    .contact-left h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .contact-form-card h3 {
        text-align: center;
    }

    .contact-list {
        align-items: center;
    }
    
    .contact-item-redesign {
        justify-content: center;
        text-align: center;
    }

    /* Founder Section Mobile */
    .founder-section {
        padding: 4rem 0;
    }
    
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .founder-text {
        text-align: center;
    }
    
    .founder-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .founder-text p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .founder-photo {
        max-width: 100%;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    /* Progress bar на телефонах */
    .progress-bar-container {
        padding: 1.5rem 1rem;
        margin: 0 auto 1.5rem auto;
        border-radius: 30px;
    }
    
    .progress-step {
        flex: 0 0 auto;
    }
    
    .progress-circle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .progress-label {
        font-size: 0.65rem;
        min-height: 2rem;
    }
    
    /* Calculator container на телефонах */
    .calculator-container {
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    /* Choice cards еще компактнее */
    .choice-card {
        margin-left: 2.8rem;
        padding: 0.9rem 1.2rem;
        border-radius: 50px;
    }
    
    .choice-card:hover {
        margin-left: 3.5rem;
    }
    
    .choice-indicator {
        left: -2rem;
        width: 36px;
        height: 36px;
    }
    
    .choice-card:hover .choice-indicator {
        left: -2.8rem;
    }
    
    .choice-card h4 {
        font-size: 0.9rem;
    }
    
    .choice-card p {
        font-size: 0.75rem;
    }

    .service-flip-back .btn {
        width: 100%;
        margin-top: 1rem;
        align-self: center;
        max-width: 300px;
    }
    
    .service-item {
        padding: 0.6rem 1.2rem;
    }
    
    .service-item .choice-indicator {
        width: 32px;
        height: 32px;
        left: -2.2rem;
    }
    
    .service-item:hover {
        margin-left: 3.5rem;
        padding-left: 1.2rem;
    }
    
    .service-item:hover .choice-indicator {
        left: -2.8rem;
    }
}

/* Flip Cards - Desktop */
.service-flip-card {
    perspective: 1000px;
    height: 560px;
    cursor: pointer;
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-flip-card.flipped .service-flip-inner {
    transform: rotateY(180deg);
}

.service-flip-front, .service-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.service-flip-front {
    background: white;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.service-flip-card.flipped .service-flip-front {
    pointer-events: none;
}

.service-flip-front img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.service-flip-front-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #f8f8f8;
    z-index: 2;
}

.service-flip-front-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.95) 20%, rgba(0,0,0,1));
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    z-index: 10;
}

.service-flip-front h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.service-flip-front .price {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.service-flip-front .hint {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.8rem;
}

.service-flip-front .hint::after {
    content: ' →';
    display: inline-block;
    animation: slideRight 1.5s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { 
        transform: translateX(0); 
        opacity: 1; 
    }
    50% { 
        transform: translateX(10px); 
        opacity: 0.5; 
    }
}

.service-flip-back {
    background: white;
    transform: rotateY(180deg);
    padding: 2rem;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.service-flip-card.flipped .service-flip-back {
    pointer-events: auto;
}

.flip-back-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.flip-back-btn:hover {
    background: #e0e0e0;
    transform: rotate(180deg);
}

/* Calculator Container - Luxury Glossy Style */
.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, #FFFFFF 0%, #FAFAFA 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* Subtle glossy overlay */
.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 32px 32px 0 0;
}


/* Progress Bar */

.progress-bar-container {
    background: white;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2.5rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.progress-bar {
    display: flex;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    font-size: 0;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.progress-line-bg {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0;
    height: 3px;
    background: #000;
    z-index: 1;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-step:hover .progress-circle {
    transform: scale(1.05);
}

.progress-step.completed {
    cursor: pointer;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border: 3px solid #e0e0e0;
}

.progress-step.active .progress-circle {
    background: #000;
    color: white;
    border-color: #000;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.progress-step.completed .progress-circle {
    background: white;
    color: #000;
    border-color: #000;
}

.progress-step.completed .progress-circle::before {
    content: '✓';
    font-size: 1.2rem;
    font-weight: 700;
}

.progress-step.completed .progress-circle {
    font-size: 0;
}

.progress-label {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #999;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step.active .progress-label {
    color: #000;
    font-weight: 600;
    font-size: 0.8rem;
}

.progress-step.completed .progress-label {
    color: #000;
    font-weight: 500;
}

/* Calculator Steps Animations */
.calculator-steps-container {
    position: relative;
    min-height: 0;
}

.calculator-step {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

.calculator-step.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.calculator-step.exit-left {
    opacity: 0;
    transform: translateX(-100%);
}

.calculator-step h3,
.calculator-step label,
.calculator-step p {
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===========================
   CHOICE CARDS - LUXURY MINIMAL STYLE
   =========================== */

.choice-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2rem;
    margin-left: 4.5rem;
    max-width: 450px;
    border: 1.5px solid #E8E8E8;
    border-radius: 60px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.choice-card:hover {
    border-color: #D4D4D4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-left: 5.5rem;
    padding-left: 2rem;
}

.choice-card:hover .choice-indicator {
    left: -4rem;
}

.choice-card.selected {
    border-color: #000000;
    background: #FAFAFA;
}

/* ===========================
   SERVICE PREVIEW CARDS (Index Page)
   =========================== */

.service-preview-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-preview-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-preview-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.service-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-preview-content {
    padding: 1.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    flex: 1;
}

.service-preview-content .btn {
    margin-top: auto;
}

.service-preview-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-preview-content p {
    color: #000;
    line-height: 1.6;
}

/* ===========================
   SERVICE ITEMS - Calculator
   =========================== */

.service-item {
    cursor: default;
    padding: 0.7rem 1.6rem;
}

.service-item .choice-indicator {
    width: 36px;
    height: 36px;
    left: -2.8rem;
}

.service-item:hover {
    margin-left: 5.5rem;
    padding-left: 1.6rem;
}

.service-item:hover .choice-indicator {
    left: -4rem;
}

.service-item .service-included {
    border-color: #000000;
    background: #000000;
    transform: scale(1);
}

.service-item .service-included::before {
    width: 100%;
    height: 100%;
}

.service-item .service-included::after {
    content: '✓';
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    z-index: 1;
}

.service-item:has(.service-included):hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-item:hover .service-included::after {
    transform: translate(-50%, -50%) !important;
}

.service-item .service-checkbox {
    border: 1.5px solid #D4D4D4;
    background: #FFFFFF;
}

/* Hover анимация для дополнительных услуг (как в шаге 1) */
.service-item:hover .service-checkbox {
    border-color: #FFFFFF;
    box-shadow: 0 0 0 2px #000000;
    transform: scale(1.05);
}

.service-item:hover .service-checkbox::before {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-checkbox::after {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: scale(1);
}

.service-item .service-checkbox input[type="checkbox"] {
    appearance: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.service-item .service-checkbox input[type="checkbox"]:checked {
    background: #000000;
    border-color: #FFFFFF;
    box-shadow: 0 0 0 2px #000000;
}

.service-item:has(.service-checkbox input:checked) {
    border-color: #000000;
}

.service-item .service-checkbox input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 50%;
    z-index: 0;
}

.service-item .service-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    color: #FFFFFF;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.service-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

.service-name {
    font-size: 0.8rem;
    font-weight: 400;
    color: #1A1A1A;
}

.service-price {
    font-size: 0.7rem;
    font-weight: 400;
    color: #999999;
}

/* Included services styling */

.service-item:has(.service-included) {
    border-color: #000000;
    background: #FAFAFA;
}

.service-item:has(.service-checkbox) {
    padding: 0.5rem 1.6rem !important;
    line-height: 1.2;
    min-height: 48px;
    max-height: 48px;
    cursor: pointer;
}

.service-item:has(.service-checkbox) .service-checkbox {
    pointer-events: none;
}

.service-item:has(.service-checkbox) .service-checkbox input[type="checkbox"] {
    pointer-events: auto;
    cursor: pointer;
}

#services-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Circle indicator */
.choice-indicator {
    position: absolute;
    left: -3.2rem;
    width: 48px;
    height: 48px;
    border: 1.5px solid #D4D4D4;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    z-index: 2;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated fill background */
.choice-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Checkmark */
.choice-indicator::after {
    content: '✓';
    color: transparent;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
}

/* Hover animation */
.choice-card:hover .choice-indicator {
    border-color: #FFFFFF;
    box-shadow: 0 0 0 2px #000000;
    transform: scale(1.05);
}

.choice-card:hover .choice-indicator::before {
    width: 100%;
    height: 100%;
}

.choice-card:hover .choice-indicator::after {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: scale(1);
}

.service-item:hover .service-included {
    border-color: #000000 !important;
    box-shadow: none !important;
    transform: scale(1.05);
}

/* Selected state */
.choice-card.selected .choice-indicator {
    border-color: #000000;
    background: #000000;
    transform: scale(1);
}

.choice-card.selected .choice-indicator::before {
    width: 100%;
    height: 100%;
}

.choice-card.selected .choice-indicator::after {
    color: #FFFFFF;
    opacity: 1;
    transform: scale(1);
}

/* Content wrapper */
.choice-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Text styling */
.choice-card h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: #1A1A1A;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.choice-card:hover h4 {
    color: #000000;
    letter-spacing: 0.5px;
}

.choice-card p {
    margin: 0.3rem 0 0 0;
    font-size: 0.8rem;
    font-weight: 300;
    color: #999999;
    letter-spacing: 0.2px;
}

/* Special styling for location options */
.choice-card label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.choice-card input[type="radio"] {
    display: none;
}

/* Mobile Reserve Info Popup */
.mobile-reserve-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 1rem 2.5rem 1rem 1rem;
    max-width: 280px;
    font-size: 0.9rem;
    line-height: 1.5;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: popupSlideUp 0.3s ease;
}

.mobile-reserve-popup p {
    margin: 0;
}

.mobile-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-reserve-popup {
        display: none !important;
    }
}