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

:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #f39c12;
    --light: #ecf0f1;
    --dark: #1a252f;
    --text: #333;
    --border: #bdc3c7;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

.nav-wrapper {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 15px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nav-wrapper nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-wrapper nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    writing-mode: horizontal-tb;
    display: block;
}

.nav-wrapper nav ul li a:hover {
    color: var(--secondary);
}

.ad-disclosure {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 999;
    font-weight: 500;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 40px 80px 120px;
    background: linear-gradient(135deg, var(--light) 0%, #fff 100%);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #555;
}

.hero-image {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    width: 55%;
    height: 70%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background-color: var(--light);
}

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

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
    font-size: 16px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

.section-offset {
    padding: 100px 40px 100px 160px;
    position: relative;
}

.section-centered {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-full {
    padding: 120px 60px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    position: relative;
}

.service-card:nth-child(even) {
    transform: translateY(40px);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:nth-child(even):hover {
    transform: translateY(30px);
}

.service-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--light);
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-price {
    font-size: 28px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
    transform: translateX(-80px);
}

.about-image-main {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background-color: var(--light);
}

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

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.contact-layout {
    display: flex;
    gap: 80px;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 1;
    position: relative;
    transform: translateY(-60px) rotate(-2deg);
}

.contact-map-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background-color: var(--light);
}

.contact-map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-block p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.form-container {
    max-width: 600px;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(100px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

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

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 37, 47, 0.98);
    color: #fff;
    padding: 25px 40px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    font-size: 15px;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
    font-size: 14px;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.cookie-accept {
    background: var(--secondary);
    color: #fff;
}

.cookie-reject {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--primary);
}

.legal-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.legal-content h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

.thanks-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.thanks-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.thanks-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.7;
}

.disclaimer {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    margin: 60px 0;
}

.disclaimer h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.disclaimer p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .hero-image {
        width: 50%;
        right: -50px;
    }

    .nav-wrapper {
        right: 20px;
    }

    .section-offset {
        padding: 80px 40px;
    }

    .form-container {
        transform: translateX(0);
    }

    .about-image {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        position: static;
        transform: none;
        margin: 20px;
        border-radius: 15px;
    }

    .nav-wrapper nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section {
        flex-direction: column;
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        right: 0;
        transform: none;
        margin-top: 40px;
    }

    .about-layout {
        flex-direction: column;
    }

    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }

    .contact-map {
        transform: none;
    }

    .service-card:nth-child(even) {
        transform: translateY(0);
    }

    .service-card:nth-child(even):hover {
        transform: translateY(-10px);
    }

    .section-title {
        font-size: 36px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}
