:root {
    --primary: #FFC107;
    --primary-dark: #FFA000;
    --dark: #212121;
    --gray: #757575;
    --light: #f5f5f5;
    --white: #ffffff;
    --accent: #2196F3;
    --success: #4CAF50;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--dark);
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

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

.btn-accent:hover {
    background-color: #1976D2;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    font-size: 36px;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--primary);
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.header-phone:hover {
    color: var(--accent);
}

.phone-icon {
    margin-right: 8px;
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1605152276897-4f618f831968?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Features */
.features {
    background-color: var(--light);
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

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

.service-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.service-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 18px;
    margin: 15px 0;
}

.service-btn {
    display: inline-block;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.service-btn:hover {
    color: var(--primary-dark);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--accent), #1976D2);
    color: #ffffff;
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    margin-bottom: 20px;
    font-size: 32px;
	color: #333333;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    opacity: 0.9;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.review-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding-top: 20px;
    flex-grow: 1;
}

.review-text:before {
    content: '"';
    font-size: 60px;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: -15px;
    opacity: 0.2;
    line-height: 1;
}

.review-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--light);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 20px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: var(--white);
}

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

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Contact */
.contact {
    background-color: var(--dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 24px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 20px;
}

.contact-text h4 {
    margin-bottom: 5px;
}

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

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

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #111;
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
    color: var(--white);
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        aspect-ratio: unset;
    }
}

/* Общие стили */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #3a5ce9;
    --text-color: #333;
    --light-text: #666;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Хедер для страницы соглашения */
.agreement-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-icon {
    margin-right: 8px;
    font-size: 1.4rem;
}

/* Основное содержимое соглашения */
.agreement-main {
    padding: 40px 0;
}

.agreement-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-top: 20px;
}

.agreement-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.agreement-date {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.agreement-notice {
    background-color: #f0f4ff;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 30px;
}

.agreement-notice p {
    margin-bottom: 10px;
}

.agreement-notice p:last-child {
    margin-bottom: 0;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 25px 0 10px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Футер */
.agreement-footer {
    background-color: #2a2a2a;
    color: #ccc;
    padding: 40px 0 20px;
}

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

.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: block;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #aaa;
}

/* Адаптивность */
@media (max-width: 768px) {
    .agreement-container {
        padding: 25px;
    }
    
    .agreement-title {
        font-size: 1.7rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .agreement-container {
        padding: 20px 15px;
    }
    
    .agreement-title {
        font-size: 1.5rem;
    }
}