/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1e1e1e;
    background-color: #fef6e4;
    padding-top: 5rem;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: #1e1e1e;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Ссылки */
a {
    color: #028f9c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00c6a0;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 143, 156, 0.3);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #d4f40a 0%, #b8d600 100%);
    color: #1e1e1e;
}

.btn-secondary:hover {
    color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(212, 244, 10, 0.3);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 246, 228, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #028f9c;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(2, 143, 156, 0.1);
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #028f9c;
    padding: 0.5rem 1rem;
    border: 2px solid #028f9c;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: #028f9c;
    color: white;
}

/* Mobile Navigation Toggle */
.nav-toggle-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #028f9c;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-toggle-checkbox:checked ~ .nav-menu {
    right: 0;
}

.nav-toggle-checkbox:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    cursor: pointer;
}

@media (min-width: 769px) {
    .nav-overlay {
        display: none;
    }
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* SECTIONS */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

/* ABOUT SECTION */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ADVANTAGES */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-header {
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-content {
    padding: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    color: #028f9c;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CONSULTATION FORM */
.consultation {
    background: white;
    padding: 4rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fef6e4;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e1e1e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #028f9c;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

/* TESTIMONIALS */
.testimonials {
    background: white;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fef6e4;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #028f9c;
}

.testimonial-rating {
    color: #d4f40a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: #028f9c;
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    outline: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CONTACT */
.contact {
    background: white;
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: #fef6e4;
    padding: 2rem;
    border-radius: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

/* FOOTER */
.footer {
    background: #1e1e1e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4f40a;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 1rem;
}

.footer-section .contact-info p {
    color: #000;
}

.footer-section .contact-info strong {
    color: #000;
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #d4f40a;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background: linear-gradient(135deg, #028f9c 0%, #00c6a0 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 143, 156, 0.3);
}

.cookie-more {
    color: #d4f40a;
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    .header {
        padding: 0.3rem 0;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: rgba(254, 246, 228, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 1rem;
    }
    

    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        margin: 0.5rem 0;
    }
    
    .phone-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    .header {
        padding: 0.3rem 0;
    }
    
    .header-content {
        gap: 0.3rem;
    }
    
    .logo svg {
        width: 24px;
        height: 24px;
    }
    
    .nav-menu {
        width: 280px;
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
} 