/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #FCFAF4;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #F75C03;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4056A1;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #FCFAF4 0%, #F5F5F5 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 150px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #2E2E2E;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(247, 92, 3, 0.1);
    color: #F75C03;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2E2E2E;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #FCFAF4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 20px;
    color: #2E2E2E;
    border-bottom: 1px solid rgba(46, 46, 46, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(247, 92, 3, 0.1);
    color: #F75C03;
}

/* Main Content */
.main-content {
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FCFAF4 0%, #F5F5F5 100%);
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2E2E2E;
}

.hero-highlight {
    color: #F75C03;
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #F75C03, #4056A1);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #F75C03, #FF6B1A);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E54A00, #F75C03);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 92, 3, 0.3);
}

.btn-secondary {
    background: #4056A1;
    color: white;
}

.btn-secondary:hover {
    background: #354A8C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 86, 161, 0.3);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2E2E2E;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: #FCFAF4;
}

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

.about-text h3 {
    color: #F75C03;
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #F75C03;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #C9FFE2 0%, #FFFACD 100%);
    width: 100%;
    max-width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.service-featured {
    background: linear-gradient(135deg, #F75C03, #FF6B1A);
    color: white;
    transform: scale(1.05);
}

.service-featured .service-title,
.service-featured .service-price {
    color: white;
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4056A1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-title {
    color: #2E2E2E;
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F75C03;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Why Section */
.why-section {
    padding: 6rem 0;
    background: #FCFAF4;
}

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

.why-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-title {
    color: #2E2E2E;
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #C9FFE2 0%, #FFFACD 100%);
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #F75C03;
}

.team-name {
    color: #2E2E2E;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #F75C03;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Cases Section */
.cases-section {
    padding: 6rem 0;
    background: #FCFAF4;
}

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

.case-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.case-title {
    color: #2E2E2E;
}

.case-category {
    background: #4056A1;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.case-results {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.case-result {
    background: #F75C03;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #C9FFE2 0%, #FFFACD 100%);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
    font-weight: 600;
}

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

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

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.radio-item input,
.checkbox-item input {
    width: auto;
}

.form-link {
    color: #F75C03;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #2E2E2E;
    color: white;
    padding: 4rem 0 2rem;
}

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

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

.footer-title {
    color: #F75C03;
    margin-bottom: 1rem;
}

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

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

.footer-link {
    color: #CCC;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #F75C03;
}

.contact-info {
    line-height: 1.8;
}

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

.contact-icon {
    font-size: 1.2rem;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    display: none;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-text {
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #F75C03;
    color: white;
}

.cookie-btn-accept:hover {
    background: #E54A00;
}

.cookie-btn-decline {
    background: #666;
    color: white;
}

.cookie-btn-decline:hover {
    background: #555;
}

/* Thanks/Policy Pages */
.thanks-section,
.policy-section {
    padding: 6rem 0 4rem;
    background: #FCFAF4;
}

.thanks-content,
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.policy-content {
    text-align: left;
}

.thanks-icon svg,
.success-icon,
.error-icon,
.info-icon {
    width: 100px;
    height: 100px;
    margin: 2rem auto;
}

.thanks-info {
    margin: 3rem 0;
}

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

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #F75C03;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.policy-text {
    line-height: 1.8;
}

.policy-text h2 {
    color: #F75C03;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-text h3 {
    color: #4056A1;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-text ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.cookies-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookies-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.cookies-table th {
    background: #F75C03;
    color: white;
    font-weight: 600;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 8rem 0 4rem; /* Увеличенный padding для мобильной версии */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: space-between;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .services-section {
        padding: 4rem 0;
        width: 100%;
        max-width: 100%;
    }
    
    .service-featured {
        transform: none;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .case-results {
        flex-wrap: wrap;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .radio-group,
    .checkbox-group {
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cookies-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .header-container,
    .footer-container {
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .services-section {
        padding: 4rem 0;
        width: 100%;
        max-width: 100%;
    }
} 